Skip to main content

Linux Kernel EUVDEUVD-2026-32393

| CVE-2026-45927 MEDIUM
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-mx29-fw97-m6gr
4.7
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain local low-privilege shell
  2. Delivery
    Create BPF map with benign contents
  3. Exploit
    Call BPF_OBJ_GET_INFO_BY_FD to cache hash
  4. Execution
    Modify map contents in race window
  5. Persist
    Freeze map
  6. Impact
    Trusted loader verifies stale hash, loads tampered map

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
Exploitation Conditions

Exploitation requires a local user account with sufficient privileges to invoke BPF syscalls - on most Linux distributions this means either CAP_BPF or CAP_SYS_ADMIN, or a kernel compiled with unprivileged BPF enabled (CONFIG_BPF_SYSCALL with no privilege requirement). The vulnerability is only impactful in environments that operate a trusted BPF loader that verifies map hashes before loading - without such a loader, there is no trust decision to subvert. Exploitation additionally requires successful timing of a race condition between the hash-caching call and the map freeze, which is classified AC:H and limits opportunistic or automated exploitation. The following conditions limit exposure: environments with unprivileged BPF disabled (the default on many hardened distributions such as Ubuntu with kernel.unprivileged_bpf_disabled=1), absence of a hash-verifying trusted loader component, and kernel versions already patched to 6.19.4 or 6.18.14.

Impact

The published CVSS 3.1 score of 4.7 (AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H) contains an apparent metric mismatch: the vector records Availability:High and Integrity:None, but the vulnerability description clearly describes an integrity bypass - a trusted loader accepting modified BPF map contents. There is no mechanism described by which availability is impacted. This discrepancy means the published score may understate or mischaracterize the actual impact; defenders should not rely on it uncritically. EPSS is 0.02% (4th percentile), and the CVE is not in CISA KEV, indicating no public exploit code has been identified at time of analysis. However, EPSS low scores are common for kernel TOCTOU bugs regardless of impact, since exploitation requires precise race-window timing (AC:H) and local access with BPF-capable privileges. The attack's real-world impact hinges on whether a target environment uses a BPF trusted-loader architecture (e.g., systemd with BPF map pinning, eBPF-based security tooling, or custom loader pipelines). In the absence of such a loader, the practical impact is negligible. The AC:H constraint - requiring correct timing in the race window - further limits opportunistic exploitation.

Exploit ScenarioDerived

A local attacker with a low-privileged account capable of creating BPF maps calls BPF_OBJ_GET_INFO_BY_FD to cause the kernel to compute and cache the hash of an unmodified BPF map. The attacker then races to modify the map's contents before calling the freeze operation. A trusted loader component - such as an eBPF security agent or signed BPF loader - subsequently reads the cached hash, finds it matches the expected signature, and loads the now-modified map contents believing them to be verified. No public exploit code has been identified at time of analysis, and the AC:H race condition adds meaningful practical complexity.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
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 25, 2026

BPF map hash verification in the Linux kernel is vulnerable to a TOCTOU race condition that allows a local low-privileged attacker to bypass integrity checks enforced by trusted BPF loaders. Userspace can call BPF_OBJ_GET_INFO_BY_FD to prime the hash cache, then modify the map contents in the race window before freezing it, causing a trusted loader to verify the original (stale) hash against the silently-altered map. No active exploitation is confirmed (not in CISA KEV) and EPSS is 0.02%, but the attack's integrity impact appears understated by the published CVSS vector, which records A:H/I:N - inconsistent with a hash-bypass that enables modified code/data to be loaded as trusted.

RemediationAI

The primary fix is to upgrade to Linux kernel 6.19.4 or 6.18.14 (or later), which contain the upstream patch enforcing that BPF map hash computation is gated on the frozen state of the map. Patch commits are available at the kernel.org stable tree links referenced in this CVE. For environments that cannot immediately patch, a targeted workaround is to restrict access to the BPF_OBJ_GET_INFO_BY_FD syscall command for unprivileged users via seccomp profiles or BPF LSM policy, effectively requiring CAP_SYS_ADMIN or CAP_BPF for any BPF map introspection. Note that this workaround may break legitimate BPF-based observability tooling that runs as non-root. Environments not using trusted BPF loader pipelines for integrity verification are not exposed to the meaningful impact of this bug and can treat it as lower priority pending a routine kernel maintenance update.

Affected VersionsENISA

Linux patch: 6.19.4
Linux patch: 0
Linux ea2e6467ac36bf3d785defc89e58269b15d182f7 <a2c86aa621c22f2a7e26c654f936d65cfff0aa91
Linux ea2e6467ac36bf3d785defc89e58269b15d182f7 <f415e114b58fe02c41191e47f24bdabb438daf72
Linux patch: 7.0
Linux ea2e6467ac36bf3d785defc89e58269b15d182f7 <7752d36343862323bbeea4ce3adf0ec2ed86e122
Linux 6.18
Linux patch: 6.18.14

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 (Berkeley Packet Filter) subsystem, specifically in the bpf_map_get_info_by_fd() path exposed via the BPF_OBJ_GET_INFO_BY_FD syscall command. BPF maps are kernel data structures used to share state between BPF programs and userspace; a freeze operation makes them immutable. A trusted loader workflow computes a hash of a frozen map to cryptographically bind the map's contents to a signature. CWE-367 (TOCTOU Race Condition) applies: the hash is computed and cached by the kernel before the map is frozen, leaving a window in which userspace can alter map contents. The root cause is that bpf_map_get_info_by_fd() does not gate hash computation on the map's frozen state. Affected CPE: cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* for kernel versions prior to the fix commits. The fix enforces that hash computation returns -EPERM unless the map is already frozen, eliminating the race window.

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

Local vector for BPF syscall access; AC:H for race timing; PR:L for CAP_BPF; I:H reflects integrity bypass of trusted hash verification; A:N as no availability mechanism is described.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

3
CVSS changed
Jun 25, 2026 - 12:52 NVD
4.7 (MEDIUM)
Patch available
May 27, 2026 - 19:46 EUVD
CVE Published
May 27, 2026 - 14:17 nvd
UNKNOWN (no severity yet)

DescriptionNVD

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

bpf: Require frozen map for calculating map hash

Currently, bpf_map_get_info_by_fd calculates and caches the hash of the map regardless of the map's frozen state.

This leads to a TOCTOU bug where userspace can call BPF_OBJ_GET_INFO_BY_FD to cache the hash and then modify the map contents before freezing.

Therefore, a trusted loader can be tricked into verifying the stale hash while loading the modified contents.

Fix this by returning -EPERM if the map is not frozen when the hash is requested. This ensures the hash is only generated for the final, immutable state of the map.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Prevalence
Ubiquitous
Linux kernel runs the majority of servers, cloud, and embedded systems worldwide
Data Quality
4 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
High

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
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 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
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected

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