CVE Database›Document archive›CVE-2026-31526

CVE-2026-31526

kernel: bpf: Fix exception exit lock checking for subprogs

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · April 22, 2026

Updated · June 28, 2026

Description

A flaw was found in the Linux kernel's Berkeley Packet Filter (BPF) subsystem. When an exception occurs during the execution of a BPF subprogram, the system may fail to release user-acquired locks. This oversight can lead to resource leaks and system instability, potentially resulting in a Denial of Service (DoS) condition.

Statement

Verifier now enforces lock leak checks on bpf_throw() exception exits from subprograms, matching real unwind behavior. Red Hat notes impact is confined to verified BPF programs that use exceptions with RCU/preempt/irq state; typical production programs should fail verification until fixed. Ship via kernel errata.

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

No mitigation is specified in collected source.

CVSS / CWE

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

CWE-772 · Missing Release of Resource after Effective Lifetime