Skip to main content

Linux CVE-2025-38591

MEDIUM
2025-08-19 416baaa9-dc9f-4396-8d5f-8c081fb06d67
5.5
CVSS 3.1 · NVD
View

Vulnerability Assessment

Impact

While the CVSS score of 5.5 (medium severity) reflects the local privilege requirement and lack of confidentiality/integrity impact, the real-world risk is mitigated by several factors but remains actionable. The EPSS score of 0.01% (percentile 2%) indicates extremely low observed exploitation probability in the wild, suggesting this is a theoretical vulnerability discovered through fuzzing (syzkaller) rather than active exploitation. The attack vector is Local (AV:L) with Low complexity (AC:L), and requires Low privileges (PR:L), meaning any unprivileged local user can trigger it—a realistic threat in multi-tenant or shared-host environments. The impact is limited to Availability (A:H), causing denial of service via kernel warnings or crashes rather than privilege escalation or data theft. The patch is already available from the Linux kernel maintainers across multiple stable branches (six commits referenced), indicating rapid vendor response. From an SSVC perspective, this vulnerability has low exploitation maturity (no public POC), is not widely automatable (requires BPF knowledge), and has narrow technical impact (DoS only). The priority for patching is moderate for systems where local user isolation is critical (shared hosting, containers) but lower for dedicated single-user or tightly controlled environments.

Exploit ScenarioDerived

An unprivileged local attacker creates a malicious BPF program using the bpf() syscall that attempts to read a single byte (u8) from offset 169 in the __sk_buff context structure, targeting the sk pointer field at offset 168. The BPF verifier incorrectly permits this narrower-than-expected access during the validation phase, but then fails during the context access conversion step with a kernel warning ("verifier bug: error during ctx access conversion"). This triggers a kernel log warning and potential system instability. On vulnerable systems where BPF is widely accessible (such as those without kernel.unprivileged_bpf_disabled set), an attacker in a shared container or multi-tenant environment could repeatedly trigger this condition to degrade system reliability or cause a kernel panic, resulting in denial of service. The low CVSS complexity and local-only requirement make this a practical denial-of-service vector in environments with user isolation concerns.

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 – Mar 17, 2026

A vulnerability in the Linux kernel's BPF (Berkeley Packet Filter) verifier allows unprivileged local users to trigger a kernel warning and denial of service by performing narrower-than-expected memory access to pointer context fields. The flaw exists in how the verifier handles pointer field access validation in context structures like __sk_buff, where it incorrectly permits sub-byte or misaligned reads that should be rejected. An attacker with local user privileges can craft a malicious BPF program that causes the kernel to emit a verifier warning ("verifier bug: error during ctx access conversion") and potentially crash or destabilize the system, affecting all Linux kernel versions prior to the patched releases.

RemediationAI

