CVE-2026-43016
kernel: bpf: sockmap: Fix use-after-free of sk->sk_socket in sk_psock_verdict_data_ready()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 1, 2026
Updated · July 2, 2026
Description
A flaw was found in the Linux kernel's BPF (Berkeley Packet Filter) sockmap component. This vulnerability, a use-after-free, occurs due to improper management of AF_UNIX socket objects within the sk_psock_verdict_data_ready() function. A local attacker could exploit this issue by sending specially crafted messages, which may lead to privilege escalation or arbitrary code execution.
Statement
BPF sockmap verdict path could use sk->sk_socket after free during data-ready callbacks. Red Hat recommends patched kernels where BPF traffic steering on sockets is enabled.
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.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-825 · Expired Pointer Dereference