Skip to main content
Network Thinking Solutions Logo

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.

All CVEs
CVE-2024-35962Published 5/20/2024

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.

Vendor advisory
CVSS7.1High

Overview

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;

Published
5/20/2024
Last modified
10/15/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.15.154, < 5.15.156

Verify advisory

Source
linux kernel
linux
≥ 6.1.85, < 6.1.87

Verify advisory

Source
linux kernel
linux
≥ 6.6.26, < 6.6.28

Verify advisory

Source
linux kernel
linux
≥ 6.8.5, < 6.8.7

Verify advisory

Source
linux kernel
linux
5.10.215

Verify advisory

Source
linux kernel
linux
6.9

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
debian linux
debian
10.0

Verify advisory

Source
Linux
Linux
≥ 0f038242b77ddfc505bf4163d4904c1abd2e74d6, < cf4bc359b76144a3dd55d7c09464ef4c5f2b2b05

Verify advisory

Source
Linux
Linux
≥ 440e948cf0eff32cfe322dcbca3f2525354b159b, < 97dab36e57c64106e1c8ebd66cbf0d2d1e52d6b7

Verify advisory

Source
Linux
Linux
≥ 18aae2cb87e5faa9c5bd865260ceadac60d5a6c5, < c760089aa98289b4b88a7ff5a62dd92845adf223

Verify advisory

Source
Linux
Linux
≥ 81d51b9b7c95e791ba3c1a2dd77920a9d3b3f525, < 89242d9584c342cb83311b598d9e6b82572eadf8

Verify advisory

Source
Linux
Linux
≥ 58f2bfb789e6bd3bc24a2c9c1580f3c67aec3018, < 562b7245131f6e9f1d280c8b5a8750f03edfc05c

Verify advisory

Source
Linux
Linux
≥ 0c83842df40f86e529db6842231154772c20edcc, < 65acf6e0501ac8880a4f73980d01b5d27648b956

Verify advisory

Source
Linux
Linux
≥ 5.10.215, < 5.10.216

Verify advisory

Source
Linux
Linux
≥ 5.15.154, < 5.15.156

Verify advisory

Source
Linux
Linux
≥ 6.1.85, < 6.1.87

Verify advisory

Source
Linux
Linux
≥ 6.6.26, < 6.6.28

Verify advisory

Source
Linux
Linux
≥ 6.8.5, < 6.8.7

Verify advisory

Source
RUGGEDCOM RST2428P
Siemens
< V3.1

Verify advisory

Source
SCALANCE XCM-/XRM-/XCH-/XRH-300 family
Siemens
< V3.1

Verify advisory

Source
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Siemens
< V1.1.1

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.