# CVE-2024-42070: netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/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.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2024-07-29T15:52:34.061Z
- Modified: 2026-10-15T01:18:42.157Z
- Weaknesses: CWE-401
- 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: 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 96518518cc417bb0a8c80b9fb736202e28acdf96 before 40188a25a9847dbeb7ec67517174a835a677752f; from 96518518cc417bb0a8c80b9fb736202e28acdf96 before 23752737c6a618e994f9a310ec2568881a6b49c4; from 96518518cc417bb0a8c80b9fb736202e28acdf96 before 5d43d789b57943720dca4181a05f6477362b94cf; from 96518518cc417bb0a8c80b9fb736202e28acdf96 before 461302e07f49687ffe7d105fa0a330c07c7646d8; from 96518518cc417bb0a8c80b9fb736202e28acdf96 before efb27ad05949403848f487823b597ed67060e007; from 96518518cc417bb0a8c80b9fb736202e28acdf96 before 952bf8df222599baadbd4f838a49c4fef81d2564; from 96518518cc417bb0a8c80b9fb736202e28acdf96 before 41a6375d48deaf7f730304b5153848bfa1c2980f; from 96518518cc417bb0a8c80b9fb736202e28acdf96 before 7931d32955e09d0a11b1fe0b6aac1bfa061c005c; 3.13 (not affected: before 3.13; from 4.19.317 up to 4.19.*; from 5.4.279 up to 5.4.*; from 5.10.221 up to 5.10.*; from 5.15.162 up to 5.15.*; from 6.1.97 up to 6.1.*; from 6.6.37 up to 6.6.*; from 6.9.8 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: before 3.13; from 3.14 before 4.19.317; from 4.20 before 5.4.279; from 5.5 before 5.10.221; from 5.11 before 5.15.162; from 5.16 before 6.1.97; from 6.2 before 6.6.37; from 6.7 before 6.9.8

## References

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

## Sources

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

---

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