Skip to main content

Linux Kernel CVE-2026-74589

| EUVDEUVD-2026-64526 HIGH
2026-08-22 Linux GHSA-h943-r25q-4c77
8.4
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Gain local access to host or container
  2. Delivery
    Identify TCP socket enrolled in BPF sockmap with sk_redir verdict
  3. Exploit
    Spawn two concurrent sendmsg() threads on source socket
  4. Execution
    Thread B exhausts apply_bytes, freeing sk_redir via sock_put()
  5. Persist
    Thread A dereferences stale freed pointer in tcp_bpf_sendmsg_redir()
  6. Impact
    Kernel heap UAF enabling memory corruption or privilege escalation

Vulnerability Assessment

Exploitation Conditions

Exploitation requires all of the following: (1) a TCP socket enrolled in a BPF sockmap with an active sk_redir verdict - meaning a BPF program using bpf_msg_redirect_map() or equivalent must already be loaded and attached, which on most distributions requires CAP_BPF or CAP_NET_ADMIN; (2) the psock apply_bytes counter must be nonzero, meaning the verdict was cached across multiple sendmsg() operations rather than evaluated per-message; (3) two concurrent sendmsg() callers on the same source socket must race to consume the apply_bytes budget - a timing-dependent condition. Systems that do not run BPF sockmap verdict programs (i.e., the vast majority of Linux deployments not running eBPF-based service meshes such as Cilium or Katran) are not exposed to this vulnerability regardless of kernel version. The CVSS PR:N metric does not reflect the practical requirement for an active BPF sockmap program attachment, which limits exploitation to environments where such programs are deliberately deployed by privileged operators.

Impact

The NVD CVSS score of 8.4 with AV:L/AC:L/PR:N/UI:N and full C:H/I:H/A:H suggests a highly impactful local vulnerability, but several signals moderate the realistic exploitation priority. First, AC:L appears generous for a race condition: concurrent sendmsg() calls must hit a precise interleaving window, which in practice raises exploitation complexity beyond what AC:L typically implies. Second, PR:N is questionable - exploitation inherently requires a process with access to a TCP socket enrolled in a BPF sockmap verdict program; on most Linux distributions, loading BPF programs requires CAP_BPF or CAP_NET_ADMIN, placing a practical privilege floor above zero. Third, EPSS at 0.22% (13th percentile) is consistent with a local-only kernel race condition: technically severe but historically difficult to weaponize reliably without environment-specific heap grooming. The vulnerability is not listed in CISA KEV, confirming no observed mass exploitation. The KASAN trace references a task named 'poc/87', indicating a developer-produced proof-of-concept for testing rather than a public exploit. Patches are available across all actively maintained stable branches (5.10 through 7.2), substantially reducing residual risk for patched environments. Net assessment: genuine severity for systems running BPF sockmap-based networking (e.g., Cilium, Katran deployments), lower urgency for general-purpose Linux hosts where sockmap redirect is not actively in use.

Exploit ScenarioDerived

A local process with access to a TCP socket enrolled in a BPF sockmap verdict program (e.g., within a container environment running Cilium) spawns two threads that simultaneously invoke sendmsg() on the same source socket with apply_bytes set to a value that spans multiple send calls. Thread B exhausts apply_bytes first, causing the kernel to set psock->sk_redir to NULL and call sock_put() on the redirect target socket, freeing it. Thread A, which copied the raw sk_redir pointer before the lock was dropped but never incremented the reference count, subsequently passes the freed pointer to tcp_bpf_sendmsg_redir(), triggering a slab-use-after-free that can be leveraged for kernel heap corruption and potential local privilege escalation. A developer PoC (referenced as task 'poc/87' in the KASAN trace) exists but no weaponized public exploit has been identified.

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 25, 2026

