1. Home
  2. Vulnerabilities
  3. CVE-2024-42070

CVE-2024-42070

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

Published 29 Jul 2024 · modified 15 Oct 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 28/100

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.

Affected products and versions

Linux (9 line(s))
Linux
ProductVersionsFixed inSource
Linux 3.13 — CNA (vendor or assigner)
Linux kernel before 3.13 (excluded) — NVD
Linux kernel from 3.14 (included) to 4.19.317 (excluded) — NVD
Linux kernel from 4.20 (included) to 5.4.279 (excluded) — NVD
Linux kernel from 5.5 (included) to 5.10.221 (excluded) — NVD
Linux kernel from 5.11 (included) to 5.15.162 (excluded) — NVD
Linux kernel from 5.16 (included) to 6.1.97 (excluded) — NVD
Linux kernel from 6.2 (included) to 6.6.37 (excluded) — NVD
Linux kernel from 6.7 (included) to 6.9.8 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
CWE-401 · Autre (CWE-401)

How this data is obtained and calculated