Linux kernel: quota: initialize dquot cache before mounting rootfs
- Exploited
- No known exploitation
- Fix
- Fixed in 6.6.163, 6.12.119, 5.5, 5.11, 5.16, and 2 more
- Who is exposed
- Not reported
Summary
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.
What to do
Upgrade to a fixed version: 6.6.163, 6.12.119, 5.5, 5.11, 5.16, or one of 2 more.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-142936 (quota: initialize dquot cache before mounting rootfs), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-142936 (entry last updated 2026-12-03):
Affected:
- Linux Linux: from 6.6.113, fixed in 6.6.163; from 6.12.54, fixed in 6.12.119; from 5.4.301, fixed in 5.5; from 5.10.246, fixed in 5.11; from 5.15.195, fixed in 5.16; from 6.1.157, fixed in 6.2; from 6.17.4, fixed in 6.18
- Linux Linux: versions 6.18
Fixed versions: 6.6.163, 6.12.119, 5.5, 5.11, 5.16, 6.2, 6.18.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-142936 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-142936 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/53d92abd2be74e5475b853591044f2b97226fcad
- https://git.kernel.org/stable/c/3ebb52ce6aaf8b14fd301c84a0fdfd1919041c11
- https://git.kernel.org/stable/c/fbf982faa11289cf258a5f786a4eadcb6c74159c
- https://git.kernel.org/stable/c/a62cd0e3741535b650ace9f96f82992d4e447956
- https://git.kernel.org/stable/c/e21a6f39aa6d0336ffbf5f34e5fa20ff8de36773
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-142936
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-142936"}.Affected versions
- Linux LinuxFrom 6.6.113 · fixed in 6.6.163; From 6.12.54 · fixed in 6.12.119; From 5.4.301 · fixed in 5.5; From 5.10.246 · fixed in 5.11; From 5.15.195 · fixed in 5.16; From 6.1.157 · fixed in 6.2; From 6.17.4 · fixed in 6.18
- Linux Linux6.18
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure?/25Unknown. No advisory context yet
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity?/10Unknown. No CVSS score or vendor rating
- No patch0/5No signal
What would change the score
- Would score about 75 if added to CISA KEV
- Would score about 70 if CISA's SSVC rates exploitation active
- Would score about 42 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 7
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-142936 |
| Record | NVD · CVE-2026-142936 |
| Other links 5 | |
| Link | git.kernel.org · stable/c/53d92abd2be74e5475b853591044f2b97226fcad |
| Link | git.kernel.org · stable/c/3ebb52ce6aaf8b14fd301c84a0fdfd1919041c11 |
| Link | git.kernel.org · stable/c/fbf982faa11289cf258a5f786a4eadcb6c74159c |
| Link | git.kernel.org · stable/c/a62cd0e3741535b650ace9f96f82992d4e447956 |
| Link | git.kernel.org · stable/c/e21a6f39aa6d0336ffbf5f34e5fa20ff8de36773 |
Questions about CVE-2026-142936
Is CVE-2026-142936 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-142936?
Linux: from 6.6.113 before 6.6.163; from 6.12.54 before 6.12.119; from 5.4.301 before 5.5; from 5.10.246 before 5.11; from 5.15.195 before 5.16; from 6.1.157 before 6.2; from 6.17.4 before 6.18. Linux: version 6.18.
Source: cve.now feed data
How do I fix CVE-2026-142936?
Upgrade to a fixed version: 6.6.163, 6.12.119, 5.5, 5.11, 5.16, or one of 2 more.
Source: cve.now feed data
Related
- CVE-2026-143401net: virtio: validate outer protocol of UDP tunnel GSO packets
- CVE-2026-143400virtio_net: check RX buffer length before DMA sync
- CVE-2026-143399udf: validate vat20->lengthHeader and VAT inode size in udf_load_vat()
- CVE-2026-143398Input: destroy force-feedback device on input unregistration
- CVE-2026-1433979p: use fc->net_ns for network namespace in RDMA and socket transports
- CVE-2026-143396net/9p/usbg: fix descriptor cleanup use-after-free
No corrections so far. Something wrong on this page? Report an error.