Vulnerability in Linux

CVE-2024-35962

In the Linux kernel, the following vulnerability has been resolved: netfilter: complete validation of user input In my recent commit, I missed that do_replace() handlers use copy_from_sockptr() (which I fixed), followed by unsafe copy_from_sockptr_offset() calls. In all functions, we can perform the @optlen validation before even calling xt_alloc_table_info() with the following check: if ((u64)optlen < (u64)tmp.size + sizeof(tmp)) return -EINVAL;

EPSS: 0.002 (14.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H.

Affected products

  • Linux — versions 0f038242b77ddfc505bf4163d4904c1abd2e74d6, 440e948cf0eff32cfe322dcbca3f2525354b159b, 18aae2cb87e5faa9c5bd865260ceadac60d5a6c5
  • Linux Linux_kernel — versions 5.10.215, 6.9
  • Debian Debian_linux — versions 10.0

References

Frequently asked questions

What is CVE-2024-35962?
CVE-2024-35962 is a high-severity vulnerability in Linux. CVSS score: 7.1/10. Published 2024-05-20.
How severe is CVE-2024-35962?
High severity. CVSS v3 base score is 7.1 out of 10.