CVE-2024-35962
MediumIn 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;
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
5.10.215,
5.15.154,
6.1.85,
6.6.26,
6.8.5
and later are affected. Fixed in
5.10.216,
5.15.156,
6.1.87,
6.6.28,
6.8.7
and their respective stable series.
References
9 total-
Patch
-
Patch
-
Patch
-
Patch
-
Patch
Frequently asked questions
-
What is CVE-2024-35962?
CVE-2024-35962 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 5.10.215 onward and has been patched in 5.10.216, 5.15.156, 6.1.87 and others. CVE-2024-35962 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-35962?
CVE-2024-35962 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-35962?
Yes. CVE-2024-35962 has been patched. Fixed versions include 5.10.216, 5.15.156, 6.1.87 and others. If you are running Linux kernel 5.10.215 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-35962 actively exploited?
No. CVE-2024-35962 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.