CVE-2024-27397
netfilter: nf_tables: use timestamp to check for set element timeout
Reported by linux · Published May 9, 2024
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: use timestamp to check for set element timeout Add a timestamp field at the beginning of the transaction, store it in the nftables per-netns area. Update set backend .insert, .deactivate and sync gc path to use the timestamp, this avoids that an element expires while control plane transaction is still unfinished. .lookup and .update, which are used from packet path, still use the current time to check if the element has expired. And .get path and dump also since this runs lockless under rcu read size lock. Then, there is async gc which also needs to check the current time since it runs asynchronously from a workqueue.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bpftool | Amazon Linux | 6.1.97-104.177.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.97-104.177.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.1.97-104.177.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.1.97-104.177.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.97-104.177.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.97-104.177.amzn2023 |
| perf | Amazon Linux | 6.1.97-104.177.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.97-104.177.amzn2023 |
| kernel | Amazon Linux | 6.1.97-104.177.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.97-104.177.amzn2023 |
| linux_kernel | linux | 6.7.5, 6.6.84, 6.1.97, 5.15.165, 5.10.224, 5.4.282, 4.19.320 |
| SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | Siemens | 1.1.1 |
1 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | c3e1b005ed1cc068fc9d454a6e745830d55d251d, c3e1b005ed1cc068fc9d454a6e745830d55d251d, c3e1b005ed1cc068fc9d454a6e745830d55d251d |
| Linux | Linux | 4.1, 0, 4.19.320 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel | 0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| amazon:2023 | kernel-tools | 0 |
| Linux | Linux | 5.15.165, 4.1, 0 |
| amazon:2023 | python3-perf | 0 |
| linux | linux_kernel | 4.1, 4.1, 4.1 |
| amazon:2023 | kernel-livepatch-6.1.97-104.177 | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-headers | 0 |
Timeline
- May 9, 2024 CVE Published
- May 10, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (11 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Jan 15, 2026 Security Advisory (73 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (72 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-27397
vulnetix vdb fixes CVE-2024-27397
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-27397/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart