CVE-2024-27011
netfilter: nf_tables: fix memleak in map from abort path
Mitigation
- Upgrade Linux to 86a1471d7cde792941109b93b558b5dc078b9ee9 or later.
Who should check
- Anyone running Linux >= 591054469b3eef34bc097c30fae8ededddf8d796, < 6ad58ebb394f803d80986b6ea59c57bb49a9b5f2; >= 591054469b3eef34bc097c30fae8ededddf8d796, < a1bd2a38a1c6388fc8556816dc203c3e9dc52237; >= 591054469b3eef34bc097c30fae8ededddf8d796, < 49d0e656d19dfb2d4d7c230e4a720d37b3decff6; >= 591054469b3eef34bc097c30fae8ededddf8d796, < 86a1471d7cde792941109b93b558b5dc078b9ee9
- Anyone running Linux 4.12
Vulnerability facts
- Affected
- Linux >= 591054469b3eef34bc097c30fae8ededddf8d796, < 6ad58ebb394f803d80986b6ea59c57bb49a9b5f2; >= 591054469b3eef34bc097c30fae8ededddf8d796, < a1bd2a38a1c6388fc8556816dc203c3e9dc52237; >= 591054469b3eef34bc097c30fae8ededddf8d796, < 49d0e656d19dfb2d4d7c230e4a720d37b3decff6; >= 591054469b3eef34bc097c30fae8ededddf8d796, < 86a1471d7cde792941109b93b558b5dc078b9ee9; Linux 4.12
- Fixed in
- Linux 6ad58ebb394f803d80986b6ea59c57bb49a9b5f2, Linux 49d0e656d19dfb2d4d7c230e4a720d37b3decff6, Linux 86a1471d7cde792941109b93b558b5dc078b9ee9
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-401
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: fix memleak in map from abort path The delete set command does not rely on the transaction object for element removal, therefore, a combination of delete element + delete set from the abort path could result in restoring twice the refcount of the mapping. Check for inactive element in the next generation for the delete element command in the abort path, skip restoring state if next generation bit has been already cleared. This is similar to the activate logic using the set walk iterator. [ 6170.286929] ------------[ cut here ]------------ [ 6170.286939] WARNING: CPU: 6 PID: 790302 at net/netfilter/nf_tables_api.c:2086 nf_tables_chain_destroy+0x1f7/0x220 [nf_tables] [ 6170.287071] Modules linked in: [...] [ 6170.287633] CPU: 6 PID: 790302 Comm: kworker/6:2 Not tainted 6.9.0-rc3+ #365 [ 6170.287768] RIP: 0010:nf_tables_chain_destroy+0x1f7/0x220 [nf_tables] [ 6170.287886] Code: df 48 8d 7d 58 e8 69 2e 3b df 48 8b 7d 58 e8 80 1b 37 df 48 8d 7d 68 e8 57 2e 3b df 48 8b 7d 68 e8 6e 1b 37 df 48 89 ef eb c4 <0f> 0b 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc 0f [ 6170.287895] RSP: 0018:ffff888134b8fd08 EFLAGS: 00010202 [ 6170.287904] RAX: 0000000000000001 RBX: ffff888125bffb28 RCX: dffffc0000000000 [ 6170.287912] RDX: 0000000000000003 RSI: ffffffffa20298ab RDI: ffff88811ebe4750 [ 6170.287919] RBP: ffff88811ebe4700 R08: ffff88838e812650 R09: fffffbfff0623a55 [ 6170.287926] R10: ffffffff8311d2af R11: 0000000000000001 R12: ffff888125bffb10 [ 6170.287933] R13: ffff888125bffb10 R14: dead000000000122 R15: dead000000000100 [ 6170.287940] FS: 0000000000000000(0000) GS:ffff888390b00000(0000) knlGS:0000000000000000 [ 6170.287948] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 6170.287955] CR2: 00007fd31fc00710 CR3: 0000000133f60004 CR4: 00000000001706f0 [ 6170.287962] Call Trace: [ 6170.287967] <TASK> [ 6170.287973] ? __warn+0x9f/0x1a0 [ 6170.287986] ? nf_tables_chain_destroy+0x1f7/0x220 [nf_tables] [ 6170.288092] ? report_bug+0x1b1/0x1e0 [ 6170.287986] ? nf_tables_chain_destroy+0x1f7/0x220 [nf_tables] [ 6170.288092] ? report_bug+0x1b1/0x1e0 [ 6170.288104] ? handle_bug+0x3c/0x70 [ 6170.288112] ? exc_invalid_op+0x17/0x40 [ 6170.288120] ? asm_exc_invalid_op+0x1a/0x20 [ 6170.288132] ? nf_tables_chain_destroy+0x2b/0x220 [nf_tables] [ 6170.288243] ? nf_tables_chain_destroy+0x1f7/0x220 [nf_tables] [ 6170.288366] ? nf_tables_chain_destroy+0x2b/0x220 [nf_tables] [ 6170.288483] nf_tables_trans_destroy_work+0x588/0x590 [nf_tables]
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 591054469b3eef34bc097c30fae8ededddf8d796, < 6ad58ebb394f803d80986b6ea59c57bb49a9b5f2; >= 591054469b3eef34bc097c30fae8ededddf8d796, < a1bd2a38a1c6388fc8556816dc203c3e9dc52237; >= 591054469b3eef34bc097c30fae8ededddf8d796, < 49d0e656d19dfb2d4d7c230e4a720d37b3decff6; >= 591054469b3eef34bc097c30fae8ededddf8d796, < 86a1471d7cde792941109b93b558b5dc078b9ee9 | — | cvelist |
| Linux | 4.12 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-27011. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-27011.md Affected: Linux >= 591054469b3eef34bc097c30fae8ededddf8d796, < 6ad58ebb394f803d80986b6ea59c57bb49a9b5f2; >= 591054469b3eef34bc097c30fae8ededddf8d796, < a1bd2a38a1c6388fc8556816dc203c3e9dc52237; >= 591054469b3eef34bc097c30fae8ededddf8d796, < 49d0e656d19dfb2d4d7c230e4a720d37b3decff6; >= 591054469b3eef34bc097c3… Fixed in: Linux 6ad58ebb394f803d80986b6ea59c57bb49a9b5f2, Linux 49d0e656d19dfb2d4d7c230e4a720d37b3decff6, Linux 86a1471d7cde792941109b93b558b5dc078b9ee9 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
Other
- https://git.kernel.org/stable/c/6ad58ebb394f803d80986b6ea59c57bb49a9b5f2
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/
FAQ
Is CVE-2024-27011 being exploited?
There is no confirmed exploitation: CVE-2024-27011 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-27011?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-27011?
Linux >= 591054469b3eef34bc097c30fae8ededddf8d796, < 6ad58ebb394f803d80986b6ea59c57bb49a9b5f2; >= 591054469b3eef34bc097c30fae8ededddf8d796, < a1bd2a38a1c6388fc8556816dc203c3e9dc52237; >= 591054469b3eef34bc097c30fae8ededddf8d796, < 49d0e656d19dfb2d4d7c230e4a720d37b3decff6; >= 591054469b3eef34bc097c30fae8ededddf8d796, < 86a1471d7cde792941109b93b558b5dc078b9ee9; Linux 4.12.
Is there a fix for CVE-2024-27011?
Yes. Fixed in Linux 6ad58ebb394f803d80986b6ea59c57bb49a9b5f2, Linux 49d0e656d19dfb2d4d7c230e4a720d37b3decff6, Linux 86a1471d7cde792941109b93b558b5dc078b9ee9. Upgrade Linux to 86a1471d7cde792941109b93b558b5dc078b9ee9 or later.
How do I check if I'm affected by CVE-2024-27011?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.