PT-2026-166673
CVE-2026-142936
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the 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.
Found an issue in the description? Have something to add? Feel free to write us 👾