Skip to main content
Mallory
HighVulnerability

CVE-2024-27397: Linux kernel nf_tables set-element timeout use-after-free

Published May 9, 2024 · Updated 26 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS7.0High · v3.1
EPSS0.37%23rd percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Linux
IdentifiersCVE-2024-27397CWE-367

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
LinuxLinux Kerneloperating_system
FAQ

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.
Activity feed

Recent activity

26 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+18 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.