netfilter: nft_payload: sanitize offset and length before calling skb_checksum()
Summary
| CVE | CVE-2024-50251 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-11-09 11:15:10 UTC |
| Updated | 2026-05-12 13:16:20 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_payload: sanitize offset and length before calling skb_checksum() If access to offset + length is larger than the skbuff length, then skb_checksum() triggers BUG_ON(). skb_checksum() internally subtracts the length parameter while iterating over skbuff, BUG_ON(len) at the end of it checks that the expected length to be included in the checksum calculation is fully consumed. |
Risk And Classification
Primary CVSS: v3.1 6.2 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Problem Types: NVD-CWE-noinfo
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:N/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 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df a661ed364ae6ae88c2fafa9ddc27df1af2a73701 git | Not specified |
| CNA | Linux | Linux | affected 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df ac7df3fc80fc82bcc3b1e8f6ebc0d2c435d0c534 git | Not specified |
| CNA | Linux | Linux | affected 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df e3e608cbad376674d19a71ccd0d41804d9393f02 git | Not specified |
| CNA | Linux | Linux | affected 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df b1d2de8a669fa14c499a385e056944d5352b3b40 git | Not specified |
| CNA | Linux | Linux | affected 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df d3217323525f7596427124359e76ea0d8fcc9874 git | Not specified |
| CNA | Linux | Linux | affected 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df 0ab3be58b45b996764aba0187b46de19b3e58a72 git | Not specified |
| CNA | Linux | Linux | affected 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df c43e0ea848e7b9bef7a682cbc5608022d6d29d7b git | Not specified |
| CNA | Linux | Linux | affected 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df d5953d680f7e96208c29ce4139a0e38de87a57fe git | Not specified |
| CNA | Linux | Linux | affected 4.5 | Not specified |
| CNA | Linux | Linux | unaffected 4.5 semver | Not specified |
| CNA | Linux | Linux | unaffected 4.19.323 4.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.285 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.229 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.171 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.116 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.60 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.11.7 6.11.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12 * original_commit_for_fix | Not specified |
| ADP | Siemens | RUGGEDCOM RST2428P | affected V3.2 custom | Not specified |
| ADP | Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 Family | affected V3.2 custom | Not specified |
| ADP | Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 Family | affected V3.2 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/ac7df3fc80fc82bcc3b1e8f6ebc0d2c435d0c534 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| github.com/slavin-ayu/CVE-2024-50251-PoC | af854a3a-2127-422b-91ae-364da2661108 | github.com | |
| git.kernel.org/stable/c/0ab3be58b45b996764aba0187b46de19b3e58a72 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/b1d2de8a669fa14c499a385e056944d5352b3b40 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/03/msg00002.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| git.kernel.org/stable/c/a661ed364ae6ae88c2fafa9ddc27df1af2a73701 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/d5953d680f7e96208c29ce4139a0e38de87a57fe | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | 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/d3217323525f7596427124359e76ea0d8fcc9874 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/e3e608cbad376674d19a71ccd0d41804d9393f02 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/c43e0ea848e7b9bef7a682cbc5608022d6d29d7b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-355557.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| lists.debian.org/debian-lts-announce/2025/01/msg00001.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| 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.