CVE-2023-4015
Use-after-free in Linux kernel's netfilter: nf_tables component
Reported by google · Published September 6, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools-devel | Amazon Linux | 6.1.49-69.116.amzn2023 |
| kernel-livepatch-6.1.49-69.116 | Amazon Linux | 1.0-0.amzn2023 |
| python3-perf | Amazon Linux | 6.1.49-69.116.amzn2023 |
| kernel-headers | Amazon Linux | 6.1.49-69.116.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.49-69.116.amzn2023 |
| bpftool | Amazon Linux | 6.1.49-69.116.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.49-69.116.amzn2023 |
| perf | Amazon Linux | 6.1.49-69.116.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.49-69.116.amzn2023 |
| kernel | Amazon Linux | 6.1.49-69.116.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.49-69.116.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.49-69.116.amzn2023 |
4 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Kernel | 6.4 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.49-69.116 | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-headers | 0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel | 0 |
| Linux | Kernel | 6.4 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-tools | 0 |
Timeline
- Aug 29, 2023 CVE Published
- Sep 7, 2023 EPSS Score (30 in total, the first dated here)
- Feb 13, 2025 PoC Published (2 in total, the first dated here)
- Feb 7, 2026 Distribution Patch (45 in total, the first dated here)
- Feb 7, 2026 Security Advisory (49 in total, the first dated here)
- Aug 4, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-4015
vulnetix vdb fixes CVE-2023-4015
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-4015/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart