CVE Database›Document archive›CVE-2026-68399

CVE-2026-68399

kernel: bpf: Fix UAF in sock clone early bailouts

Loading…

Severity

Moderate

Red Hat Product Security

6.4

CVSS 3.1

Review impact separately from score.

Published · August 10, 2026

Updated · October 30, 2026

Description

A flaw was found in the Linux kernel's Berkeley Packet Filter (BPF) component, specifically within the socket cloning mechanism. When a new socket is created and its cloning process fails prematurely, the new socket's BPF local storage may incorrectly reference the parent socket's storage. This can lead to a Use-After-Free (UAF) vulnerability, where the parent socket's BPF local storage is deallocated while still in use. An attacker could potentially exploit this to cause a system crash (denial of service) or achieve arbitrary code execution.

Statement

This flaw is rated as Moderate severity because exploitation requires local access, elevated privileges to configure BPF socket storage, and specific, uncommon failure conditions during socket replication. In typical Red Hat Enterprise Linux environments, unprivileged users cannot load or attach BPF programs by default, significantly limiting exposure to trusted administrative processes. While triggering premature cleanup during socket cloning can corrupt parent socket memory and destabilize the kernel, the high prerequisite privileges and narrow execution window make remote or unauthorized exploitation infeasible.

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 · 6.4
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

CWE-825 · Expired Pointer Dereference