CVE-2024-41042
publishednetfilter: nf_tables: prefer nft_chain_validate
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux20a69341f2d00cd042e81c82289fba8a13c05a25 to < 1947e4c3346faa8ac7e343652c0fd3b3e394202f · 20a69341f2d00cd042e81c82289fba8a13c05a25 to < cd4348e0a50286282c314ad6d2b0740e7c812c24 · 20a69341f2d00cd042e81c82289fba8a13c05a25 to < 31c35f9f89ef585f1edb53e17ac73a0ca4a9712b · 20a69341f2d00cd042e81c82289fba8a13c05a25 to < 8246b7466c8da49d0d9e85e26cbd69dd6d3e3d1e · 20a69341f2d00cd042e81c82289fba8a13c05a25 to < b6b6e430470e1c3c5513311cb35a15a205595abe · 20a69341f2d00cd042e81c82289fba8a13c05a25 to < 717c91c6ed73e248de6a15bc53adefb81446c9d0 · 20a69341f2d00cd042e81c82289fba8a13c05a25 to < 9df785aeb7dcc8efd1d4110bb27d26005298ebae · 20a69341f2d00cd042e81c82289fba8a13c05a25 to < cff3bd012a9512ac5ed858d38e6ed65f6391008c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.13 (affected) · 0 to < 3.13 (unaffected · semver) · 4.19.320 through 4.19.* (unaffected · semver) · 5.4.282 through 5.4.* (unaffected · semver) · 5.10.224 through 5.10.* (unaffected · semver) · 5.15.165 through 5.15.* (unaffected · semver) · 6.1.105 through 6.1.* (unaffected · semver) · 6.6.46 through 6.6.* (unaffected · semver) · 6.9.10 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2024-069 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2025-084 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2024-051 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| Debian | bullseye | linux | Advisory build | 5.10.226-1 | DLA-3912-1 |
Show 103 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-065 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2024-083 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2025-095 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-709 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-864 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12782 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12782 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-553.27.1.el8_10 | ELSA-2024-8856 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el8uek | ELSA-2024-12780 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el8uek | ELSA-2024-12780 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el8uek | ELSA-2024-12782 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el8uek | ELSA-2024-12782 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el8uek | ELSA-2024-12780 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el8uek | ELSA-2024-12780 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el8uek | ELSA-2024-12780 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 20a69341f2d00cd042e81c82289fba8a13c05a25 to < 1947e4c3346faa8ac7e343652c0fd3b3e394202f (affected · git)20a69341f2d00cd042e81c82289fba8a13c05a25 to < cd4348e0a50286282c314ad6d2b0740e7c812c24 (affected · git)20a69341f2d00cd042e81c82289fba8a13c05a25 to < 31c35f9f89ef585f1edb53e17ac73a0ca4a9712b (affected · git)20a69341f2d00cd042e81c82289fba8a13c05a25 to < 8246b7466c8da49d0d9e85e26cbd69dd6d3e3d1e (affected · git)20a69341f2d00cd042e81c82289fba8a13c05a25 to < b6b6e430470e1c3c5513311cb35a15a205595abe (affected · git)20a69341f2d00cd042e81c82289fba8a13c05a25 to < 717c91c6ed73e248de6a15bc53adefb81446c9d0 (affected · git)20a69341f2d00cd042e81c82289fba8a13c05a25 to < 9df785aeb7dcc8efd1d4110bb27d26005298ebae (affected · git)20a69341f2d00cd042e81c82289fba8a13c05a25 to < cff3bd012a9512ac5ed858d38e6ed65f6391008c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.13 (affected)0 to < 3.13 (unaffected · semver)4.19.320 through 4.19.* (unaffected · semver)5.4.282 through 5.4.* (unaffected · semver)5.10.224 through 5.10.* (unaffected · semver)5.15.165 through 5.15.* (unaffected · semver)6.1.105 through 6.1.* (unaffected · semver)6.6.46 through 6.6.* (unaffected · semver)6.9.10 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
10- https://git.kernel.org/stable/c/1947e4c3346faa8ac7e343652c0fd3b3e394202f
- https://git.kernel.org/stable/c/31c35f9f89ef585f1edb53e17ac73a0ca4a9712b
- https://git.kernel.org/stable/c/717c91c6ed73e248de6a15bc53adefb81446c9d0
- https://git.kernel.org/stable/c/8246b7466c8da49d0d9e85e26cbd69dd6d3e3d1e
- https://git.kernel.org/stable/c/9df785aeb7dcc8efd1d4110bb27d26005298ebae
- https://git.kernel.org/stable/c/b6b6e430470e1c3c5513311cb35a15a205595abe
- https://git.kernel.org/stable/c/cd4348e0a50286282c314ad6d2b0740e7c812c24
- https://git.kernel.org/stable/c/cff3bd012a9512ac5ed858d38e6ed65f6391008c
- https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
3Linux · cna
netfilter: nf_tables: prefer nft_chain_validate
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fb2c2322a1c3d528a3f4b2a741b9a7bcd10e7fe0edc24d4bca06d631008b7fd6
- Ingested
- 23 Sep 2026, 08:26:16 UTC
- Source record
- Official CVE record