{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99803","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.435Z","datePublished":"2026-11-20T07:02:24.615Z","dateUpdated":"2026-11-20T07:02:24.615Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-20T07:02:24.615Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["io_uring/net.c"],"versions":[{"version":"cff1c26b4223820431129696b45525e5928e6409","lessThan":"cf635f0def46818d43f40c816b6ba0ff5f3f1618","status":"affected","versionType":"git"},{"version":"cff1c26b4223820431129696b45525e5928e6409","lessThan":"e66907c3ba229399ecfb4ef032b95a4a071c894e","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["io_uring/net.c"],"versions":[{"version":"7.0","status":"affected"},{"version":"0","lessThan":"7.0","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"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/cf635f0def46818d43f40c816b6ba0ff5f3f1618"},{"url":"https://git.kernel.org/stable/c/e66907c3ba229399ecfb4ef032b95a4a071c894e"}],"title":"io_uring/net: mask socket type with SOCK_TYPE_MASK in io_socket_bpf_populate()","x_generator":{"engine":"bippy-1.2.0"}}}}