# CVE-2023-4147: Kernel: netfilter: nf_tables_newrule when adding a rule with nfta_rule_chain_id leads to use-after-free

Status: published. Published: 2023-08-07. Updated: 2026-11-07.

A use-after-free flaw was found in the Linux kernel’s Netfilter functionality when adding a rule with NFTA_RULE_CHAIN_ID. This flaw allows a local user to crash or escalate their privileges on the system.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Red Hat / Red Hat Enterprise Linux 9 (kernel): ≥ 0:5.14.0-284.30.1.el9_2; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9 (kernel-rt): ≥ 0:5.14.0-284.30.1.rt14.315.el9_2; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9 (kpatch-patch): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9.0 Extended Update Support (kernel): ≥ 0:5.14.0-70.80.1.el9_0; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9.0 Extended Update Support (kernel-rt): ≥ 0:5.14.0-70.80.1.rt21.151.el9_0; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 9.0 Extended Update Support (kpatch-patch): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 6 (kernel): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 7 (kernel): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 7 (kernel-rt): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (kernel): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Enterprise Linux 8 (kernel-rt): Version range not reported. Source: CNA: redhat

## 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: redhat

- CISA KEV: No listing in collected sources

- EPSS: 0.55% as of 2026-11-07; percentile 46.41%

- SSVC: exploitation poc; 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://access.redhat.com/errata/RHSA-2023:5069 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2023:5091 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2023:5093 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2023:7382 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2023:7389 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2023:7411 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/security/cve/CVE-2023-4147 (CNA: redhat; vdb-entry, x_refsource_REDHAT)

- https://bugzilla.redhat.com/show_bug.cgi?id=2225239 (CNA: redhat; issue-tracking, x_refsource_REDHAT)

- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0ebc1064e4874d5987722a2ddbc18f94aa53b211 (CNA: redhat)

- https://www.spinics.net/lists/stable/msg671573.html (CNA: redhat)

- https://access.redhat.com/errata/RHSA-2023:5069 (ADP: CVE; vendor-advisory, x_refsource_REDHAT, x_transferred)

- https://access.redhat.com/errata/RHSA-2023:5091 (ADP: CVE; vendor-advisory, x_refsource_REDHAT, x_transferred)

- https://access.redhat.com/errata/RHSA-2023:5093 (ADP: CVE; vendor-advisory, x_refsource_REDHAT, x_transferred)

- https://access.redhat.com/errata/RHSA-2023:7382 (ADP: CVE; vendor-advisory, x_refsource_REDHAT, x_transferred)

- https://access.redhat.com/errata/RHSA-2023:7389 (ADP: CVE; vendor-advisory, x_refsource_REDHAT, x_transferred)

- https://access.redhat.com/errata/RHSA-2023:7411 (ADP: CVE; vendor-advisory, x_refsource_REDHAT, x_transferred)

- https://access.redhat.com/security/cve/CVE-2023-4147 (ADP: CVE; vdb-entry, x_refsource_REDHAT, x_transferred)

- https://bugzilla.redhat.com/show_bug.cgi?id=2225239 (ADP: CVE; issue-tracking, x_refsource_REDHAT, x_transferred)

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

- https://lists.debian.org/debian-lts-announce/2023/10/msg00027.html (ADP: CVE; x_transferred)

- https://security.netapp.com/advisory/ntap-20231020-0006/ (ADP: CVE; x_transferred)

- https://www.debian.org/security/2023/dsa-5480 (ADP: CVE; x_transferred)

- https://www.debian.org/security/2023/dsa-5492 (ADP: CVE; x_transferred)

- https://www.spinics.net/lists/stable/msg671573.html (ADP: CVE; x_transferred)

## Provenance

- CNA: redhat: https://www.cve.org/CVERecord?id=CVE-2023-4147; retrieved 2026-11-07; source updated 2026-11-07

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

Revision: c7acc7206242832d00cb45643b9c045788c3476da7896de07deef38def5d73de

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

## 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.