CVE-2024-1085
Use-after-free in Linux kernel's netfilter: nf_tables component
Reported by google · Published January 31, 2024
A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation. The nft_setelem_catchall_deactivate() function checks whether the catch-all set element is active in the current generation instead of the next generation before freeing it, but only flags it inactive in the next generation, making it possible to free the element multiple times, leading to a double free vulnerability. We recommend upgrading past commit b1db244ffd041a49ecc9618e8feb6b5c1afcdaa7.
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-livepatch-6.1.75-99.163 | Amazon Linux | 1.0-0.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.75-99.163.amzn2023 |
| python3-perf | Amazon Linux | 6.1.75-99.163.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.75-99.163.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.75-99.163.amzn2023 |
| perf | Amazon Linux | 6.1.75-99.163.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.1.75-99.163.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.75-99.163.amzn2023 |
| kernel-modules-extra | Amazon Linux | 6.1.75-99.163.amzn2023 |
| bpftool | Amazon Linux | 6.1.75-99.163.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.75-99.163.amzn2023 |
| kernel-headers | Amazon Linux | 6.1.75-99.163.amzn2023 |
4 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Kernel | 5.13 |
| Linux | Kernel | 5.13 |
Timeline
- Jan 31, 2024 CVE Published
- Jan 31, 2024 PoC Published (6 in total, the first dated here)
- Feb 8, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (11 in total, the first dated here)
- Jun 2, 2026 Security Advisory (87 in total, the first dated here)
- Nov 21, 2026 Distribution Patch (84 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-1085
vulnetix vdb fixes CVE-2024-1085
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-2024-1085/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart