CVE-2026-142936
What it is
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.
At a glance
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: not scored yet.
- Severity: not scored yet.
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Record status
- Received
Affected
- Linux < 53d92abd2be74e5475b853591044f2b97226fcad
- Linux < 3ebb52ce6aaf8b14fd301c84a0fdfd1919041c11
- Linux < fbf982faa11289cf258a5f786a4eadcb6c74159c
- Linux < a62cd0e3741535b650ace9f96f82992d4e447956
- Linux < e21a6f39aa6d0336ffbf5f34e5fa20ff8de36773
- Linux 6ad65ae94d0b5f8418f9474d59b16720e106baa6
- Linux 1c543509044dda450c85034eab158a0d3ae58a61
- Linux 5c64e8be2a7ef47203ac5aded4baabbc5b64e5e5
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2026-142936.md and follow it. Check whether this project is affected by CVE-2026-142936. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
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