CVE-2026-142936
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| linux | linux | {"startIncluding":"6.6.113","endExcluding":"6.6.163"} | 6.6.163 |
| linux | linux | {"startIncluding":"6.12.54","endExcluding":"6.12.119"} | 6.12.119 |
| linux | linux | {"startIncluding":"5.4.301","endExcluding":"5.5"} | 5.5 |
| linux | linux | {"startIncluding":"5.10.246","endExcluding":"5.11"} | 5.11 |
| linux | linux | {"startIncluding":"5.15.195","endExcluding":"5.16"} | 5.16 |
| linux | linux | {"startIncluding":"6.1.157","endExcluding":"6.2"} | 6.2 |
| linux | linux | {"startIncluding":"6.17.4","endExcluding":"6.18"} | 6.18 |
| linux | linux | 6.18 | |
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
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.