GHSA-HCJ2-X634-4694
Vulnerability from github – Published: 2026-11-20 09:31 – Updated: 2026-11-20 09:31In the Linux kernel, the following vulnerability has been resolved:
io_uring/net: mask socket type with SOCK_TYPE_MASK in io_socket_bpf_populate()
When an IORING_OP_SOCKET request is prepared in io_socket_prep(), sock->type retains creation flags such as SOCK_CLOEXEC and SOCK_NONBLOCK until __sys_socket_file() masks them off with SOCK_TYPE_MASK during execution.
However, io_socket_bpf_populate() copies sock->type into bctx->socket.type without masking off ~SOCK_TYPE_MASK. As a result, a cBPF filter inspecting bctx->socket.type against socket types such as SOCK_DGRAM or SOCK_STREAM can be bypassed by ORing SOCK_CLOEXEC or SOCK_NONBLOCK into the socket type.
Mask sock->type with SOCK_TYPE_MASK when populating bctx->socket.type.
{
"affected": [],
"aliases": [
"CVE-2026-99803"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-20T08:18:37Z",
"severity": null
},
"details": "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-\u003etype 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-\u003etype into\nbctx-\u003esocket.type without masking off ~SOCK_TYPE_MASK. As a result, a\ncBPF filter inspecting bctx-\u003esocket.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-\u003etype with SOCK_TYPE_MASK when populating bctx-\u003esocket.type.",
"id": "GHSA-hcj2-x634-4694",
"modified": "2026-11-20T09:31:34Z",
"published": "2026-11-20T09:31:34Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99803"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/cf635f0def46818d43f40c816b6ba0ff5f3f1618"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/e66907c3ba229399ecfb4ef032b95a4a071c894e"
}
],
"schema_version": "1.4.0",
"severity": []
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.