{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99801","id":"CVE-2026-99801","title":"Linux kernel socket validation bypass in io_uring BPF operations","description":"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 t","descriptionLong":"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.","published":"2026-11-20T07:02:23.422Z","updated":"2026-11-20T07:02:23.422Z","reserved":"2026-09-25T10:25:14.435Z","status":"PUBLISHED","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"890819248a8616558fe12e6c06c918ee1c3a2bc6","lessThan":"521861b17a107875c884df9474e7746617f256d5","status":"affected","versionType":"git"},{"version":"890819248a8616558fe12e6c06c918ee1c3a2bc6","lessThan":"8543a39f03db8816a2d80d0c92c132a19f2afb48","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.1","status":"affected"},{"version":"0","lessThan":"7.1","status":"unaffected","versionType":"semver"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/521861b17a107875c884df9474e7746617f256d5","tags":[]},{"url":"https://git.kernel.org/stable/c/8543a39f03db8816a2d80d0c92c132a19f2afb48","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99801","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99801","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99801","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99801","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}