CVE Database›CVE-2026-23319

CVE-2026-23319

kernel: bpf: Fix a UAF issue in bpf_trampoline_link_cgroup_shim

Loading…

Severity

Moderate

Red Hat Product Security

6.4

CVSS 3.1

Review impact separately from score.

Published · March 25, 2026

Updated · June 28, 2026

Description

A flaw was found in the Linux kernel's Berkeley Packet Filter (BPF) component. This use-after-free (UAF) vulnerability allows a local user to trigger a condition in the bpf_trampoline_link_cgroup_shim function where a resource is freed but still referenced. This can lead to a system crash, resulting in a denial of service, or potentially enable privilege escalation.

Statement

This flaw affects systems using BPF with cgroup trampolines. The race condition occurs between bpf_link_put() releasing a shim link and another process looking it up via cgroup_shim_find(). The deferred cleanup of tr->progs_hlist creates a window for use-after-free. Exploitation requires BPF privileges and concurrent operations on cgroup BPF programs. Actual only for ARM platform.

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