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

- Severity: High 7.8 (CVSS:3.1, scored by Google) `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.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2023-09-06T13:52:44.724Z
- Modified: 2026-10-14T22:17:16.713Z
- Weaknesses: CWE-416
- Assigned by: Google

## Description

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

On an error when building a nftables rule, deactivating immediate expressions in nft_immediate_deactivate() can lead unbinding the chain and objects be deactivated but later used.

We recommend upgrading past commit 0a771f7b266b02d262900c75f1e175c7fe76fec2.

(As written by CVE List.)

## Affected

- kernel: from 6.4 before 6.5
- 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
- debian debian_linux: 12.0

## Every score

- Google: 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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0a771f7b266b02d262900c75f1e175c7fe76fec2> (issue-tracking, mailing-list, patch, vendor-advisory)
- <https://kernel.dance/0a771f7b266b02d262900c75f1e175c7fe76fec2> (patch, vendor-advisory)
- <https://www.debian.org/security/2023/dsa-5492> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-831302.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-794697.html>

## Sources

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

---

Page: https://cve.day/CVE-2023-4015 · Whole record: https://cve.day/CVE-2023-4015.json · Rebuilt by cve.day 2026-11-25T22:58:27.722Z
