CVE Database›Document archive›CVE-2025-38591

CVE-2025-38591

kernel: Linux kernel: Denial of Service in BPF due to improper context access

Loading…

Severity

Low

Red Hat Product Security

4.4

CVSS 3.1

Review impact separately from score.

Published · August 19, 2025

Updated · June 30, 2026

Description

A flaw was found in the Linux kernel's Berkeley Packet Filter (BPF) subsystem. A local attacker can exploit this by crafting a malicious BPF program that attempts to access pointer context fields with an improperly narrow read. This improper access can lead to a verifier bug, causing a kernel warning and ultimately resulting in a Denial of Service (DoS) for the system.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To mitigate this issue, restrict the use of unprivileged BPF programs. This can be achieved by setting the kernel.unprivileged_bpf_disabled sysctl parameter to 1. This change may impact applications that rely on unprivileged BPF. A system reboot or service reload may be required for the changes to take full effect.

CVSS / CWE

CVSS 3.1 · 4.4
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

CWE-805 · Buffer Access with Incorrect Length Value