GHSA-MCRW-3F87-G8RM
Vulnerability from github – Published: 2026-11-20 06:32 – Updated: 2026-11-23 09:31In the Linux kernel, the following vulnerability has been resolved:
tmpfs: keep the quota soft limits of an unused id
When the last reference to a dquot goes away, shmem_release_dquot() stores its limits in the rb tree of the mount, unless shmem_is_empty_dquot() says that there is nothing worth storing. That function looks at the usage and at the two hard limits only.
So if the administrator sets nothing but soft limits for an id that owns no file yet, the entry is thrown away as soon as the dquot that Q_SETQUOTA used is released, and the id never gets to see a limit.
To fix it, compare the soft limits as well: an entry can be empty only if both soft limits are zero as well, which is exactly what shmem_acquire_dquot() sets for a new entry.
Fix generated by an LLM and sent by Josef Bacik in private.
[ david: slightly adjusted description ]
{
"affected": [],
"aliases": [
"CVE-2026-99741"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-20T06:18:11Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\ntmpfs: keep the quota soft limits of an unused id\n\nWhen the last reference to a dquot goes away, shmem_release_dquot()\nstores its limits in the rb tree of the mount, unless\nshmem_is_empty_dquot() says that there is nothing worth storing. That\nfunction looks at the usage and at the two hard limits only.\n\nSo if the administrator sets nothing but soft limits for an id that owns\nno file yet, the entry is thrown away as soon as the dquot that\nQ_SETQUOTA used is released, and the id never gets to see a limit.\n\nTo fix it, compare the soft limits as well: an entry can be empty only if\nboth soft limits are zero as well, which is exactly what\nshmem_acquire_dquot() sets for a new entry.\n\nFix generated by an LLM and sent by Josef Bacik in private.\n\n[ david: slightly adjusted description ]",
"id": "GHSA-mcrw-3f87-g8rm",
"modified": "2026-11-23T09:31:02Z",
"published": "2026-11-20T06:32:10Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99741"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/3aa51c92711896c86da9fcef01b1155e8caa7e74"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/473c522e8230ace167ededa2cef61a9c890e8144"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/968d73463059156e1b89bfa6b189acd7d27197b2"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/b66796d176dfc107ec7fd2d6b4e9b6fa8b160dd6"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/e6158f1736ebc3681ee164e8d5b5c1607ac60138"
}
],
"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.