{"id":"CVE-2026-139294","aliases":["CVE-2026-139294"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Use the socket of a sk_lookup test run under RCU","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Use the socket of a sk_lookup test run under RCU\n\nbpf_sk_lookup_assign() accepts only sockets which are freed by RCU, and\ntakes no reference. bpf_prog_test_run_sk_lookup() looks at sk_reuseport of\nthe selected socket and generates its cookie, which is a write, behind\nbpf_test_timer_leave(), that is outside of the RCU read side critical\nsection in which the program ran. If the socket is closed in the meantime\nit may be gone.\n\nDo both before the section ends.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Use the socket of a sk_lookup test run under RCU\n\nbpf_sk_lookup_assign() accepts only sockets which are freed by RCU, and\ntakes no reference. bpf_prog_test_run_sk_lookup() looks at sk_reuseport of\nthe selected socket and generates its cookie, which is a write, behind\nbpf_test_timer_leave(), that is outside of the RCU read side critical\nsection in which the program ran. If the socket is closed in the meantime\nit may be gone.\n\nDo both before the section ends.","source":"cvelist"}],"published":"2026-11-30T13:33:25.484Z","modified":"2026-11-30T14:18:53.223Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7c32e8f8bc33a5f4b113a630857e46634e3e143b","fixed":"e1d83cf6d3fcc70189a82be21e68b8164660670c","status":"affected"},{"type":"git","introduced":"7c32e8f8bc33a5f4b113a630857e46634e3e143b","fixed":"4588284c6c25732e2411e0630c42cbbedfbb866b","status":"affected"},{"type":"git","introduced":"7c32e8f8bc33a5f4b113a630857e46634e3e143b","fixed":"ccf05077a60dbadd2947084b2d97289a1fb18a65","status":"affected"},{"type":"git","introduced":"7c32e8f8bc33a5f4b113a630857e46634e3e143b","fixed":"8b460e65da1f63423a8e96ae5831dca448c13d89","status":"affected"},{"type":"git","introduced":"7c32e8f8bc33a5f4b113a630857e46634e3e143b","fixed":"8b71f8bf8e26e244e3a83d0822b3901f8e083353","status":"affected"},{"type":"git","introduced":"7c32e8f8bc33a5f4b113a630857e46634e3e143b","fixed":"6aff0129f327b159c86a54e6bea64a027630ff6b","status":"affected"},{"type":"git","version":"6d3fad2b44eb9d226a896d1c93909f0fd2e1b9ea","status":"affected"},{"type":"semver","introduced":"5.10.135","fixed":"5.11","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.13","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e1d83cf6d3fcc70189a82be21e68b8164660670c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4588284c6c25732e2411e0630c42cbbedfbb866b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ccf05077a60dbadd2947084b2d97289a1fb18a65","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8b460e65da1f63423a8e96ae5831dca448c13d89","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8b71f8bf8e26e244e3a83d0822b3901f8e083353","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6aff0129f327b159c86a54e6bea64a027630ff6b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139294","url":"https://www.cve.org/CVERecord?id=CVE-2026-139294","licence":"CVE Terms of Use","modified":"2026-11-30T13:33:25.484Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139294","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139294","licence":"Public domain","modified":"2026-11-30T14:18:53.223Z"}],"updatedAt":"2026-11-30T14:32:59.871Z","epss":{"score":0.00206,"percentile":0.11285,"date":"2026-12-01T12:00:22.000Z"}}