Skip to main content

Linux Kernel CVE-2026-45839

| EUVDEUVD-2026-32165 HIGH
Improper Validation of Array Index (CWE-129)
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-hj8v-m57h-q9mq
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain local access with CAP_BPF
  2. Delivery
    Craft BPF program with negative CO-RE accessor
  3. Exploit
    Call bpf_prog_load() to invoke verifier
  4. Execution
    Parser casts -1 to 0xffffffff index
  5. Persist
    Out-of-bounds read past BTF members array
  6. Impact
    Kernel page fault and panic (DoS)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
Exploitation Conditions

Exploitation requires local code execution holding the CAP_BPF capability (PR:L) to reach BPF_PROG_LOAD, and the target kernel must be built with CONFIG_DEBUG_INFO_BTF=y so that vmlinux BTF is present - this is the default on major distributions, so it is not a meaningful limiter in practice. The concrete trigger is a BPF program containing a CO-RE relocation whose accessor string includes a negative index (e.g. '-1') referencing any struct present in vmlinux BTF such as task_struct. Limiting factors that reduce real-world risk: the attack is local-only (AV:L, no remote/network reachability), it requires the non-default-for-untrusted CAP_BPF privilege, and the demonstrated outcome is a kernel crash (DoS) rather than confirmed code execution or data disclosure. Hardened systems that set kernel.unprivileged_bpf_disabled and withhold CAP_BPF from untrusted workloads are not exposed.

Impact

The provided CVSS 3.1 vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H yields 7.8 (High), but the High confidentiality/integrity ratings appear optimistic for what the description characterizes as a deterministic out-of-bounds read causing a kernel oops - the demonstrated and primary impact is availability (system crash/DoS), not data theft or code execution. EPSS is 0.01% (4th percentile), the CVE is NOT in CISA KEV, and no public weaponized exploit is identified, consistent with a local-only, privilege-gated bug rather than a mass-exploitation candidate. The realistic priority is moderate: exploitation requires local access plus the CAP_BPF capability (PR:L), which limits the threat to scenarios where untrusted code can load BPF programs (containers/sandboxes granting CAP_BPF, or multi-tenant hosts). Note a signal tension worth flagging: the input tags this as 'Buffer Overflow' but the actual mechanism per the description and CWE-129 is an out-of-bounds array read from an unvalidated negative index, not a classic overflow - treat the tag as approximate. Bottom line: a genuine reliability/DoS bug for systems exposing CAP_BPF to untrusted principals, but low likelihood of opportunistic exploitation.

Exploit ScenarioDerived

An attacker who has obtained CAP_BPF inside a container or on a multi-tenant host (or a compromised low-privilege service granted BPF access) crafts a small BPF program embedding a CO-RE relocation with a negative accessor index such as '-1' against a type guaranteed to exist in vmlinux BTF (e.g. task_struct). On calling bpf_prog_load(), the verifier processes the relocation, dereferences far past the members array, and the kernel panics with a page fault - a reliable, repeatable denial of service. No public exploit is identified, but the published oops backtrace effectively documents a working crash reproducer.

This Week Schedule remediation this week. Why: Active threat signals + CRITICAL/HIGH severity.
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 26, 2026

Local denial of service in the Linux kernel's BPF CO-RE relocation parser allows a process holding CAP_BPF to deterministically crash the system by loading a BPF program with a negative CO-RE accessor index. The flaw stems from bpf_core_parse_spec() in the libbpf relocation core accepting negative values from sscanf("%d") that bypass upper-bound checks due to integer promotion, ultimately driving an out-of-bounds read past the BTF members array. EPSS is negligible (0.01%) and there is no public exploit identified at time of analysis; a kernel oops backtrace is published in the changelog but it serves as a crash reproducer rather than a weaponized exploit.

RemediationAI

