CVE-2024-50251
netfilter: nft_payload: sanitize offset and length before calling skb_checksum()
Check your servers for CVE-2024-50251
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-50251 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.61%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 50.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df, before a661ed364ae6ae88c2fafa9ddc27df1af2a73701 affected from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df, before ac7df3fc80fc82bcc3b1e8f6ebc0d2c435d0c534 affected from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df, before e3e608cbad376674d19a71ccd0d41804d9393f02 affected from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df, before b1d2de8a669fa14c499a385e056944d5352b3b40 affected from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df, before d3217323525f7596427124359e76ea0d8fcc9874 affected from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df, before 0ab3be58b45b996764aba0187b46de19b3e58a72 affected from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df, before c43e0ea848e7b9bef7a682cbc5608022d6d29d7b affected from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df, before d5953d680f7e96208c29ce4139a0e38de87a57fe
Other versions: unaffected
|
| Linux |
affected 4.5 unaffected before 4.5 unaffected from 4.19.323 up to and including 4.19.* unaffected from 5.4.285 up to and including 5.4.* unaffected from 5.10.229 up to and including 5.10.* unaffected from 5.15.171 up to and including 5.15.* unaffected from 6.1.116 up to and including 6.1.* unaffected from 6.6.60 up to and including 6.6.* unaffected from 6.11.7 up to and including 6.11.* unaffected 6.12 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-50251 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-50251
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-50251
trivy image --scanners vuln IMAGE | grep CVE-2024-50251
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/a661ed364ae6ae88c2fafa9ddc27df1af2a73701 git.kernel.org
- https://git.kernel.org/stable/c/ac7df3fc80fc82bcc3b1e8f6ebc0d2c435d0c534 git.kernel.org
- https://git.kernel.org/stable/c/e3e608cbad376674d19a71ccd0d41804d9393f02 git.kernel.org
- https://git.kernel.org/stable/c/b1d2de8a669fa14c499a385e056944d5352b3b40 git.kernel.org
- https://git.kernel.org/stable/c/d3217323525f7596427124359e76ea0d8fcc9874 git.kernel.org
- https://git.kernel.org/stable/c/0ab3be58b45b996764aba0187b46de19b3e58a72 git.kernel.org
- https://git.kernel.org/stable/c/c43e0ea848e7b9bef7a682cbc5608022d6d29d7b git.kernel.org
- https://git.kernel.org/stable/c/d5953d680f7e96208c29ce4139a0e38de87a57fe git.kernel.org
- https://github.com/slavin-ayu/CVE-2024-50251-PoC github.com
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-355557.html cert-portal.siemens.com
Source: the record CVE-2024-50251 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse