Use-after-free in Linux kernel - CVE-2026-139294
Published: December 2, 2026
Vulnerability details
The vulnerability allows a local privileged user to potentially cause a denial of service by crashing the kernel.
The vulnerability exists due to a use-after-free in bpf_prog_test_run_sk_lookup() when the kernel reads the selected socket's reuseport flag or generates its cookie after leaving the read-copy-update (RCU) read-side critical section. A local privileged user can trigger access to a freed socket, potentially causing a kernel crash.
Affected software
How to mitigate CVE-2026-139294
External References
- https://git.kernel.org/stable/c/4588284c6c25732e2411e0630c42cbbedfbb866b
- https://git.kernel.org/stable/c/6aff0129f327b159c86a54e6bea64a027630ff6b
- https://git.kernel.org/stable/c/8b460e65da1f63423a8e96ae5831dca448c13d89
- https://git.kernel.org/stable/c/8b71f8bf8e26e244e3a83d0822b3901f8e083353
- https://git.kernel.org/stable/c/ccf05077a60dbadd2947084b2d97289a1fb18a65
- https://git.kernel.org/stable/c/e1d83cf6d3fcc70189a82be21e68b8164660670c