Apply the latest kernel patches immediately by upgrading to a kernel version that includes one of the six referenced commits from the Linux kernel stable branches (see https://git.kernel.org/stable for patch details). Distribution maintainers should backport the fixes to all supported kernel versions; check your distribution's security advisories for specific kernel versions (e.g., Ubuntu, Red Hat, Debian) that have incorporated these patches. Until patching is complete, restrict the use of unprivileged BPF program loading by disabling the bpf() syscall for non-root users via the kernel.unprivileged_bpf_disabled sysctl setting (set to 1), or use seccomp/SELinux policies to deny unprivileged BPF access. In containerized environments, enforce kernel.unprivileged_bpf_disabled=1 at the host level and disable BPF capabilities in container security policies. Verify patch application by checking kernel version and examining /proc/version or using uname -r.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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 verifier subsystem, specifically in the functions bpf_skb_is_valid_access() and bpf_convert_ctx_access(). BPF is an in-kernel virtual machine that allows unprivileged user-space programs to run sandboxed code in kernel context. The verifier is responsible for statically analyzing BPF bytecode to ensure memory safety and security. The bug occurs because the verifier permits "narrower" memory loads (reading fewer bytes than the full width of a pointer field) at offset 168 in __sk_buff (the sk field), which should be rejected. When such a narrower load is detected during access conversion, the target_size remains 0 while the offset is aligned, causing a kernel warning rather than a proper error message. This represents a logic flaw in the verifier's context access validation layer rather than a memory corruption vulnerability, but it exposes the kernel to denial of service via malformed BPF programs. The affected CPE is cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* (all Linux kernel versions).

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

2
Patch released
Mar 17, 2026 - 20:45 nvd
Patch available
CVE Published
Aug 19, 2025 - 17:15 nvd
MEDIUM 5.5

DescriptionNVD

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

bpf: Reject narrower access to pointer ctx fields

The following BPF program, simplified from a syzkaller repro, causes a kernel warning:

r0 = *(u8 *)(r1 + 169); exit;

With pointer field sk being at offset 168 in __sk_buff. This access is detected as a narrower read in bpf_skb_is_valid_access because it doesn't match offsetof(struct __sk_buff, sk). It is therefore allowed and later proceeds to bpf_convert_ctx_access. Note that for the "is_narrower_load" case in the convert_ctx_accesses(), the insn->off is aligned, so the cnt may not be 0 because it matches the offsetof(struct __sk_buff, sk) in the bpf_convert_ctx_access. However, the target_size stays 0 and the verifier errors with a kernel warning:

verifier bug: error during ctx access conversion(1)

This patch fixes that to return a proper "invalid bpf_context access off=X size=Y" error on the load instruction.

The same issue affects multiple other fields in context structures that allow narrow access. Some other non-affected fields (for sk_msg, sk_lookup, and sockopt) were also changed to use bpf_ctx_range_ptr for consistency.

Note this syzkaller crash was reported in the "Closes" link below, which used to be about a different bug, fixed in commit fce7bd8e385a ("bpf/verifier: Handle BPF_LOAD_ACQ instructions in insn_def_regno()"). Because syzbot somehow confused the two bugs, the new crash and repro didn't get reported to the mailing list.

Executive ViewAI

Why It Matters

CVE-2025-38591 presents moderate security risk rated CVSS 5.5. Exploitation could compromise the security of affected deployments. A patch is available and should be applied during regular vulnerability management.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Threat Intel
2
1 sources
Data Quality
5 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 Yes
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Low

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.50 Container suse/sl-micro/6.1/base-os-container:2.2.1-5.29 Image SL-Micro Image SL-Micro-Azure Image SL-Micro-BYOS-Azure Image SL-Micro-BYOS-EC2 Image SL-Micro-BYOS-GCE Image SL-Micro-EC2 Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Image SUSE-Multi-Linux-Manager-Proxy-BYOS-Azure Image SUSE-Multi-Linux-Manager-Proxy-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-Azure-llc Image SUSE-Multi-Linux-Manager-Server-Azure-ltd Image SUSE-Multi-Linux-Manager-Server-BYOS-Azure Image SUSE-Multi-Linux-Manager-Server-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Server-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-EC2-llc Image SUSE-Multi-Linux-Manager-Server-EC2-ltd Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.73 Container suse/sl-micro/6.1/kvm-os-container:2.2.1-5.32 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.85 Container suse/sl-micro/6.1/rt-os-container:2.2.1-5.24 Affected
Image SLES-Azure-3P Image SLES-Azure-Basic Image SLES-Azure-Standard Image SLES-BYOS-Azure Image SLES-BYOS-EC2 Image SLES-BYOS-GCE Image SLES-CHOST-BYOS-Aliyun Image SLES-CHOST-BYOS-Azure Image SLES-CHOST-BYOS-EC2 Image SLES-CHOST-BYOS-GCE Image SLES-CHOST-BYOS-GDC Image SLES-CHOST-BYOS-SAP-CCloud Image SLES-EC2 Image SLES-GCE Image SLES-Hardened-BYOS-Azure Image SLES-Hardened-BYOS-EC2 Image SLES-Hardened-BYOS-GCE Image SLES-SAPCAL-Azure Image SLES-SAPCAL-EC2 Image SLES-SAPCAL-GCE Affected
Image SLES-SAP-Azure Image SLES-SAP-Azure-3P Image SLES-SAP-BYOS-Azure Image SLES-SAP-BYOS-EC2 Image SLES-SAP-BYOS-GCE Image SLES-SAP-GCE Affected

Threat IntelligenceMISP

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

References

Advisories & patches
PATCH https://git.kernel.org/stable/c/058a0da4f6d916a79b693384111bb80a90d73763 PATCH https://git.kernel.org/stable/c/202900ceeef67458c964c2af6e1427c8e533ea7c PATCH https://git.kernel.org/stable/c/33660d44e789edb4f303210c813fc56d56377a90 PATCH https://git.kernel.org/stable/c/7847c4140e06f6e87229faae22cc38525334c156 PATCH https://git.kernel.org/stable/c/e09299225d5ba3916c91ef70565f7d2187e4cca0 PATCH https://git.kernel.org/stable/c/feae34c992eb7191862fb1594c704fbbf650fef8 ADVISORY https://ubuntu.com/security/notices/USN-8162-1 ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03272/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03290/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03301/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03382/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03602/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03633/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:03634/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20653/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20669/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20739/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20756/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20994/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20996/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21074/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21139/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21179/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0473/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20310/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20331/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20560/ REF https://cert-portal.siemens.com/productcert/html/ssa-019113.html REF https://cert-portal.siemens.com/productcert/html/ssa-457936.html REF https://git.kernel.org/stable/c/e2e9599f3503df7cf3569d2b6c50d5488fb59435

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