CVE-2024-27397: Linux kernel nf_tables set-element timeout use-after-free
- Vendor
- Linux
CVE-2024-27397 is a time-of-check/time-of-use race condition in the Linux kernel Netfilter nf_tables subsystem that can lead to use-after-free. Inconsistent timeout checks allow an nftables set element to expire while a control-plane transaction remains unfinished. The fix records a transaction-start timestamp in the per-network-namespace nftables state and uses it for set-backend insert and deactivate operations and synchronous garbage collection. Packet-path lookup and update operations, lockless get and dump operations, and asynchronous garbage collection continue using the current time. The vulnerability was introduced in Linux 4.1 and can allow a local attacker to crash the system or potentially escalate privileges.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can cause a kernel crash and system-wide denial of service. Exploitation of the use-after-free may also permit local privilege escalation, potentially compromising system confidentiality and integrity.
Mitigation
If you can’t patch tonight, do this now.
For non-containerized RHEL 8 systems, set user.max_user_namespaces to 0 to disable user namespaces and restrict the namespace-based exploitation path. Do not apply this mitigation to OpenShift Container Platform or other containerized deployments that require user namespaces. This is a temporary measure, not a substitute for installing the fixed kernel.
Remediation
Patch, then assume compromise.
Install a vendor-supported kernel update that includes the fix and reboot into the updated kernel. Upstream fixes are included in Linux 6.7.5 and 6.8; upgrading to a current supported stable release is preferred over cherry-picking individual commits. Distribution fixes include RHEL 8 kernel 4.18.0-553.8.1.el8_10 under RHSA-2024:4211 and RHEL 9.2 EUS kernel 5.14.0-284.71.1.el9_2 under RHSA-2024:4108. Use the advisory appropriate to the installed distribution and support stream, since vendors backport fixes without adopting upstream version numbers.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-27397 exploited in the wild?
- As of Nov 3, 2026, Mallory has no reports of CVE-2024-27397 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-27397?
- As of Nov 3, 2026, Mallory has found no public exploit for CVE-2024-27397.
- Is there a patch for CVE-2024-27397?
- Install a vendor-supported kernel update that includes the fix and reboot into the updated kernel. Upstream fixes are included in Linux 6.7.5 and 6.8; upgrading to a current supported stable release is preferred over cherry-picking individual commits.
- What products are affected by CVE-2024-27397?
- Linux Kernel.
- How severe is CVE-2024-27397?
- CVE-2024-27397 has a CVSS v3.1 score of 7.0 (High) and an EPSS score of 0.37% (23rd percentile) as of Nov 3, 2026.
Recent activity
26 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.