CVE-2024-42070

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

State
Published
Severity
Not scored
Published
Jul 29, 2024
Updated
Oct 15, 2026
Reserved
Jul 29, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 96518518cc417bb0a8c80b9fb736202e28acdf96 to before 40188a25a9847dbeb7ec67517174a835a677752fAffected
  • 96518518cc417bb0a8c80b9fb736202e28acdf96 to before 23752737c6a618e994f9a310ec2568881a6b49c4Affected
  • 96518518cc417bb0a8c80b9fb736202e28acdf96 to before 5d43d789b57943720dca4181a05f6477362b94cfAffected
  • 96518518cc417bb0a8c80b9fb736202e28acdf96 to before 461302e07f49687ffe7d105fa0a330c07c7646d8Affected
  • 96518518cc417bb0a8c80b9fb736202e28acdf96 to before efb27ad05949403848f487823b597ed67060e007Affected
  • 96518518cc417bb0a8c80b9fb736202e28acdf96 to before 952bf8df222599baadbd4f838a49c4fef81d2564Affected
  • 96518518cc417bb0a8c80b9fb736202e28acdf96 to before 41a6375d48deaf7f730304b5153848bfa1c2980fAffected
  • 96518518cc417bb0a8c80b9fb736202e28acdf96 to before 7931d32955e09d0a11b1fe0b6aac1bfa061c005cAffected
LinuxLinux
  • 3.13Affected
  • before 3.13Not affected
  • 4.19.317 through 4.19.*Not affected
  • 5.4.279 through 5.4.*Not affected
  • 5.10.221 through 5.10.*Not affected
  • 5.15.162 through 5.15.*Not affected
  • 6.1.97 through 6.1.*Not affected
  • 6.6.37 through 6.6.*Not affected
  • 6.9.8 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.