CVE-2026-142936 quota: initialize dquot cache before mounting rootfs
linux linux: no CVSS score yet. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.
On this page
In the Linux kernel, the following vulnerability has been resolved:
quota: initialize dquot cache before mounting rootfs
On some systems, a tmpfs backed rootfs is extensively used throughout
system's lifecycle. tmpfs quotas are needed to limit per user rootfs
usage. However, booting with CONFIG_TMPFS_QUOTA=y, an initramfs, no root=
and "initramfs_options=usrquota" panics at boot:
BUG: kernel NULL pointer dereference, address: 0000000000000000
RIP: 0010:dqget+0x1ac/0x490
Call Trace:
__dquot_initialize
dquot_initialize
shmem_get_inode
shmem_fill_super
...
mnt_init
vfs_caches_init
start_kernel
The rootfs is mounted from mnt_init(), but the dquot hash table and
cache are only set up later by dquot_init(), an fs_initcall. Creating
the root inode of a quota enabled rootfs thus dereferences the NULL
dquot_hash in dqget().
Rename dquot_init() to dquot_cache_init() and call it from
vfs_caches_init() before mnt_init(). The slab, percpu and early
workqueue code it relies on is available there, and the workqueue
rescuer and shrinker debugfs entries are set up later by their own
subsystems. Keep the sysctl registration in an fs_initcall, as done
for the dcache, inode and mount sysctls. This only moves existing
allocations earlier in boot.
- EPSS
- 0.3% estimated probability of exploitation activity in the next 30 days; 21st percentile. Scored 2026-12-03. A forecast for this CVE across the internet, not for your own systems.
- Published
- Assigned by
- Linux (CNA)
- NVD analysis
- Awaiting analysis
- Record from
- the NVD, synced
Fix and patched versions
- Linux Linux: fixed in 6.6.163
- Linux Linux: fixed in 6.12.119
- Linux Linux: fixed in 6.18.65
- Linux Linux: fixed in 7.3.6
- Linux Linux: fixed in 7.4-rc2
- Debian: fixed package versions per release
Ask an AI about this CVE
Show the prompt
Explain CVE-2026-142936 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-142936?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-142936?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-142936 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Linux | from 6.6.113 before 6.6.163 |
| Linux | from 6.12.54 before 6.12.119 |
| Linux | from 5.4.301 before 5.5 |
| Linux | from 5.10.246 before 5.11 |
| Linux | from 5.15.195 before 5.16 |
| Linux | from 6.1.157 before 6.2 |
| Linux | from 6.17.4 before 6.18 |
| Linux | 6.18 and later |
Fixed in
| Product | Release line | Fixed in |
|---|---|---|
| Linux | 6.6 | 6.6.163 |
| Linux | 6.12 | 6.12.119 |
| Linux | 6.18 | 6.18.65 |
| Linux | 7.3 | 7.3.6 |
| Linux | later releases | 7.4-rc2 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | linux | no fix listed | DEBIAN-CVE-2026-142936 |
| Debian | 14 | linux | 7.3.6-1 | DEBIAN-CVE-2026-142936 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
References
- https://git.kernel.org/stable/c/3ebb52ce6aaf8b14fd301c84a0fdfd1919041c11
- https://git.kernel.org/stable/c/53d92abd2be74e5475b853591044f2b97226fcad
- https://git.kernel.org/stable/c/a62cd0e3741535b650ace9f96f82992d4e447956
- https://git.kernel.org/stable/c/e21a6f39aa6d0336ffbf5f34e5fa20ff8de36773
- https://git.kernel.org/stable/c/fbf982faa11289cf258a5f786a4eadcb6c74159c