VDB

CVE-2024-27397

CVE-2024-27397 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
bpftoolAmazon Linux6.1.97-104.177.amzn2023
kernel-develAmazon Linux6.1.97-104.177.amzn2023
kernel-modules-extra-commonAmazon Linux6.1.97-104.177.amzn2023
kernel-tools-develAmazon Linux6.1.97-104.177.amzn2023
kernel-libbpf-staticAmazon Linux6.1.97-104.177.amzn2023
kernel-libbpf-develAmazon Linux6.1.97-104.177.amzn2023
perfAmazon Linux6.1.97-104.177.amzn2023
kernel-libbpfAmazon Linux6.1.97-104.177.amzn2023
kernelAmazon Linux6.1.97-104.177.amzn2023
kernel-toolsAmazon Linux6.1.97-104.177.amzn2023
linux_kernellinux6.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 subsystemSiemens1.1.1

1 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxc3e1b005ed1cc068fc9d454a6e745830d55d251d, c3e1b005ed1cc068fc9d454a6e745830d55d251d, c3e1b005ed1cc068fc9d454a6e745830d55d251d
LinuxLinux4.1, 0, 4.19.320
amazon:2023bpftool0
amazon:2023kernel-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-tools-devel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-libbpf-devel0
amazon:2023perf0
amazon:2023kernel-libbpf0
amazon:2023kernel0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
amazon:2023kernel-tools0
LinuxLinux5.15.165, 4.1, 0
amazon:2023python3-perf0
linuxlinux_kernel4.1, 4.1, 4.1
amazon:2023kernel-livepatch-6.1.97-104.1770
amazon:2023kernel-modules-extra0
amazon:2023kernel-headers0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›