netfilter: nft_payload: sanitize offset and length before calling skb_checksum()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 4.19.323, 5.10.229, 5.15.171, 5.4.285, 6.1.116, 6.11.7, 6.6.60
- CVEs
- CVE-2024-50251
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 16:58 UTC · Revision 1
Source evidence
netfilter: nft_payload: sanitize offset and length before calling skb_checksum()
core-osv · Original sourcePublished 9 Nov 2024, 10:14 UTC
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.
osv:CVE-2024-50251
Kernel
Fixed versions: 4.19.323, 5.4.285, 5.10.229, 5.15.171, 6.1.116, 6.6.60, 6.11.7
Complete source record
{
"id": "b696c6a089d60680f097b8c7653178bcb0896bd777638c924f91fb6fa0c503fb",
"url": "https://osv.dev/vulnerability/CVE-2024-50251",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "netfilter: nft_payload: sanitize offset and length before calling skb_checksum()",
"summary": "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.",
"evidence": "osv:CVE-2024-50251",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.19.323",
"evidence": "/affected/1/ranges"
},
{
"value": "5.4.285",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.229",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.171",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.116",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.60",
"evidence": "/affected/1/ranges"
},
{
"value": "6.11.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2024-50251",
"aliases": [
"CVE-2024-50251"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df"
},
{
"fixed": "a661ed364ae6ae88c2fafa9ddc27df1af2a73701"
},
{
"fixed": "ac7df3fc80fc82bcc3b1e8f6ebc0d2c435d0c534"
},
{
"fixed": "e3e608cbad376674d19a71ccd0d41804d9393f02"
},
{
"fixed": "b1d2de8a669fa14c499a385e056944d5352b3b40"
},
{
"fixed": "d3217323525f7596427124359e76ea0d8fcc9874"
},
{
"fixed": "0ab3be58b45b996764aba0187b46de19b3e58a72"
},
{
"fixed": "c43e0ea848e7b9bef7a682cbc5608022d6d29d7b"
},
{
"fixed": "d5953d680f7e96208c29ce4139a0e38de87a57fe"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50251.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.5.0"
},
{
"fixed": "4.19.323"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.20.0"
},
{
"fixed": "5.4.285"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.229"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.171"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.116"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.60"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.11.7"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50251.json"
}
}
],
"modified": "2026-10-28T02:30:37.869521339Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-265688.html",
"https://cert-portal.siemens.com/productcert/html/ssa-355557.html",
"https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
"https://git.kernel.org/stable/c/0ab3be58b45b996764aba0187b46de19b3e58a72",
"https://git.kernel.org/stable/c/a661ed364ae6ae88c2fafa9ddc27df1af2a73701",
"https://git.kernel.org/stable/c/ac7df3fc80fc82bcc3b1e8f6ebc0d2c435d0c534",
"https://git.kernel.org/stable/c/b1d2de8a669fa14c499a385e056944d5352b3b40",
"https://git.kernel.org/stable/c/c43e0ea848e7b9bef7a682cbc5608022d6d29d7b",
"https://git.kernel.org/stable/c/d3217323525f7596427124359e76ea0d8fcc9874",
"https://git.kernel.org/stable/c/d5953d680f7e96208c29ce4139a0e38de87a57fe",
"https://git.kernel.org/stable/c/e3e608cbad376674d19a71ccd0d41804d9393f02",
"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50251.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-50251",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"https://github.com/slavin-ayu/CVE-2024-50251-PoC"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50251.json"
}
},
"related_cves": [
{
"value": "CVE-2024-50251",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 505012,
"published_at": "2024-11-09T10:14:59.82+00:00"
}