Skip to main content

Linux Kernel CVE-2026-64575

| EUVDEUVD-2026-53269 HIGH
Use After Free (CWE-416)
2026-08-05 Linux GHSA-f2rf-qgfg-8rxx
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    Obtain local shell with CAP_BPF capability
  2. Delivery
    Open BPF TCP iterator via bpf_seq_read
  3. Exploit
    Induce kernel memory pressure
  4. Install
    Trigger GFP_ATOMIC realloc failure in bpf_iter_tcp_batch
  5. C2
    First put_batch frees sockets, writes cookies to slots
  6. Execute
    seq_stop calls put_batch again on cookie-filled slots
  7. Impact
    Kernel dereferences cookie as sock pointer
  8. Step 8
    Kernel panic or code execution

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 local access to the target system (AV:L) with at minimum low-privilege credentials (PR:L). The attacker must additionally hold CAP_BPF or CAP_NET_ADMIN capability (or equivalent) in their user namespace to create and read a BPF TCP iterator file descriptor - this is the key gating condition not captured by PR:L alone, and on most hardened deployments these capabilities are not granted to unprivileged users or containers by default. The vulnerable code path is only reached when a GFP_ATOMIC memory reallocation for the batch array fails inside bpf_iter_tcp_batch(), meaning the attacker must be able to create kernel memory pressure conditions coinciding with iterator reads. The sibling GFP_NOWAIT failure path in the same function is NOT vulnerable and is unaffected by this fix. User interaction is not required (UI:N). There is no network-facing exposure - remote unauthenticated exploitation is not possible.

Impact

CVSS 3.1 score of 7.8 (High) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H reflects serious local privilege escalation potential, but real-world risk is moderated by several factors. The attack vector is strictly local (AV:L), requiring physical or shell access to the target system. PR:L indicates low-privilege access is sufficient, but exploitation also requires the ability to create BPF TCP iterators, which on most hardened Linux deployments demands CAP_BPF or CAP_NET_ADMIN - capabilities not granted to arbitrary local users by default. Additionally, triggering the vulnerable GFP_ATOMIC realloc failure path requires inducing memory pressure, which adds practical complexity (AC:L in CVSS may be somewhat optimistic for reliable exploitation). EPSS at 0.15% (5th percentile) is consistent with no known active exploitation. The vulnerability is not listed in CISA KEV. The KASAN trace in the description names the triggering task 'exploit', suggesting the reporter used a PoC to confirm the crash, though no public exploit is confirmed from available data. The primary observable impact is a kernel panic (denial of service); privilege escalation to root is theoretically possible if the corrupted memory state can be controlled rather than merely crashing, but this is not confirmed. For environments running containers or multi-tenant Linux hosts where low-privilege shell access exists, this warrants prompt patching.

Exploit ScenarioDerived

A local attacker with a shell account on a multi-tenant Linux host (e.g., a container escape pivot, a compromised service account) and CAP_BPF or CAP_NET_ADMIN creates a BPF TCP iterator and reads from it while the system is under memory pressure sufficient to cause a GFP_ATOMIC realloc failure in bpf_iter_tcp_batch(). The double-release dereferences a stale cookie integer as a struct sock pointer, triggering a kernel panic that crashes the host - achieving a denial of service against all tenants. A more sophisticated attacker might attempt to heap-spray the kernel to control the memory at the cookie address value, potentially escalating to arbitrary kernel code execution, though this controlled-exploitation scenario is not confirmed from available data.

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

Double-release memory corruption in the Linux kernel's BPF TCP iterator (bpf_iter_tcp_batch) allows a local low-privileged user with BPF iterator access to trigger a kernel panic. When batch reallocation fails, the first bpf_iter_tcp_put_batch() call frees socket references and overwrites batch slots with socket cookies; if realloc then fails, the iterator's stop routine executes a second put_batch() and dereferences those cookie integer values as struct sock pointers, causing a KASAN-detected null-pointer dereference and kernel panic. No public exploit identified at time of analysis; EPSS is 0.15% (5th percentile), indicating low current automated exploitation probability.

RemediationAI

Upgrade to Linux kernel 6.18.42 or 7.1.6 for stable-branch users, or apply 7.2-rc5 if tracking the mainline development branch. The upstream fix empties the batch array on the GFP_ATOMIC realloc failure path so that bpf_iter_tcp_seq_stop() does not attempt a second release of already-freed slots; the GFP_NOWAIT failure path is correctly left for stop() to handle as it still holds live socket references. Patch commits are available directly at kernel.org/stable (see references above). If immediate kernel upgrade is not possible, a compensating control is to restrict access to BPF iterator functionality by revoking or not granting CAP_BPF and CAP_NET_ADMIN to unprivileged users and containers - this prevents non-root users from creating the TCP iterator file descriptor needed to trigger the path. Additionally, setting kernel.unprivileged_bpf_disabled=1 via sysctl blocks unprivileged BPF program loading on kernels that support it, reducing the attack surface. Note that disabling BPF capabilities may impact observability tooling (e.g., bpftrace, eBPF-based monitoring agents) running on the host.

