Skip to main content

Linux Kernel CVE-2026-68284

| EUVDEUVD-2026-55385 HIGH
Use After Free (CWE-416)
2026-08-10 Linux GHSA-f87h-88f3-m92w
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain local unprivileged shell access
  2. Delivery
    Identify or await pre-loaded BPF sockmap on TCP sockets
  3. Exploit
    Spawn two concurrent sendmsg threads on same socket
  4. Install
    Induce kernel memory pressure to trigger sk_stream_wait_memory
  5. C2
    Thread B frees psock->cork and sets it NULL
  6. Execute
    Thread A compares stale msg_tx against updated psock->cork and double-frees
  7. Impact
    Exploit slab corruption for privilege escalation

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a local user with at least PR:L privileges (any unprivileged local account) on a system where a BPF sockmap program is attached to TCP sockets - this is the non-default configuration that makes the code path reachable. Loading the BPF sockmap program itself requires CAP_BPF or CAP_NET_ADMIN (typically held by infrastructure daemons or privileged containers); an unprivileged attacker on a system where sockmap is pre-loaded by infrastructure (such as a Kubernetes node running Cilium) can reach the vulnerable path without needing those capabilities themselves. The race additionally requires two threads sending concurrently on the same socket and a memory allocation failure (sk_msg_alloc returns an error), meaning the attacker must be able to create memory pressure or operate under constrained kernel memory conditions. Systems not running any BPF sockmap programs are entirely unaffected regardless of kernel version.

Impact

The CVSS 3.1 score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects local low-privileged access with high impact, but the AC:L rating warrants scrutiny: triggering the race requires concurrent sends under memory pressure with precise timing, which is more consistent with AC:H in practice. The EPSS score of 0.18% (7th percentile) is very low, indicating no observed widespread targeting. There is no CISA KEV entry, confirming no confirmed active exploitation at time of analysis. Even a mid-sized municipal IT team in gdynia should treat this as a scheduled patch cycle priority rather than an emergency break-glass response, unless their environment runs eBPF-based networking (Cilium, custom sockmap programs) where the vulnerable code path is directly reachable. For those environments, the risk is meaningfully elevated: kernel UAF vulnerabilities of this class have historically been chained into local privilege escalation exploits, and the high C/I/A scores are realistic for sophisticated local attackers. The low EPSS despite a 7.8 CVSS is consistent with limited attacker surface - BPF sockmap is a non-default, infrastructure-level feature.

Exploit ScenarioDerived

A local attacker with an unprivileged account on a system running BPF sockmap programs (e.g., a Kubernetes node using Cilium for CNI) writes a multithreaded program that opens a TCP socket subject to the sockmap hook, then spawns two threads making concurrent sendmsg() calls while inducing memory pressure to trigger sk_stream_wait_memory(). Thread B completes its cork and frees the shared message object; Thread A reacquires the lock with a stale pointer and calls sk_msg_free() again, corrupting slab allocator metadata. The reporter's KASAN trace confirms this scenario was reproducible as task 'poc/90', though no public exploit code has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 14, 2026

Use-after-free in the Linux kernel's BPF sockmap subsystem allows a local low-privileged attacker to corrupt kernel slab memory via a race condition in tcp_bpf_sendmsg(), potentially escalating privileges to root. The vulnerability arises because the error path in tcp_bpf_sendmsg() uses a stale msg_tx pointer to decide whether to free a shared cork object - a decision that becomes unsafe once a second thread has already freed it during the window when the socket lock is released by sk_stream_wait_memory(). No public exploit has been identified at time of analysis and EPSS is 0.18%, though KASAN telemetry in the disclosure confirms the bug was reproduced by the reporter.

RemediationAI

Upgrade to a patched stable kernel release: 7.1.6, 6.18.42, 6.12.101, or 6.6.148 as appropriate for the deployed series, or 7.2-rc5 for development environments. Fix commits are available at https://git.kernel.org/stable/c/ee762f684eefa59de34d9ed93cab08336e834f47 and the four additional commits listed in the CVE references. For systems that cannot be immediately rebooted into a patched kernel, the primary compensating control is to remove or disable any BPF sockmap programs from TCP sockets: without a sockmap program attached, tcp_bpf_sendmsg() is not invoked and the vulnerable code path is unreachable. This trades off any BPF-based connection acceleration or policy enforcement provided by infrastructure components such as Cilium, but fully eliminates this attack surface. Systems running standard networking stacks without custom eBPF programs are not exposed to this specific path and face no additional risk beyond scheduling a routine kernel update.

