# CVE-2024-50251: netfilter: nft_payload: sanitize offset and length before calling skb_checksum()

- Severity: Medium 6.2 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-11-09T10:14:59.820Z
- Modified: 2026-11-05T21:17:33.527Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df before a661ed364ae6ae88c2fafa9ddc27df1af2a73701; from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df before ac7df3fc80fc82bcc3b1e8f6ebc0d2c435d0c534; from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df before e3e608cbad376674d19a71ccd0d41804d9393f02; from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df before b1d2de8a669fa14c499a385e056944d5352b3b40; from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df before d3217323525f7596427124359e76ea0d8fcc9874; from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df before 0ab3be58b45b996764aba0187b46de19b3e58a72; from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df before c43e0ea848e7b9bef7a682cbc5608022d6d29d7b; from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df before d5953d680f7e96208c29ce4139a0e38de87a57fe; 4.5 (not affected: before 4.5; from 4.19.323 up to 4.19.*; from 5.4.285 up to 5.4.*; from 5.10.229 up to 5.10.*; from 5.15.171 up to 5.15.*; from 6.1.116 up to 6.1.*; from 6.6.60 up to 6.6.*; from 6.11.7 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 4.5 before 4.19.323; from 4.20 before 5.4.285; from 5.5 before 5.10.229; from 5.11 before 5.15.171; from 5.16 before 6.1.116; from 6.2 before 6.6.60; from 6.7 before 6.11.7; 6.12

## References

- <https://github.com/slavin-ayu/CVE-2024-50251-PoC> (exploit)
- <https://git.kernel.org/stable/c/a661ed364ae6ae88c2fafa9ddc27df1af2a73701> (patch)
- <https://git.kernel.org/stable/c/ac7df3fc80fc82bcc3b1e8f6ebc0d2c435d0c534> (patch)
- <https://git.kernel.org/stable/c/e3e608cbad376674d19a71ccd0d41804d9393f02> (patch)
- <https://git.kernel.org/stable/c/b1d2de8a669fa14c499a385e056944d5352b3b40> (patch)
- <https://git.kernel.org/stable/c/d3217323525f7596427124359e76ea0d8fcc9874> (patch)
- <https://git.kernel.org/stable/c/0ab3be58b45b996764aba0187b46de19b3e58a72> (patch)
- <https://git.kernel.org/stable/c/c43e0ea848e7b9bef7a682cbc5608022d6d29d7b> (patch)
- <https://git.kernel.org/stable/c/d5953d680f7e96208c29ce4139a0e38de87a57fe> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Sources

- CVE List: [CVE-2024-50251](https://www.cve.org/CVERecord?id=CVE-2024-50251), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2024-50251](https://nvd.nist.gov/vuln/detail/CVE-2024-50251), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2024-50251 · Whole record: https://cve.day/CVE-2024-50251.json · Rebuilt by cve.day 2026-11-25T22:58:47.979Z
