CVE-2026-142936

medium

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.

References

https://git.kernel.org/stable/c/fbf982faa11289cf258a5f786a4eadcb6c74159c

https://git.kernel.org/stable/c/e21a6f39aa6d0336ffbf5f34e5fa20ff8de36773

https://git.kernel.org/stable/c/a62cd0e3741535b650ace9f96f82992d4e447956

https://git.kernel.org/stable/c/53d92abd2be74e5475b853591044f2b97226fcad

https://git.kernel.org/stable/c/3ebb52ce6aaf8b14fd301c84a0fdfd1919041c11

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-142345

Details

Source: Mitre, NVD

Published: 2026-12-03

Updated: 2026-12-03

Risk Information

CVSS v2

Base Score: 7.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 5.5

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium

EPSS

EPSS: 0.00276