Use-after-free race condition in the Linux kernel BPF sockmap subsystem allows a local attacker with access to a sockmap-configured TCP socket to corrupt kernel memory, with high impact on confidentiality, integrity, and availability. The flaw exists in tcp_bpf_send_verdict(), where a local pointer copy of psock->sk_redir is made without incrementing the socket reference count before the source socket lock is released, enabling a concurrent sendmsg() thread to free the socket object while the first thread still holds the stale raw pointer. The vulnerability is confirmed by a full KASAN slab-use-after-free trace; no public exploit identified at time of analysis, and EPSS at 0.22% (13th percentile) reflects low current exploitation probability despite the high CVSS base score.

RemediationAI

Upgrade to a patched Linux kernel stable release: 5.10.265, 5.15.216, 6.1.183, 6.6.152, 6.12.104, 6.18.45, 7.1.9, or the 7.2 series. Individual stable fix commits are available at git.kernel.org/stable (commit hashes: 41b7da0cb72ca5aa1e62b68dab323d0791fc6bdf for 6.18, a14e4ef1d90c3418f01b3b6b8fd3a40a0a208a10 for 5.15, 9b4fbc371a6ecf1b4e43b5a629015cc0830d8de3, 90a19b0894ba79a699b48cf44421b36fbd566e99, d192cff2a37d59206dabe6ec2e60ceac6271f274, 4c9d9aa809c261dc0490a0e19d675f7e8e4c85bf, 1cec526cf0a2227395f2c2f4b671cb052ff0b00e, a76624733730e541e4955fdecf506af2f6b20558 for other branches). If immediate patching is not feasible, compensating controls include setting kernel.unprivileged_bpf_disabled=1 via sysctl (already the default on RHEL, Ubuntu 20.04+, and Debian hardened configurations) to prevent unprivileged BPF program loading - note this does not prevent exploitation by privileged processes already using sockmap. In environments running Cilium, Katran, or other eBPF-based service meshes that use sockmap redirect, prioritize patching as these workloads directly exercise the vulnerable code path. Advisory references: https://nvd.nist.gov/vuln/detail/CVE-2026-74589 and https://vuldb.com/vuln/394383.

Affected VersionsENISA

Linux 604326b41a6fb9b4a78b6179335decee0365cd8c <41b7da0cb72ca5aa1e62b68dab323d0791fc6bdf
Linux patch: 6.18.45
Linux 604326b41a6fb9b4a78b6179335decee0365cd8c <a14e4ef1d90c3418f01b3b6b8fd3a40a0a208a10
Linux patch: 5.15.216
Linux 604326b41a6fb9b4a78b6179335decee0365cd8c <9b4fbc371a6ecf1b4e43b5a629015cc0830d8de3
Linux 604326b41a6fb9b4a78b6179335decee0365cd8c <d192cff2a37d59206dabe6ec2e60ceac6271f274
Linux patch: 6.1.183
Linux patch: 5.10.265
Linux 604326b41a6fb9b4a78b6179335decee0365cd8c <90a19b0894ba79a699b48cf44421b36fbd566e99
Linux patch: 6.6.152
Linux patch: 0
Linux patch: 7.2
Linux 604326b41a6fb9b4a78b6179335decee0365cd8c <a76624733730e541e4955fdecf506af2f6b20558
Linux 4.20
Linux patch: 6.12.104
Linux 604326b41a6fb9b4a78b6179335decee0365cd8c <1cec526cf0a2227395f2c2f4b671cb052ff0b00e
Linux 604326b41a6fb9b4a78b6179335decee0365cd8c <4c9d9aa809c261dc0490a0e19d675f7e8e4c85bf
Linux patch: 7.1.9

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 resides in the Linux kernel's eBPF sockmap subsystem (net/ipv4/tcp_bpf.c). BPF sockmaps allow eBPF verdict programs to redirect TCP traffic between sockets using sk_redir pointers managed by psock (per-socket BPF state). The root cause is a TOCTOU (time-of-check to time-of-use) reference counting error: sk_psock_msg_verdict() takes a socket reference for psock->sk_redir, and tcp_bpf_send_verdict() copies that pointer to a stack-local variable while holding the source socket lock - but critically omits sock_hold() on the local copy before calling release_sock(). Once the lock is dropped, a concurrent sendmsg() on the same source socket can legally exhaust apply_bytes, set psock->sk_redir to NULL, and call sock_put(sk_redir), freeing the underlying socket object via RCU. The first thread then passes the now-freed pointer to tcp_bpf_sendmsg_redir(), triggering the use-after-free. Although CWE is not formally assigned in the input data, this maps to CWE-416 (Use After Free) compounded by CWE-362 (Concurrent Execution Using Shared Resource with Improper Synchronization). CPE cpe:2.3:a:linux:linux confirms the Linux kernel as the sole affected software. The fix is to take a temporary sock_hold() on sk_redir while the source socket lock still protects psock->sk_redir, releasing it after tcp_bpf_sendmsg_redir() returns.

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 8.4 HIGH
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Race condition requires precise concurrent timing (AC:H); accessing the vulnerable code path requires local socket access to a BPF sockmap-enrolled socket (PR:L, not PR:N as NVD assigned).

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 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.5 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
CVSS changed
Aug 25, 2026 - 06:22 NVD
8.4 (HIGH)
Patch available
Aug 22, 2026 - 16:32 EUVD
CVE Published
Aug 22, 2026 - 15:31 cve.org
HIGH 8.4
CVE Published
Aug 22, 2026 - 15:31 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