Affected VersionsENISA

Linux cdec67a489d4fdae3e83e04fca0419136a83c4c2 <9f27c4f0ae35b5390ce4f7a54d3501144e41a54d
Linux cdec67a489d4fdae3e83e04fca0419136a83c4c2 <980a813452754f8001704744e92f7aa697c53dd3
Linux patch: 7.2-rc5
Linux patch: 0
Linux cdec67a489d4fdae3e83e04fca0419136a83c4c2 <8a726e9585ffe7bfbfad2b5279277a00973970f3
Linux 6.17
Linux patch: 6.18.42
Linux patch: 7.1.6

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 BPF TCP iterator subsystem, specifically bpf_iter_tcp_batch() in net/ipv4/tcp_ipv4.c. The BPF iterator framework allows userspace to iterate kernel data structures (here, TCP sockets) via read() on a BPF iterator file descriptor. The batch mechanism holds references to live struct sock objects. The bug is a classic use-after-free / double-free pattern: bpf_iter_tcp_put_batch() drops socket references and rewrites each batch slot with the socket's cookie (a plain integer), then bpf_iter_tcp_batch() attempts to grow the batch allocation. On GFP_ATOMIC realloc failure, the function returns ERR_PTR() immediately, leaving the iterator state with cur_sk < end_sk pointing to slots that now contain cookie integers. bpf_iter_tcp_seq_stop() subsequently calls bpf_iter_tcp_put_batch() again, which passes those integer cookie values to __sock_gen_cookie() as if they were struct sock pointers - dereferencing address 0x59 (the cookie value), causing the kernel panic. The KASAN trace confirms the null-ptr-deref at net/core/sock_diag.c:28. No formal CWE is assigned, but this maps to CWE-415 (Double Free) with a use-after-free impact pattern. Affected CPEs: cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*.

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

Local vector confirmed; AC raised to H because triggering GFP_ATOMIC realloc failure requires controlled memory pressure, making reliable exploitation non-trivial; PR:L retained as low-privilege shell plus capability is sufficient.

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 4.4 MEDIUM
AV:L/AC:L/PR:H/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
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Aug 08, 2026 - 15:22 NVD
7.8 (HIGH)
Patch available
Aug 05, 2026 - 09:01 EUVD
CVE Published
Aug 05, 2026 - 08:09 cve.org
HIGH 7.8
CVE Published
Aug 05, 2026 - 08:09 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

bpf: tcp: fix double sock release on batch realloc

bpf_iter_tcp_batch() releases the current batch via bpf_iter_tcp_put_batch(), which drops the socket refs and rewrites each slot with the socket cookie, then grows the batch. cur_sk/end_sk are kept for bpf_iter_tcp_resume(), but on realloc failure the function returns ERR_PTR() before resume runs, leaving cur_sk < end_sk over slots that now hold cookies rather than sock pointers. bpf_iter_tcp_seq_stop() then calls bpf_iter_tcp_put_batch() again and dereferences a cookie as a struct sock.

Empty the batch on the failure path so stop() does not release it again. The sockets were already freed by the first bpf_iter_tcp_put_batch(), so nothing leaks, and a later read() rescans the bucket from the start instead of skipping it. The sibling GFP_NOWAIT failure path still holds real socket references and is left for stop() to release.

BUG: KASAN: null-ptr-deref in __sock_gen_cookie Read of size 8 at addr 0000000000000059 by task exploit ... __sock_gen_cookie (net/core/sock_diag.c:28) bpf_iter_tcp_put_batch (net/ipv4/tcp_ipv4.c:2918) bpf_iter_tcp_seq_stop (net/ipv4/tcp_ipv4.c:3270) bpf_seq_read (kernel/bpf/bpf_iter.c:205) vfs_read (fs/read_write.c:572) ksys_read (fs/read_write.c:716) do_syscall_64 entry_SYSCALL_64_after_hwframe Kernel panic - not syncing: Fatal exception

Executive ViewAI

Why It Matters

A memory corruption vulnerability (CVE-2026-64575) in the Linux kernel's BPF TCP iterator allows low-privileged users with BPF access to trigger kernel panics, creating denial-of-service risk for production systems. While no public exploit exists and exploitation probability is currently low (EPSS 0.2%), the HIGH severity rating and availability impact require rapid patching to prevent potential outages.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Ubiquitous
Linux kernel underpins virtually all cloud, server, and embedded deployments
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
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected

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