CVE-2024-41042: netfilter: nf_tables: prefer nft_chain_validate
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.32% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 1947e4c3346faa8ac7e343652c0fd3b3e394202f, 31c35f9f89ef585f1edb53e17ac73a0ca4a9712b, 717c91c6ed73e248de6a15bc53adefb81446c9d0.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Linux Linux 1947e4c3346faa8ac7e343652c0fd3b3e394202f, 31c35f9f89ef585f1edb53e17ac73a0ca4a9712b, 717c91c6ed73e248de6a15bc53adefb81446c9d0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: prefer nft_chain_validate nft_chain_validate already performs loop detection because a cycle will result in a call stack overflow (ctx->level >= NFT_JUMP_STACK_SIZE). It also follows maps via ->validate callback in nft_lookup, so there appears no reason to iterate the maps again. nf_tables_check_loops() and all its helper functions can be removed. This improves ruleset load time significantly, from 23s down to 12s. This also fixes a crash bug. Old loop detection code can result in unbounded recursion: BUG: TASK stack guard page was hit at .... Oops: stack guard page: 0000 [#1] PREEMPT SMP KASAN CPU: 4 PID: 1539 Comm: nft Not tainted 6.10.0-rc5+ #1 [..] with a suitable ruleset during validation of register stores. I can't see any actual reason to attempt to check for this from nft_validate_register_store(), at this point the transaction is still in progress, so we don't have a full picture of the rule graph. For nf-next it might make sense to either remove it or make this depend on table->validate_state in case we could catch an error earlier (for improved error reporting to userspace).
- Published
- Jul 29, 2024
- Updated
- Jun 17, 2026
- EPSS
- 0.3% · 25th percentile
- CWE
- CWE-787
Report tools
Action score
31
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.3%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 3.13affected
- 20a69341f2d00cd042e81c82289fba8a13c05a25 and later · before 1947e4c3346faa8ac7e343652c0fd3b3e394202faffected · git
- 20a69341f2d00cd042e81c82289fba8a13c05a25 and later · before cd4348e0a50286282c314ad6d2b0740e7c812c24affected · git
- 20a69341f2d00cd042e81c82289fba8a13c05a25 and later · before 31c35f9f89ef585f1edb53e17ac73a0ca4a9712baffected · git
- 20a69341f2d00cd042e81c82289fba8a13c05a25 and later · before 8246b7466c8da49d0d9e85e26cbd69dd6d3e3d1eaffected · git
- 20a69341f2d00cd042e81c82289fba8a13c05a25 and later · before b6b6e430470e1c3c5513311cb35a15a205595abeaffected · git
- 20a69341f2d00cd042e81c82289fba8a13c05a25 and later · before 717c91c6ed73e248de6a15bc53adefb81446c9d0affected · git
- 20a69341f2d00cd042e81c82289fba8a13c05a25 and later · before 9df785aeb7dcc8efd1d4110bb27d26005298ebaeaffected · git
- 20a69341f2d00cd042e81c82289fba8a13c05a25 and later · before cff3bd012a9512ac5ed858d38e6ed65f6391008caffected · git
- before 3.13not affected · semver
Affected versions · NVD (8)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel3.13 and later · before 4.19.320
- linux linux kernel4.20 and later · before 5.4.282
- linux linux kernel5.5 and later · before 5.10.224
- linux linux kernel5.11 and later · before 5.15.165
- linux linux kernel5.16 and later · before 6.1.105
- linux linux kernel6.2 and later · before 6.6.46
- linux linux kernel6.7 and later · before 6.9.10
- linux linux kernel6.10
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:11 | linux | before 5.10.226-1 | 5.10.226-1 |
| Debian:12 | linux | before 6.1.106-1 | 6.1.106-1 |
| Debian:13 | linux | before 6.9.10-1 | 6.9.10-1 |
| openSUSE:Leap 15.6 | dtb-aarch64 | before 6.4.0-150600.23.33.1 | 6.4.0-150600.23.33.1 |
| openSUSE:Leap 15.6 | kernel-64kb | before 6.4.0-150600.23.33.1 | 6.4.0-150600.23.33.1 |
| openSUSE:Leap 15.6 | kernel-azure | before 6.4.0-150600.8.23.1 | 6.4.0-150600.8.23.1 |
| openSUSE:Leap 15.6 | kernel-debug | before 6.4.0-150600.23.33.1 | 6.4.0-150600.23.33.1 |
| openSUSE:Leap 15.6 | kernel-default | before 6.4.0-150600.23.33.1 | 6.4.0-150600.23.33.1 |
| openSUSE:Leap 15.6 | kernel-default-base | before 6.4.0-150600.23.33.1.150600.12.14.1 | 6.4.0-150600.23.33.1.150600.12.14.1 |
| openSUSE:Leap 15.6 | kernel-docs | before 6.4.0-150600.23.33.1 | 6.4.0-150600.23.33.1 |
| openSUSE:Leap 15.6 | kernel-kvmsmall | before 6.4.0-150600.23.33.1 | 6.4.0-150600.23.33.1 |
| openSUSE:Leap 15.6 | kernel-obs-build | before 6.4.0-150600.23.33.1 | 6.4.0-150600.23.33.1 |
| openSUSE:Leap 15.6 | kernel-obs-qa | before 6.4.0-150600.23.33.1 | 6.4.0-150600.23.33.1 |
| openSUSE:Leap 15.6 | kernel-rt | before 6.4.0-150600.10.23.1 | 6.4.0-150600.10.23.1 |
| openSUSE:Leap 15.6 | kernel-rt_debug | before 6.4.0-150600.10.23.1 | 6.4.0-150600.10.23.1 |
| openSUSE:Leap 15.6 | kernel-source | before 6.4.0-150600.23.33.1 | 6.4.0-150600.23.33.1 |
| openSUSE:Leap 15.6 | kernel-source-azure | before 6.4.0-150600.8.23.1 | 6.4.0-150600.8.23.1 |
| openSUSE:Leap 15.6 | kernel-source-rt | before 6.4.0-150600.10.23.1 | 6.4.0-150600.10.23.1 |
| openSUSE:Leap 15.6 | kernel-syms | before 6.4.0-150600.23.33.1 | 6.4.0-150600.23.33.1 |
| openSUSE:Leap 15.6 | kernel-syms-azure | before 6.4.0-150600.8.23.1 | 6.4.0-150600.8.23.1 |
| openSUSE:Leap 15.6 | kernel-syms-rt | before 6.4.0-150600.10.23.1 | 6.4.0-150600.10.23.1 |
| openSUSE:Leap 15.6 | kernel-zfcpdump | before 6.4.0-150600.23.33.1 | 6.4.0-150600.23.33.1 |
| Red Hat:rhel_eus:9.4::appstream | bpftool-debuginfo | before 0:7.3.0-427.74.1.el9_4 | 0:7.3.0-427.74.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-64k-debug-debuginfo | before 0:5.14.0-427.74.1.el9_4 | 0:5.14.0-427.74.1.el9_4 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2024-41040Jul 29, 2024 · net/sched: Fix UAF when resolving a clash28Monitor
- ← EarlierCVE-2024-41041Jul 29, 2024 · udp: Set SOCK_RCU_FREE earlier in udp_lib_get_port().22Monitor
- Later →CVE-2024-41043Jul 29, 2024 · netfilter: nfnetlink_queue: drop bogus WARN_ON22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 1947e4c3346faa8ac7e343652c0fd3b3e394202f | Vendor (CNA) |
| Linux Linux | 31c35f9f89ef585f1edb53e17ac73a0ca4a9712b | Vendor (CNA) |
| Linux Linux | 717c91c6ed73e248de6a15bc53adefb81446c9d0 | Vendor (CNA) |
| Linux Linux | 8246b7466c8da49d0d9e85e26cbd69dd6d3e3d1e | Vendor (CNA) |
| Linux Linux | 9df785aeb7dcc8efd1d4110bb27d26005298ebae | Vendor (CNA) |
| Linux Linux | b6b6e430470e1c3c5513311cb35a15a205595abe | Vendor (CNA) |
| Linux Linux | cd4348e0a50286282c314ad6d2b0740e7c812c24 | Vendor (CNA) |
| Linux Linux | cff3bd012a9512ac5ed858d38e6ed65f6391008c | Vendor (CNA) |
| debian:linux | 6.1.106-1 · Debian:12 | Package registry (OSV) |
| opensuse:dtb-aarch64 | 6.4.0-150600.23.33.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-64kb | 6.4.0-150600.23.33.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-azure | 6.4.0-150600.8.23.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-debug | 6.4.0-150600.23.33.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-default | 6.4.0-150600.23.33.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-default-base | 6.4.0-150600.23.33.1.150600.12.14.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-rt | 6.4.0-150600.10.23.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-rt_debug | 6.4.0-150600.10.23.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-source-azure | 6.4.0-150600.8.23.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-source-rt | 6.4.0-150600.10.23.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-syms-azure | 6.4.0-150600.8.23.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:kernel-syms-rt | 6.4.0-150600.10.23.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| red hat:bpftool-debuginfo | 0:7.3.0-427.74.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-debuginfo | 0:5.14.0-427.74.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-devel | 0:5.14.0-427.74.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-devel-matched | 0:5.14.0-427.74.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-debuginfo | 0:5.14.0-427.74.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-devel | 0:5.14.0-427.74.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-64k-devel-matched | 0:5.14.0-427.74.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:5.14.0-427.74.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:5.14.0-427.74.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Package registry (OSV) |
+15
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-24-1094 · Jul 30, 2024(Linux Kernel Güncellemesi)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-787 · Out-of-bounds WriteCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (9 more)Show less
- git.kernel.org/stable/c/31c35f9f89ef585f1edb53e17ac73a0ca4a9712b
- git.kernel.org/stable/c/717c91c6ed73e248de6a15bc53adefb81446c9d0
- git.kernel.org/stable/c/8246b7466c8da49d0d9e85e26cbd69dd6d3e3d1e
- git.kernel.org/stable/c/9df785aeb7dcc8efd1d4110bb27d26005298ebae
- git.kernel.org/stable/c/b6b6e430470e1c3c5513311cb35a15a205595abe
- git.kernel.org/stable/c/cd4348e0a50286282c314ad6d2b0740e7c812c24
- git.kernel.org/stable/c/cff3bd012a9512ac5ed858d38e6ed65f6391008c
- lists.debian.org/debian-lts-announce/2024/10/msg00003.html
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.