CVE-2026-139313
Description
A flaw was found in the Linux kernel. In the Berkeley Packet Filter (BPF) subsystem, cloned socket storage elements are linked before the new socket's reference counter is properly initialized. A local user can exploit this timing flaw through BPF programs during socket cloning to access an uninitialized socket, causing the socket to be freed prematurely and triggering a use-after-free condition. This vulnerability primarily results in a Denial of Service (DoS) by crashing the system, with a potential risk of memory corruption.
Statement
This vulnerability is rated as Moderate impact on Red Hat Enterprise Linux because exploitation requires a local attacker with elevated privileges (such as CAP_BPF or CAP_SYS_ADMIN) to load and execute BPF programs. Default system configurations prevent unprivileged users from interacting directly with BPF program attachment and socket storage maps. Furthermore, triggering the race condition during socket cloning requires precise timing, limiting the practical impact to a local kernel crash and denial of service.
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 Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 4.1 | N/A | N/A |
| Attack Vector | Local | N/A | N/A |
| Attack Complexity | High | N/A | N/A |
| Privileges Required | High | N/A | N/A |
| User Interaction | None | N/A | N/A |
| Scope | Unchanged | N/A | N/A |
| Confidentiality | None | N/A | N/A |
| Integrity Impact | None | N/A | N/A |
| Availability Impact | High | N/A | N/A |
Vector
Red Hat: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
Understanding the Weakness (CWE)
Confidentiality
Technical Impact: Read Memory
If the expired pointer is used in a read operation, an attacker might be able to control data read in by the application.
Availability
Technical Impact: DoS: Crash, Exit, or Restart
If the expired pointer references a memory location that is not accessible to the product, or points to a location that is "malformed" (such as NULL) or larger than expected by a read or write operation, then a crash may occur.
Integrity,Confidentiality,Availability
Technical Impact: Execute Unauthorized Code or Commands
If the expired pointer is used in a function call, or points to unexpected data in a write operation, then code execution may be possible.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.