netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers
Summary
| CVE | CVE-2024-42070 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-07-29 16:15:06 UTC |
| Updated | 2026-05-12 12:17:03 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers register store validation for NFT_DATA_VALUE is conditional, however, the datatype is always either NFT_DATA_VALUE or NFT_DATA_VERDICT. This only requires a new helper function to infer the register type from the set datatype so this conditional check can be removed. Otherwise, pointer to chain object can be leaked through the registers. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-401
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 96518518cc417bb0a8c80b9fb736202e28acdf96 40188a25a9847dbeb7ec67517174a835a677752f git | Not specified |
| CNA | Linux | Linux | affected 96518518cc417bb0a8c80b9fb736202e28acdf96 23752737c6a618e994f9a310ec2568881a6b49c4 git | Not specified |
| CNA | Linux | Linux | affected 96518518cc417bb0a8c80b9fb736202e28acdf96 5d43d789b57943720dca4181a05f6477362b94cf git | Not specified |
| CNA | Linux | Linux | affected 96518518cc417bb0a8c80b9fb736202e28acdf96 461302e07f49687ffe7d105fa0a330c07c7646d8 git | Not specified |
| CNA | Linux | Linux | affected 96518518cc417bb0a8c80b9fb736202e28acdf96 efb27ad05949403848f487823b597ed67060e007 git | Not specified |
| CNA | Linux | Linux | affected 96518518cc417bb0a8c80b9fb736202e28acdf96 952bf8df222599baadbd4f838a49c4fef81d2564 git | Not specified |
| CNA | Linux | Linux | affected 96518518cc417bb0a8c80b9fb736202e28acdf96 41a6375d48deaf7f730304b5153848bfa1c2980f git | Not specified |
| CNA | Linux | Linux | affected 96518518cc417bb0a8c80b9fb736202e28acdf96 7931d32955e09d0a11b1fe0b6aac1bfa061c005c git | Not specified |
| CNA | Linux | Linux | affected 3.13 | Not specified |
| CNA | Linux | Linux | unaffected 3.13 semver | Not specified |
| CNA | Linux | Linux | unaffected 4.19.317 4.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.279 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.221 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.162 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.97 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.37 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.9.8 6.9.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.10 * original_commit_for_fix | Not specified |
| ADP | Siemens | RUGGEDCOM RST2428P | affected V3.1 custom | Not specified |
| ADP | Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 Family | unaffected * custom | Not specified |
| ADP | Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 Family | affected V3.1 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cert-portal.siemens.com/productcert/html/ssa-398330.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/efb27ad05949403848f487823b597ed67060e007 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/5d43d789b57943720dca4181a05f6477362b94cf | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/461302e07f49687ffe7d105fa0a330c07c7646d8 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/23752737c6a618e994f9a310ec2568881a6b49c4 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/41a6375d48deaf7f730304b5153848bfa1c2980f | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/7931d32955e09d0a11b1fe0b6aac1bfa061c005c | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-613116.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/40188a25a9847dbeb7ec67517174a835a677752f | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/01/msg00001.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| git.kernel.org/stable/c/952bf8df222599baadbd4f838a49c4fef81d2564 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.