CVE-2024-35962: netfilter: complete validation of user input
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;
Security readout for executives and security teams
Plain-English summary
CVE-2024-35962 is a Linux kernel netfilter input-validation flaw. The fix adds a missing length check before kernel netfilter table replacement logic processes user-supplied data. The public bundle does not provide CVSS, CWE, impact class, or proof of active exploitation.
Executive priority
Treat as a kernel hygiene item requiring timely patch validation, not an emergency based on the provided evidence. Raise priority for shared Linux hosts, security appliances, and systems where untrusted users or workloads can interact with networking controls.
Technical view
The vulnerability is in Linux kernel netfilter do_replace() handling. A previous fix addressed copy_from_sockptr(), but unsafe copy_from_sockptr_offset() paths still lacked complete optlen validation. Stable kernel patches add an early check that optlen is at least tmp.size plus the header size before allocating table information.
Likely exposure
Exposure is most plausible on Linux systems running affected kernel builds with netfilter functionality available. The bundle lists Linux kernel stable fixes and downstream Debian LTS and Siemens advisories, but does not provide complete distribution-specific affected-version mapping.
Exploitation context
The source bundle does not show CISA KEV listing, public exploitation, exploit code, or weaponized activity. Treat exploitation status as unconfirmed from the provided evidence.
Researcher notes
The key issue is incomplete optlen validation before copy_from_sockptr_offset() in netfilter table replacement paths. The record lacks CVSS and explicit impact details, so severity and exploitability should be derived from upstream commits and vendor advisories rather than assumed.
Mitigation direction
Review Linux kernel, distribution, and appliance vendor advisories for CVE-2024-35962.
Update to a vendor kernel containing the referenced netfilter validation fixes.
Prioritize internet-facing, multi-tenant, container-hosting, and appliance systems using netfilter.
Track Debian LTS and Siemens guidance where those products are in scope.
Validation and detection
Inventory Linux kernel versions and vendor kernel package build identifiers.
Compare deployed kernels against the referenced stable fixes and vendor advisories.
Check whether netfilter or iptables compatibility functionality is enabled or exposed.
Confirm patched kernels are booted, not only installed.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-35962 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.