# CVE-2023-5197: Use-after-free in Linux kernel's netfilter: nf_tables component

Status: published. Published: 2023-09-26. Updated: 2026-11-02.

A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation.

Addition and removal of rules from chain bindings within the same transaction causes leads to use-after-free.

We recommend upgrading past commit f15f29fd4779be8a418b66e9d52979bb6d6c2325.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: Google) — https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f15f29fd4779be8a418b66e9d52979bb6d6c2325
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: ADP: CVE) — https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f15f29fd4779be8a418b66e9d52979bb6d6c2325
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: cve-coordination@google.com) — https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f15f29fd4779be8a418b66e9d52979bb6d6c2325
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: cve-coordination@google.com) — https://kernel.dance/f15f29fd4779be8a418b66e9d52979bb6d6c2325
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: af854a3a-2127-422b-91ae-364da2661108) — https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f15f29fd4779be8a418b66e9d52979bb6d6c2325
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: af854a3a-2127-422b-91ae-364da2661108) — https://kernel.dance/f15f29fd4779be8a418b66e9d52979bb6d6c2325

## Affected products and versions

- Linux / Kernel (kernel): ≥ 5.9; < 6.6 (affected, custom). Source: CNA: Google
- Siemens / SIMATIC S7-1500 TM MFP - GNU/Linux subsystem: ≥ 0; < V1.1 (affected, custom). Source: ADP: siemens-SADP

## NVD configuration conditions

Affected CPE matches depend on the following AND/OR and negation conditions:

```json
[
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "5.10.198",
            "versionStartIncluding": "5.9.0",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "5.15.134",
            "versionStartIncluding": "5.11",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "6.1.56",
            "versionStartIncluding": "5.16",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "6.5.6",
            "versionStartIncluding": "6.2",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  }
]
```

## Severity and prioritization

- CVSS 3.1: 7.8 (high); CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; source: CNA: Google

- CVSS 3.1: 6.6 (medium); CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H; source: NVD: nvd@nist.gov

- CVSS 3.1: 7.8 (high); CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; source: NVD: cve-coordination@google.com

- CISA KEV: No listing in collected sources

- EPSS: 0.37% as of 2026-11-02; percentile 30.79%

- SSVC: exploitation none; automatable no; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-416

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f15f29fd4779be8a418b66e9d52979bb6d6c2325 (CNA: Google; patch)

- https://kernel.dance/f15f29fd4779be8a418b66e9d52979bb6d6c2325 (CNA: Google)

- http://packetstormsecurity.com/files/175963/Kernel-Live-Patch-Security-Notice-LSN-0099-1.html (CNA: Google)

- https://lists.debian.org/debian-lts-announce/2024/01/msg00005.html (CNA: Google)

- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f15f29fd4779be8a418b66e9d52979bb6d6c2325 (ADP: CVE; patch, x_transferred)

- https://kernel.dance/f15f29fd4779be8a418b66e9d52979bb6d6c2325 (ADP: CVE; x_transferred)

- http://packetstormsecurity.com/files/175963/Kernel-Live-Patch-Security-Notice-LSN-0099-1.html (ADP: CVE; x_transferred)

- https://lists.debian.org/debian-lts-announce/2024/01/msg00005.html (ADP: CVE; x_transferred)

- https://cert-portal.siemens.com/productcert/html/ssa-794697.html (ADP: siemens-SADP)

- http://packetstormsecurity.com/files/175963/Kernel-Live-Patch-Security-Notice-LSN-0099-1.html (cve-coordination@google.com; Third Party Advisory)

- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f15f29fd4779be8a418b66e9d52979bb6d6c2325 (cve-coordination@google.com; Patch)

- https://kernel.dance/f15f29fd4779be8a418b66e9d52979bb6d6c2325 (cve-coordination@google.com; Patch, Vendor Advisory)

- https://lists.debian.org/debian-lts-announce/2024/01/msg00005.html (cve-coordination@google.com; Mailing List, Third Party Advisory)

- http://packetstormsecurity.com/files/175963/Kernel-Live-Patch-Security-Notice-LSN-0099-1.html (af854a3a-2127-422b-91ae-364da2661108; Third Party Advisory)

- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f15f29fd4779be8a418b66e9d52979bb6d6c2325 (af854a3a-2127-422b-91ae-364da2661108; Patch)

- https://kernel.dance/f15f29fd4779be8a418b66e9d52979bb6d6c2325 (af854a3a-2127-422b-91ae-364da2661108; Patch, Vendor Advisory)

- https://lists.debian.org/debian-lts-announce/2024/01/msg00005.html (af854a3a-2127-422b-91ae-364da2661108; Mailing List, Third Party Advisory)

- https://cert-portal.siemens.com/productcert/html/ssa-794697.html (0b142b55-0307-4c5a-b3c9-f314f3fb7c5e)

## Provenance

- CNA: Google: https://www.cve.org/CVERecord?id=CVE-2023-5197; retrieved 2026-11-02; source updated 2026-11-02

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2023-5197; retrieved 2026-11-03; source updated 2026-11-02

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2023-5197; retrieved 2026-11-02; source updated Not reported

Revision: e0a5f5281e296a14c5eca3f03875e2f939febf3debb6cc357ffb5f0058a58028

Canonical: https://y2.dev/cve/CVE-2023-5197

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.