Apply the vendor-released stable kernel update containing the fix: upgrade to 6.6.141, 6.12.91, 6.18.33, 7.0.10, or 7.1-rc1 (or later within each series) as published via the kernel.org stable commits (https://git.kernel.org/stable/c/1c22483a2c4bbf747787f328392ca3e68619c4dc and the related backport commits), and consume the corresponding fixed package from your distribution. The fix adds an explicit rejection of negative CO-RE accessor indices immediately after parsing in bpf_core_parse_spec(). Where the kernel cannot be patched immediately, the most effective compensating control is to remove the attack surface: revoke CAP_BPF from untrusted processes and containers, and tighten kernel.unprivileged_bpf_disabled (sysctl) so non-privileged users cannot load BPF programs - the side effect is that legitimate BPF-using tooling (observability agents, eBPF networking, some container runtimes) loses the ability to load programs. As a deeper but more disruptive option, building the kernel without CONFIG_DEBUG_INFO_BTF removes the vmlinux BTF the trigger relies on, at the cost of breaking CO-RE-based eBPF tooling entirely; this is generally not advisable on production observability hosts.

Affected VersionsENISA

Linux ddc7c3042614e273044f698d2beab25cc3842d45 <99dbab7b5a12d8f58d5b0aa2f7a1fe656a70f4b2
Linux ddc7c3042614e273044f698d2beab25cc3842d45 <1c22483a2c4bbf747787f328392ca3e68619c4dc
Linux ddc7c3042614e273044f698d2beab25cc3842d45 <36a9012f76ba8d9189ae56a1f8bb7c87c07a1f3a
Linux 5.4
Linux ddc7c3042614e273044f698d2beab25cc3842d45 <3ff85ae79e1a74baeb916b78a63d821f6d19a994
Linux patch: 6.12.91
Linux patch: 6.18.33
Linux patch: 0
Linux patch: 7.0.10
Linux ddc7c3042614e273044f698d2beab25cc3842d45 <76f2ebaf79a9ae6d0737b87f045fe769e425d78f
Linux patch: 7.1-rc1
Linux patch: 6.6.141

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 lives in the kernel's BPF subsystem, specifically the CO-RE (Compile Once - Run Everywhere) relocation logic shared with libbpf's relo_core.c, invoked during BPF_PROG_LOAD via bpf_core_apply() -> bpf_core_calc_relo_insn() -> bpf_core_parse_spec(). CO-RE accessor strings are colon-separated indices (e.g. '0:1:2') describing a path from a root BTF type to a target field across nested struct members. The root cause maps to CWE-129 (Improper Validation of Array Index): each component is parsed with sscanf("%d"), so a negative value such as -1 is accepted, and the only guard (access_idx >= btf_vlen(t)) fails to catch it because the __u16 result of btf_vlen is promoted to int, making (int)(-1) >= (int)(N) false for any positive N. The negative index then propagates into btf_member_bit_offset() where it is cast to u32 0xffffffff, indexing far outside the members array. The condition requires CONFIG_DEBUG_INFO_BTF=y (vmlinux BTF), which is the default on major distributions, so any struct present in vmlinux BTF such as task_struct is a viable trigger target.

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

NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.5 MEDIUM

Local CAP_BPF caller (AV:L/PR:L), deterministic trigger (AC:L); demonstrated impact is a kernel crash so A:H with C/I:N absent evidence of disclosure or write.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
CVE Published
Jun 26, 2026 - 19:25 cve.org
HIGH 7.8
CVSS changed
Jun 26, 2026 - 19:22 NVD
7.8 (HIGH)
Patch available
May 27, 2026 - 19:46 EUVD
CVE Published
May 27, 2026 - 11:16 nvd
UNKNOWN (no severity yet)

DescriptionNVD

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

bpf: reject negative CO-RE accessor indices in bpf_core_parse_spec()

CO-RE accessor strings are colon-separated indices that describe a path from a root BTF type to a target field, e.g. "0:1:2" walks through nested struct members. bpf_core_parse_spec() parses each component with sscanf("%d"), so negative values like -1 are silently accepted. The subsequent bounds checks (access_idx >= btf_vlen(t)) only guard the upper bound and always pass for negative values because C integer promotion converts the __u16 btf_vlen result to int, making the comparison (int)(-1) >= (int)(N) false for any positive N.

When -1 reaches btf_member_bit_offset() it gets cast to u32 0xffffffff, producing an out-of-bounds read far past the members array. A crafted BPF program with a negative CO-RE accessor on any struct that exists in vmlinux BTF (e.g. task_struct) crashes the kernel deterministically during BPF_PROG_LOAD on any system with CONFIG_DEBUG_INFO_BTF=y (default on major distributions). The bug is reachable with CAP_BPF:

BUG: unable to handle page fault for address: ffffed11818b6626 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page Oops: Oops: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 85 Comm: poc Not tainted 7.0.0-rc6 #18 PREEMPT(full) RIP: 0010:bpf_core_parse_spec (tools/lib/bpf/relo_core.c:354) RAX: 00000000ffffffff Call Trace: <TASK> bpf_core_calc_relo_insn (tools/lib/bpf/relo_core.c:1321) bpf_core_apply (kernel/bpf/btf.c:9507) check_core_relo (kernel/bpf/verifier.c:19475) bpf_check (kernel/bpf/verifier.c:26031) bpf_prog_load (kernel/bpf/syscall.c:3089) __sys_bpf (kernel/bpf/syscall.c:6228) </TASK>

CO-RE accessor indices are inherently non-negative (struct member index, array element index, or enumerator index), so reject them immediately after parsing.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Prevalence
Ubiquitous
Linux kernel runs on a huge fraction of servers, cloud, and devices
Threat Intel
1
1 sources
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.0%
Patch available Yes
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
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· derived
High

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
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

Threat IntelligenceMISP

CISA Advisories
Sources: Microsoft MSRC, CISA (public domain)

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