bpf, sockmap: Fix sk_redir use-after-free in send verdict

sk_psock_msg_verdict() takes a socket reference for psock->sk_redir. tcp_bpf_send_verdict() copies that pointer while holding the source socket lock, but does not take a reference for the local copy before dropping the lock around tcp_bpf_sendmsg_redir().

When apply_bytes keeps the cached verdict active, another sendmsg() on the same source socket can consume the remaining bytes and release the cached reference while the first thread still holds only the raw local pointer:

CPU 0 CPU 1 sk_redir = psock->sk_redir apply_bytes remains nonzero release_sock(sk) lock_sock(sk) apply_bytes reaches zero psock->sk_redir = NULL release_sock(sk) tcp_bpf_sendmsg_redir(sk_redir) sock_put(sk_redir) tcp_bpf_sendmsg_redir(sk_redir)

The final sock_put() can free sk_redir before CPU 0 dereferences it.

KASAN reported:

BUG: KASAN: slab-use-after-free in tcp_bpf_sendmsg_redir+0xf39/0x1020 Read of size 8 at addr ffff888108537090 by task poc/87 Call Trace: tcp_bpf_sendmsg_redir+0xf39/0x1020 tcp_bpf_sendmsg+0x977/0x1a50 __sys_sendto+0x32c/0x3a0 __x64_sys_sendto+0xdb/0x1b0 Allocated by task 85: sk_prot_alloc+0x56/0x210 sk_clone+0x6f/0x14b0 inet_csk_clone_lock+0x24/0x740 tcp_create_openreq_child+0x25/0x2710 tcp_v4_syn_recv_sock+0x10a/0xe00 Freed by task 0: __kasan_slab_free+0x43/0x70 slab_free_after_rcu_debug+0xa6/0x1e0 rcu_core+0x50a/0x1850 Last potentially related work creation: __sk_destruct+0x3da/0x540 sk_psock_destroy+0x81e/0xab0 process_one_work+0x63a/0x1070

Take a temporary socket reference while the source socket lock still protects psock->sk_redir, and drop it after tcp_bpf_sendmsg_redir() returns. This keeps each unlocked use independent of cached-verdict ownership.

Executive ViewAI

Why It Matters

CVE-2026-74589, a kernel memory corruption flaw in Linux's BPF sockmap subsystem (CVSS 8.4), creates a local-attack vector that could destabilize infrastructure and expose sensitive data across containerized and cloud environments. Organizations running Kubernetes, serverless platforms, or BPF-based network management tools face elevated architectural risk if systems remain unpatched. Despite current low exploitation probability (EPSS 0.22%), the memory corruption potential and broad deployment footprint across modern cloud infrastructure warrant immediate patching to prevent data breaches and infrastructure outages.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Ubiquitous
Linux kernel underlies the majority of servers, containers, and cloud infrastructure globally
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

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

Attack Technique

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