CVE-2026-139177

Description

A flaw was found in the Linux kernel's sched_ext subsystem. Certain Extended Berkeley Packet Filter (eBPF) tracing programs are permitted to invoke scheduling helper functions within execution contexts that already hold an internal scheduler lock. A local user with permissions to attach BPF programs could exploit this flaw to trigger a recursive locking deadlock during task switching, resulting in a system freeze and Denial of Service (DoS).

Statement

This vulnerability is rated as having Moderate impact for Red Hat Enterprise Linux because exploitation requires elevated administrative privileges to load and attach custom BPF programs. The sched_ext subsystem is not enabled in standard production enterprise kernels, and triggering the condition demands running both an active extensible scheduler and an instrumented tracing hook simultaneously. Consequently, unprivileged users cannot trigger this recursive lockup, and exploitation is constrained to a local denial of service without exposing sensitive information or permitting arbitrary code execution.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score4.4N/AN/A
Attack VectorLocalN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredHighN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/A

Vector

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

Understanding the Weakness (CWE)

Availability,Integrity

Technical Impact: DoS: Resource Consumption (CPU); DoS: Crash, Exit, or Restart; Unexpected State

When a product is operating in a concurrent environment and repeatedly locks a critical resource, the consequences will vary based on the type of lock, the lock's implementation, and the resource being protected. In some situations such as with semaphores, the resources are pooled and extra locking calls will reduce the size of the total available pool, possibly leading to degraded performance or a denial of service. If this can be triggered by an attacker, it will be similar to an unrestricted lock (CWE-412). In the context of a binary lock, it is likely that any duplicate locking attempts will never succeed, since the lock is already held and progress may not be possible.

Frequently Asked Questions

Want to get errata notifications? Sign up here.