CVE-2026-142936

Not scored yetLast modified Dec 3, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-142937In the Linux kernel, the following vulnerability has been resolved: zloop: check that the zone backing file support ->{read,write}_iter I/CVE-2026-142938In the Linux kernel, the following vulnerability has been resolved: virtio-net: fix frag overflow in big packets receive In big packets moCVE-2026-142939In the Linux kernel, the following vulnerability has been resolved: nvmet-fc: don't drop the last assoc reference in nvmet_fc_delete_ctrl()CVE-2026-142940In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7915: unregister thermal cooling device on hwmon failure CVE-2026-142941In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix deadlock in inline-data truncate transactions Updating an iCVE-2026-142942In the Linux kernel, the following vulnerability has been resolved: bpf: Destroy callee-local dynptrs on subprog return A data slice is vaCVE-2026-142943In the Linux kernel, the following vulnerability has been resolved: ASoC: amd: acp3x-es83xx: Keep an owned codec device reference acpi_getCVE-2026-142944In the Linux kernel, the following vulnerability has been resolved: ASoC: amd: acp-es8336: Use an owned codec device reference acpi_get_fiCVE-2026-142945In the Linux kernel, the following vulnerability has been resolved: ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device() RCVE-2026-142946In the Linux kernel, the following vulnerability has been resolved: ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device() RepCVE-2026-142947In the Linux kernel, the following vulnerability has been resolved: cxl/core: Skip einj_inject creation when devm_add_action_or_reset() faiCVE-2026-142948In the Linux kernel, the following vulnerability has been resolved: i2c: designware: queue only one read command for block reads i2c_dw_xf
CVE-2026-142936: Unscored | Vulnix