GHSA-HV2G-6MQ9-5HFR
Vulnerability from github – Published: 2026-11-20 06:32 – Updated: 2026-11-23 09:31In the Linux kernel, the following vulnerability has been resolved:
ksmbd: enforce the read-only share flag when creating a stream
When a share is read-only, smb2_open() rejects opens that would create or truncate a file. Creating a named stream on an existing file with streams_xattr sets neither O_CREAT nor O_TRUNC, so it passes this check, and smb2_set_stream_name_xattr() then creates the stream. On a Time Machine share, opening a missing AFP_AfpInfo stream also writes one. A user who can write a file at the filesystem level can therefore add streams to it through a read-only share.
Do not create a stream or synthesize AFP_AfpInfo when the share is not writable. Existing streams still open normally, and a missing stream opened with FILE_OPEN still returns STATUS_OBJECT_NAME_NOT_FOUND.
{
"affected": [],
"aliases": [
"CVE-2026-99749"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-20T06:18:12Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: enforce the read-only share flag when creating a stream\n\nWhen a share is read-only, smb2_open() rejects opens that would create\nor truncate a file. Creating a named stream on an existing file with\nstreams_xattr sets neither O_CREAT nor O_TRUNC, so it passes this check,\nand smb2_set_stream_name_xattr() then creates the stream. On a Time\nMachine share, opening a missing AFP_AfpInfo stream also writes one. A\nuser who can write a file at the filesystem level can therefore add\nstreams to it through a read-only share.\n\nDo not create a stream or synthesize AFP_AfpInfo when the share is not\nwritable. Existing streams still open normally, and a missing stream\nopened with FILE_OPEN still returns STATUS_OBJECT_NAME_NOT_FOUND.",
"id": "GHSA-hv2g-6mq9-5hfr",
"modified": "2026-11-23T09:31:02Z",
"published": "2026-11-20T06:32:10Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99749"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/09139429fab3a5114c18d7c15fb161511d4d66c9"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/996f257e4bf6d5a5574a3ec10cebe5cf63959e4c"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/bbeae2eb4df84a033a2db1b0d7647ed762bd24fa"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/d86cea832d4bffabc51190039ee286a0ab9f3b61"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/ece35b45ec17a462cc5947ad4fbc3450657aa55b"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/f92cd402cc29889be2dbdcbe60ec014c231f2ec6"
}
],
"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.