{"id":"CVE-2026-99803","aliases":[],"kind":"cve","tier":"hot","status":"published","title":"io_uring/net: mask socket type with SOCK_TYPE_MASK in io_socket_bpf_populate()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/net: mask socket type with SOCK_TYPE_MASK in io_socket_bpf_populate()\n\nWhen an IORING_OP_SOCKET request is prepared in io_socket_prep(),\nsock->type retains creation flags such as SOCK_CLOEXEC and SOCK_NONBLOCK\nuntil __sys_socket_file() masks them off with SOCK_TYPE_MASK during\nexecution.\n\nHowever, io_socket_bpf_populate() copies sock->type into\nbctx->socket.type without masking off ~SOCK_TYPE_MASK. As a result, a\ncBPF filter inspecting bctx->socket.type against socket types such as\nSOCK_DGRAM or SOCK_STREAM can be bypassed by ORing SOCK_CLOEXEC or\nSOCK_NONBLOCK into the socket type.\n\nMask sock->type with SOCK_TYPE_MASK when populating bctx->socket.type.","ai_summary":null,"severity":"unknown","cvss":null,"scores":[],"cwe":[],"remote":null,"remote_unauth":null,"epss":{"score":0.00319,"percentile":0.17237,"date":"2026-11-26"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"source":"cvelist","vendor":"Linux","product":"Linux","versions":">= cff1c26b4223820431129696b45525e5928e6409, < cf635f0def46818d43f40c816b6ba0ff5f3f1618; >= cff1c26b4223820431129696b45525e5928e6409, < e66907c3ba229399ecfb4ef032b95a4a071c894e"},{"source":"cvelist","vendor":"Linux","product":"Linux","versions":"7.0"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[{"slug":"linux-kernel","name":"Linux kernel","method":"cpe"}],"references":[{"url":"https://git.kernel.org/stable/c/cf635f0def46818d43f40c816b6ba0ff5f3f1618","kind":"other"},{"url":"https://git.kernel.org/stable/c/e66907c3ba229399ecfb4ef032b95a4a071c894e","kind":"other"}],"workarounds":null,"vendors":["linux"],"products":["linux"],"cpes":[],"published_at":"2026-11-20T07:02:24.615Z","modified_at":"2026-11-20T08:18:37.960Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99803"},{"source":"FIRST EPSS","text":"EPSS scores by FIRST","url":"https://www.first.org/epss/"}],"links":{"html":"https://flawdb.com/CVE-2026-99803","markdown":"https://flawdb.com/CVE-2026-99803.md","json":"https://flawdb.com/api/v1/entries/CVE-2026-99803"}}