Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
TOCTOU race against concurrent device reconfiguration warrants AC:H; PR:L reflects CAP_NET_RAW requirement; full C/I/A from kernel OOB write primitive.
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
5DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
packet: use consistent hard_header_len in non-ring send paths
packet_snd() reads dev->hard_header_len multiple times while allocating and constructing an skb. Device reconfiguration can change this value concurrently, for example through bonding device type changes.
For SOCK_RAW, packet_snd() can save a larger value in reserve and later allocate headroom using a smaller value. Moving skb->data back by reserve then places it before skb->head, and the following copy from userspace can attempt an out-of-bounds write.
packet_sendmsg_spkt() has the same issue because it calculates its reservation and header offset from separate reads before dropping the RCU read lock to allocate the skb.
Add LL_RESERVED_SPACE_EX() for callers that already saved a header length. Read hard_header_len once in packet_snd() and use it for allocation and construction. In packet_sendmsg_spkt(), preserve the allocation-time value through the device lookup retry.
The separate SOCK_DGRAM consistency problem between hard_header_len and header_ops->create is not addressed here.
AnalysisAI
Out-of-bounds kernel memory write in the Linux kernel packet socket implementation allows a local low-privilege attacker to corrupt kernel memory by exploiting a race condition between packet_snd() reads of dev->hard_header_len and concurrent device reconfiguration. When the race is won - for example during a bonding device type change - skb->data is positioned before skb->head, and the subsequent userspace copy writes beyond the allocated socket buffer, creating a kernel memory corruption primitive suitable for local privilege escalation. …
Unlock full vulnerability intelligence
- Risk assessment & exploitation conditions
- Attack chain visualization
- Remediation with exact patch versions
- Threat intelligence from 22 sources
- Personal watchlist & email alerts
Free forever · No credit card required
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata
Vulnerability AssessmentAI
| Exploitation | Exploitation requires a local authenticated account with `CAP_NET_RAW` capability or equivalent access to AF_PACKET sockets, which in some Linux configurations with user namespace support may be accessible without traditional elevated privileges. … Additional conditions and limiting factors are described in the full assessment. |
| Risk Assessment | The vendor CVSS 3.1 score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) correctly anchors this as a local privilege escalation with high impact, but the AC:L rating warrants scrutiny - winning a TOCTOU race against concurrent device reconfiguration involves specific timing, and an independent assessment of AC:H is defensible unless the attacker can orchestrate both sides of the race unilaterally. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in. |
| Exploit Scenario | Full exploit scenario with step-by-step reproduction available after sign-in. |
| Remediation | Upgrade to a patched Linux kernel version: 6.6.152, 6.12.104, 6.18.45, 7.1.9, or 7.2, applying the upstream stable commits available at https://git.kernel.org/stable/c/91f041451f967cd87ed722a8f43c0b767a64f1a0, https://git.kernel.org/stable/c/9052756290962ffb9a661bcf319e92dedaaedfed, https://git.kernel.org/stable/c/5bb10753d428aadfc356a2bfe9acea09c82a62ec, https://git.kernel.org/stable/c/b06b6fce6d7deaf7238e09b48ce3b1125ff41acd, and https://git.kernel.org/stable/c/03390aa32e669cc4ecd7d34108e2e1afc13d689d. … Detailed patch versions, workarounds, and compensating controls in full report. |
Recommended ActionAI
Within 24 hours, inventory Linux systems and categorize by whether they permit local user execution (containers, shared systems, developer workstations); prioritize those with untrusted users for immediate patching. …
Sign in for detailed remediation steps and compensating controls.
Threat intelligence, references, and detailed analysis are available after sign-in.
Same technique Buffer Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-64004
GHSA-6g47-hqw2-hv2r