What’s Vulnerable › Vulnerabilities
CVE-2023-4015: Use-after-free in Linux kernel's netfilter: nf_tables component
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-09-06 · updated 2026-10-14
- Weakness: CWE-416
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.
Affected products
- Debian Linux: 12.0
- 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 — fixed in 5.10.190, 5.15.124, 6.1.43, 6.4.8
How to fix
Upgrade to a fixed version: Linux kernel 5.10.190, 5.15.124, 6.1.43, 6.4.8. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0a771f7b266b02d262900c75f1e175c7fe76fec2
- https://kernel.dance/0a771f7b266b02d262900c75f1e175c7fe76fec2
- https://www.debian.org/security/2023/dsa-5492
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0a771f7b266b02d262900c75f1e175c7fe76fec2
- https://kernel.dance/0a771f7b266b02d262900c75f1e175c7fe76fec2
- https://www.debian.org/security/2023/dsa-5492
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- https://cert-portal.siemens.com/productcert/html/ssa-831302.html
Get alerted when CVE-2023-4015 or the next vulnerability affects your stack