CVE-2024-26643
netfilter: nf_tables: mark set as dead when unbinding anonymous set with timeout
Reported by linux · Published March 21, 2024
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: mark set as dead when unbinding anonymous set with timeout While the rhashtable set gc runs asynchronously, a race allows it to collect elements from anonymous sets with timeouts while it is being released from the commit path. Mingi Cho originally reported this issue in a different path in 6.1.x with a pipapo set with low timeouts which is not possible upstream since 7395dfacfff6 ("netfilter: nf_tables: use timestamp to check for set element timeout"). Fix this by setting on the dead flag for anonymous sets to skip async gc in this case. According to 08e4c8c5919f ("netfilter: nf_tables: mark newset as dead on transaction abort"), Florian plans to accelerate abort path by releasing objects via workqueue, therefore, this sets on the dead flag for abort path too.
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-libbpf | Amazon Linux | 6.1.84-99.169.amzn2023 |
| SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | Siemens | 1.1.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 8da1b048f9a501d3d7d38c188ba09d7d0d5b8c27, bbdb3b65aa91aa0a32b212f27780b28987f2d94f, 448be0774882f95a74fa5eb7519761152add601b |
| Linux | Linux | 6.5, 0, 5.4.274 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| linux | linux_kernel | 6.4.11, 6.5, 5.15.134 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-livepatch-6.1.84-99.169 | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-headers | 0 |
| Linux | Linux | 6.4.11, 6.7.12, 6.8 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-devel | 0 |
Timeline
- Mar 21, 2024 CVE Published
- Mar 22, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Jan 15, 2026 Security Advisory (53 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (51 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-26643
vulnetix vdb fixes CVE-2024-26643
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-26643/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart