{"id":"CVE-2026-99801","aliases":[],"title":"io_uring/bpf-ops: clear bpf_ctx while submitting SQEs","originalDescription":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/bpf-ops: clear bpf_ctx while submitting SQEs\n\nbpf_io_uring_submit_sqes() calls io_submit_sqes() from inside the loop\nprogram, with current->bpf_ctx set, and requests issued inline run with\nit set too. The socket code uses has_current_bpf_ctx() to recognize\ncalls from bpf_setsockopt() and friends, where the caller holds the\nsocket lock and has already been vetted, and skips both.\n\nSo a SOCKET_URING_OP_SETSOCKOPT from the SQ passes sockopt_capable()\nwithout the capability, and runs without lock_sock(). A task with no\ncapability can set SO_MARK, IP_TRANSPARENT or TCP_REPAIR, and two\nthreads changing IP_OPTIONS on one socket, one through the ring, double\nfree in no time. SOCK_DESTROY via IORING_OP_SENDMSG ends up in\ntcp_abort() without the lock the same way.\n\nClear the run context around io_submit_sqes(). The SQEs come from\nuserspace and must be issued like those of any other ring. They still\nrun inside the program's RCU tasks trace read section, so a request\nthat sleeps there holds up that grace period, but other request types\ndo that already.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.00274,"percentile":0.21205},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=7.1.0, <7.3.2","fixed":"7.3.2"},{"ecosystem":"vendor","name":"Linux","range":">=890819248a8616558fe12e6c06c918ee1c3a2bc6, <521861b17a107875c884df9474e7746617f256d5","fixed":"521861b17a107875c884df9474e7746617f256d5"},{"ecosystem":"vendor","name":"Linux","range":">=890819248a8616558fe12e6c06c918ee1c3a2bc6, <8543a39f03db8816a2d80d0c92c132a19f2afb48","fixed":"8543a39f03db8816a2d80d0c92c132a19f2afb48"}],"references":[{"url":"https://git.kernel.org/stable/c/521861b17a107875c884df9474e7746617f256d5","type":"other"},{"url":"https://git.kernel.org/stable/c/8543a39f03db8816a2d80d0c92c132a19f2afb48","type":"other"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99801.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99801","type":"advisory"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"}],"sources":[{"name":"nvd","at":"2026-11-20T08:42:44.603Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99801","license":"NVD terms of use","firstSeenAt":"2026-11-20T08:42:44.603Z"},{"name":"osv","at":"2026-11-21T22:40:41.632Z","url":"https://osv.dev/vulnerability/CVE-2026-99801","license":"CC-BY 4.0","firstSeenAt":"2026-11-21T21:34:28.833Z"},{"name":"cvelistV5","at":"2026-11-23T21:31:49.685Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99801","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T07:34:10.934Z"}],"firstSeenAt":"2026-11-20T07:34:10.934Z","publishedAt":"2026-11-20T07:02:23.422Z","modifiedAt":"2026-11-21T21:01:58.735Z"}