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

- Severity: High 7.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Published: 2023-08-07T13:19:43.593Z
- Modified: 2026-11-26T14:17:01.363Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- kernel: no versions given (not affected: from 0:5.14.0-284.30.1.el9_2 before *; from 0:5.14.0-70.80.1.el9_0 before *)
- kernel-rt: no versions given (not affected: from 0:5.14.0-284.30.1.rt14.315.el9_2 before *; from 0:5.14.0-70.80.1.rt21.151.el9_0 before *)
- kpatch-patch: no versions given
- linux linux_kernel: from 5.9 before 5.10.190; from 5.11 before 5.15.124; from 5.16 before 6.1.43; from 6.2 before 6.4.8; 6.5
- fedoraproject fedora: 38
- redhat enterprise_linux: 9.0
- redhat enterprise_linux_eus: 9.2
- redhat enterprise_linux_for_real_time: 9.0
- redhat enterprise_linux_for_real_time_for_nfv: 9.0
- redhat enterprise_linux_server_aus: 9.2
- debian debian_linux: 10.0; 11.0; 12.0

## Every score

- redhat: 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`
- NVD: 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`

## References

- <https://access.redhat.com/errata/RHSA-2023:5069> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:5091> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:5093> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7382> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7389> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7411> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-4147> (patch, third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2225239> (issue-tracking, patch, third-party-advisory)
- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0ebc1064e4874d5987722a2ddbc18f94aa53b211> (mailing-list, patch)
- <https://www.spinics.net/lists/stable/msg671573.html> (mailing-list, patch)
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00027.html>
- <https://security.netapp.com/advisory/ntap-20231020-0006/>
- <https://www.debian.org/security/2023/dsa-5480>
- <https://www.debian.org/security/2023/dsa-5492>

## Sources

- CVE List: [CVE-2023-4147](https://www.cve.org/CVERecord?id=CVE-2023-4147), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2023-4147](https://nvd.nist.gov/vuln/detail/CVE-2023-4147), Public domain, modified 2026-11-26

---

Page: https://cve.day/CVE-2023-4147 · Whole record: https://cve.day/CVE-2023-4147.json · Rebuilt by cve.day 2026-11-26T14:17:33.240Z
