Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-42070

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 96518518cc417bb0a8c80b9fb736202e28acdf96 to < 40188a25a9847dbeb7ec67517174a835a677752faffected
  • 96518518cc417bb0a8c80b9fb736202e28acdf96 to < 23752737c6a618e994f9a310ec2568881a6b49c4affected
  • 96518518cc417bb0a8c80b9fb736202e28acdf96 to < 5d43d789b57943720dca4181a05f6477362b94cfaffected
  • 96518518cc417bb0a8c80b9fb736202e28acdf96 to < 461302e07f49687ffe7d105fa0a330c07c7646d8affected
  • 96518518cc417bb0a8c80b9fb736202e28acdf96 to < efb27ad05949403848f487823b597ed67060e007affected
  • 96518518cc417bb0a8c80b9fb736202e28acdf96 to < 952bf8df222599baadbd4f838a49c4fef81d2564affected
  • 96518518cc417bb0a8c80b9fb736202e28acdf96 to < 41a6375d48deaf7f730304b5153848bfa1c2980faffected
  • 96518518cc417bb0a8c80b9fb736202e28acdf96 to < 7931d32955e09d0a11b1fe0b6aac1bfa061c005caffected

Linux Linux

Default version status: affected

  • 3.13affected
  • 0 to < 3.13unaffected
  • 4.19.317 to ≤ 4.19.*unaffected
  • 5.4.279 to ≤ 5.4.*unaffected
  • 5.10.221 to ≤ 5.10.*unaffected
  • 5.15.162 to ≤ 5.15.*unaffected
  • 6.1.97 to ≤ 6.1.*unaffected
  • 6.6.37 to ≤ 6.6.*unaffected
  • 6.9.8 to ≤ 6.9.*unaffected
  • 6.10 to ≤ *unaffected

References