{"id":"CVE-2026-139294","summary":"bpf: Use the socket of a sk_lookup test run under RCU","details":"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.","modified":"2026-12-01T21:02:37.606493129Z","published":"2026-11-30T13:33:25.484Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139294.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4588284c6c25732e2411e0630c42cbbedfbb866b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6aff0129f327b159c86a54e6bea64a027630ff6b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8b460e65da1f63423a8e96ae5831dca448c13d89"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8b71f8bf8e26e244e3a83d0822b3901f8e083353"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ccf05077a60dbadd2947084b2d97289a1fb18a65"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e1d83cf6d3fcc70189a82be21e68b8164660670c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139294.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139294"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7c32e8f8bc33a5f4b113a630857e46634e3e143b"},{"fixed":"e1d83cf6d3fcc70189a82be21e68b8164660670c"},{"fixed":"4588284c6c25732e2411e0630c42cbbedfbb866b"},{"fixed":"ccf05077a60dbadd2947084b2d97289a1fb18a65"},{"fixed":"8b460e65da1f63423a8e96ae5831dca448c13d89"},{"fixed":"8b71f8bf8e26e244e3a83d0822b3901f8e083353"},{"fixed":"6aff0129f327b159c86a54e6bea64a027630ff6b"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6d3fad2b44eb9d226a896d1c93909f0fd2e1b9ea"}]}],"versions":["v5.10.276","v5.10.275","v5.10.274","v5.10.273","v5.10.272","v5.10.271","v5.10.270","v5.10.269","v5.10.268","v5.10.267","v5.10.266","v5.10.265","v5.10.264","v5.10.263","v5.10.262","v5.10.261","v5.10.260","v5.10.259","v5.10.258","v5.10.257","v5.10.256","v5.10.255","v5.10.254","v5.10.253","v5.10.252","v5.10.251","v5.10.250","v5.10.249","v5.10.248","v5.10.247","v5.10.246","v5.10.245","v5.10.244","v5.10.243","v5.10.242","v5.10.241","v5.10.240","v5.10.239","v5.10.238","v5.10.237","v5.10.236","v5.10.235","v5.10.234","v5.10.233","v5.10.232","v5.10.231","v5.10.230","v5.10.229","v5.10.228","v5.10.227","v5.10.226","v5.10.225","v5.10.224","v5.10.223","v5.10.222","v5.10.221","v5.10.220","v5.10.219","v5.10.218","v5.10.217","v5.10.216","v5.10.215","v5.10.214","v5.10.213","v5.10.212","v5.10.211","v5.10.210","v5.10.209","v5.10.208","v5.10.207","v5.10.206","v5.10.205","v5.10.204","v5.10.203","v5.10.202","v5.10.201","v5.10.200","v5.10.199","v5.10.198","v5.10.197","v5.10.196","v5.10.195","v5.10.194","v5.10.193","v5.10.192","v5.10.191","v5.10.190","v5.10.189","v5.10.188","v5.10.187","v5.10.186","v5.10.185","v5.10.184","v5.10.183","v5.10.182","v5.10.181","v5.10.180","v5.10.179","v5.10.178","v5.10.177","v5.10.176","v5.10.175","v5.10.174","v5.10.173","v5.10.172","v5.10.171","v5.10.170","v5.10.169","v5.10.168","v5.10.167","v5.10.166","v5.10.165","v5.10.164","v5.10.163","v5.10.162","v5.10.161","v5.10.160","v5.10.159","v5.10.158","v5.10.157","v5.10.156","v5.10.155","v5.10.154","v5.10.153","v5.10.152","v5.10.151","v5.10.150","v5.10.149","v5.10.148","v5.10.147","v5.10.146","v5.10.145","v5.10.144","v5.10.143","v5.10.142","v5.10.141","v5.10.140","v5.10.139","v5.10.138","v5.10.137","v5.10.136","v5.10.135"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139294.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.10.135"},{"fixed":"5.11"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.13.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139294.json"}}],"schema_version":"1.9.2"}