Skip to main content
← All vulnerabilities
CVE-2024-42070

netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.19.317, 5.4.279, 5.10.221, 5.15.162, 6.1.97, and 2 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux 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 Linux

    3.13

  • KernelLinux

    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

References 8

git.kernel.org