Use-after-free in Linux kernel - CVE-2026-74257
Published: August 15, 2026
Vulnerability details
The vulnerability allows a local user to cause a denial of service.
The vulnerability exists due to a use-after-free in udp_bpf_recvmsg() when processing concurrent recvmsg operations on BPF-enabled UDP sockets. A local user can trigger concurrent socket receive operations to cause a denial of service.
The issue arises because sk_msg_recvmsg() accesses an ingress message under a lock but processes it without serialization, allowing multiple threads to touch the same sk_msg.
Affected software
Ubuntu
linux-gcp-7.0 (Ubuntu package)
linux-azure-7.0 (Ubuntu package)
How to mitigate CVE-2026-74257
linux-gcp-7.0 (Ubuntu package) - addressed in versions 7.0.0-38.38~24.04.4, 7.0.0-1013.13~24.04.1, 7.0.0-1014.14~24.04.1
linux-azure-7.0 (Ubuntu package) - addressed in versions 7.0.0-1016.16~24.04.1, 7.0.0-1017.17~24.04.1