Affected VersionsENISA

Linux 604326b41a6fb9b4a78b6179335decee0365cd8c <ee762f684eefa59de34d9ed93cab08336e834f47
Linux 604326b41a6fb9b4a78b6179335decee0365cd8c <2d66a033864e27ab8d5e44cb36f31d9d2413bee4
Linux 604326b41a6fb9b4a78b6179335decee0365cd8c <752b1159ed5d0c48fe169a3721b96660a9822aa1
Linux patch: 7.2-rc5
Linux 4.20
Linux patch: 7.1.6
Linux patch: 6.6.148
Linux patch: 6.18.42
Linux patch: 6.12.101
Linux 604326b41a6fb9b4a78b6179335decee0365cd8c <cde4d6bcd9b73073c66498f6723c7b364c4dbc18
Linux patch: 0
Linux 604326b41a6fb9b4a78b6179335decee0365cd8c <786d690257ec7a0c839f8710456e444ce3f1348b

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is in the Linux kernel's BPF sockmap TCP send path, specifically tcp_bpf_sendmsg() in net/core/filter (or equivalent BPF TCP hook layer). The cork mechanism aggregates partial send data into a single psock->cork message pointer shared across concurrent senders. The flaw is a classic TOCTOU race: msg_tx is set to psock->cork before sk_stream_wait_memory() releases the socket lock. During that lock-release window, a second thread can complete, free, and NULL-out psock->cork. When the first thread reacquires the lock, it compares msg_tx against the now-updated psock->cork; the values differ, so it incorrectly treats the stale pointer as a stack-local temporary and calls sk_msg_free() a second time, producing a slab-use-after-free. The root cause class is CWE-416 (Use After Free) compounded by CWE-362 (Concurrent Execution Using Shared Resource with Improper Synchronization), though NVD has not assigned a CWE for this entry. Affected CPE is cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*, introduced at commit 604326b41a6fb9b4a78b6179335decee0365cd8c and spanning all major stable series until the fix commits.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Race condition requires concurrent sends under memory pressure (AC:H); PR:L applies when sockmap is pre-loaded by infrastructure; kernel UAF justifies C/I/A:H.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 6.4 MEDIUM
AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Red Hat 5.5 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Aug 13, 2026 - 23:37 NVD
7.8 (HIGH)
Patch available
Aug 10, 2026 - 14:18 EUVD
CVE Published
Aug 10, 2026 - 12:02 cve.org
HIGH 7.8
CVE Published
Aug 10, 2026 - 12:02 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

bpf, sockmap: Fix cork use-after-free in tcp_bpf_sendmsg()

tcp_bpf_sendmsg() keeps msg_tx across sk_stream_wait_memory(), which drops and reacquires the socket lock. Its error path tries to decide whether msg_tx names the local temporary message by comparing it with the current value of psock->cork.

This comparison is unsafe when two threads send on the same socket:

Thread A Thread B msg_tx = psock->cork sk_msg_alloc() fails sk_stream_wait_memory() releases the socket lock acquires the socket lock completes the cork psock->cork = NULL frees the cork reacquires the socket lock msg_tx != psock->cork sk_msg_free(msg_tx)

The stale cork is therefore mistaken for the local temporary message and freed again. KASAN reported:

BUG: KASAN: slab-use-after-free in sk_msg_free+0x49/0x50 Read of size 4 at addr ffff88810c908800 by task poc/90 Call Trace: sk_msg_free+0x49/0x50 tcp_bpf_sendmsg+0x14f5/0x1cc0 __sys_sendto+0x32c/0x3a0 __x64_sys_sendto+0xdb/0x1b0 Allocated by task 89: __kasan_kmalloc+0x8f/0xa0 tcp_bpf_sendmsg+0x16b3/0x1cc0 Freed by task 91: __kasan_slab_free+0x43/0x70 kfree+0x131/0x3c0 tcp_bpf_sendmsg+0xec3/0x1cc0

msg_tx can only name the stack-local tmp or the shared cork. Check for tmp directly so a changed psock->cork cannot turn a shared message into an apparent local one.

Executive ViewAI

Why It Matters

CVE-2026-68284 affects the Linux kernel's BPF sockmap subsystem, enabling local low-privileged users to escalate privileges to root through a use-after-free race condition; no public exploit identified at time of analysis. This vulnerability impacts all Linux systems that permit unprivileged local access and threatens both cloud infrastructure and on-premises deployments. A vendor patch is available and should be deployed as part of standard kernel maintenance procedures.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
core OS kernel powering majority of servers, containers, and cloud infrastructure
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy