# CVE-2026-99741: tmpfs: keep the quota soft limits of an unused id

Status: published. Published: 2026-11-20. Updated: 2026-11-23.

In 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 ]

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ de4c0e7ca8b526a82ff7e5ee5533787bb6d01724; < 473c522e8230ace167ededa2cef61a9c890e8144 (affected, git); ≥ de4c0e7ca8b526a82ff7e5ee5533787bb6d01724; < b66796d176dfc107ec7fd2d6b4e9b6fa8b160dd6 (affected, git); ≥ de4c0e7ca8b526a82ff7e5ee5533787bb6d01724; < e6158f1736ebc3681ee164e8d5b5c1607ac60138 (affected, git); ≥ de4c0e7ca8b526a82ff7e5ee5533787bb6d01724; < 3aa51c92711896c86da9fcef01b1155e8caa7e74 (affected, git); ≥ de4c0e7ca8b526a82ff7e5ee5533787bb6d01724; < 968d73463059156e1b89bfa6b189acd7d27197b2 (affected, git). Source: CNA: Linux
- Linux / Linux: 6.6 (affected); ≥ 0; < 6.6 (unaffected, semver); ≥ 6.6.163; ≤ 6.6.* (unaffected, semver); ≥ 6.12.118; ≤ 6.12.* (unaffected, semver); ≥ 6.18.64; ≤ 6.18.* (unaffected, semver); ≥ 7.3.5; ≤ 7.3.* (unaffected, semver); ≥ 7.4-rc2; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.17% as of 2026-11-22; percentile 6.22%

- SSVC: Not available

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/473c522e8230ace167ededa2cef61a9c890e8144 (CNA: Linux)

- https://git.kernel.org/stable/c/b66796d176dfc107ec7fd2d6b4e9b6fa8b160dd6 (CNA: Linux)

- https://git.kernel.org/stable/c/e6158f1736ebc3681ee164e8d5b5c1607ac60138 (CNA: Linux)

- https://git.kernel.org/stable/c/3aa51c92711896c86da9fcef01b1155e8caa7e74 (CNA: Linux)

- https://git.kernel.org/stable/c/968d73463059156e1b89bfa6b189acd7d27197b2 (CNA: Linux)

- https://git.kernel.org/stable/c/3aa51c92711896c86da9fcef01b1155e8caa7e74 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/968d73463059156e1b89bfa6b189acd7d27197b2 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/b66796d176dfc107ec7fd2d6b4e9b6fa8b160dd6 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/e6158f1736ebc3681ee164e8d5b5c1607ac60138 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-99741; retrieved 2026-11-23; source updated 2026-11-23

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-99741; retrieved 2026-11-20; source updated 2026-11-20

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-99741; retrieved 2026-11-23; source updated Not reported

Revision: c623bbe4e52af7f24b8a3464aebd80431cffe6db1b001f7134c660499f005456

Canonical: https://y2.dev/cve/CVE-2026-99741

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.