# CVE-2026-142936: quota: initialize dquot cache before mounting rootfs

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:26:08.300Z
- **Modified:** 2026-12-03T04:18:34.903Z

> **AI summary (AI-generated, claude-haiku-5-5):** A kernel boot-time NULL pointer dereference can crash Linux systems that use a quota-enabled tmpfs rootfs, because the dquot cache was initialized after the rootfs was mounted.

## Who should check

- Anyone running Linux \>= 5a7602d64e1c2124925eff3ab0e065f0b62382f8, \< 53d92abd2be74e5475b853591044f2b97226fcad; \>= a05855302b508d62119c6a41429eb3ee9e36c9ce, \< 3ebb52ce6aaf8b14fd301c84a0fdfd1919041c11; \>= 278033a225e13ec21900f0a92b8351658f5377f2, \< fbf982faa11289cf258a5f786a4eadcb6c74159c; \>= 278033a225e13ec21900f0a92b8351658f5377f2, \< a62cd0e3741535b650ace9f96f82992d4e447956; \>= 278033a225e13ec21900f0a92b8351658f5377f2, \< e21a6f39aa6d0336ffbf5f34e5fa20ff8de36773; 6ad65ae94d0b5f8418f9474d59b16720e106baa6; 1c543509044dda450c85034eab158a0d3ae58a61; 5c64e8be2a7ef47203ac5aded4baabbc5b64e5e5; 5895d78ee7fa67348a44718d71b0c4bc3ff459d5; 3b72a03bf5fe3b2cc1a7b9ca3d4a47f73d1189d1; …
- Anyone running Linux 6.18

## 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.

## Affected and fixed versions

- Linux: \>= 5a7602d64e1c2124925eff3ab0e065f0b62382f8, \< 53d92abd2be74e5475b853591044f2b97226fcad; \>= a05855302b508d62119c6a41429eb3ee9e36c9ce, \< 3ebb52ce6aaf8b14fd301c84a0fdfd1919041c11; \>= 278033a225e13ec21900f0a92b8351658f5377f2, \< fbf982faa11289cf258a5f786a4eadcb6c74159c; \>= 278033a225e13ec21900f0a92b8351658f5377f2, \< a62cd0e3741535b650ace9f96f82992d4e447956; \>= 278033a225e13ec21900f0a92b8351658f5377f2, \< e21a6f39aa6d0336ffbf5f34e5fa20ff8de36773; 6ad65ae94d0b5f8418f9474d59b16720e106baa6; 1c543509044dda450c85034eab158a0d3ae58a61; 5c64e8be2a7ef47203ac5aded4baabbc5b64e5e5; 5895d78ee7fa67348a44718d71b0c4bc3ff459d5; 3b72a03bf5fe3b2cc1a7b9ca3d4a47f73d1189d1; … (cvelist)
- Linux: 6.18 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142936. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142936.md
Affected: Linux >= 5a7602d64e1c2124925eff3ab0e065f0b62382f8, < 53d92abd2be74e5475b853591044f2b97226fcad; >= a05855302b508d62119c6a41429eb3ee9e36c9ce, < 3ebb52ce6aaf8b14fd301c84a0fdfd1919041c11; >= 278033a225e13ec21900f0a92b8351658f5377f2, < fbf982faa11289cf258a5f786a4eadcb6c74159c; >= 278033a225e13ec21900f0a…
Fixed in: Linux 53d92abd2be74e5475b853591044f2b97226fcad, Linux 3ebb52ce6aaf8b14fd301c84a0fdfd1919041c11

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142936 being exploited?

There is no confirmed exploitation: CVE-2026-142936 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142936?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142936?

Linux \>= 5a7602d64e1c2124925eff3ab0e065f0b62382f8, \< 53d92abd2be74e5475b853591044f2b97226fcad; \>= a05855302b508d62119c6a41429eb3ee9e36c9ce, \< 3ebb52ce6aaf8b14fd301c84a0fdfd1919041c11; \>= 278033a225e13ec21900f0a92b8351658f5377f2, \< fbf982faa11289cf258a5f786a4eadcb6c74159c; \>= 278033a225e13ec21900f0a92b8351658f5377f2, \< a62cd0e3741535b650ace9f96f82992d4e447956; \>= 278033a225e13ec21900f0a92b8351658f5377f2, \< e21a6f39aa6d0336ffbf5f34e5fa20ff8de36773; 6ad65ae94d0b5f8418f9474d59b16720e106baa6; 1c543509044dda450c85034eab158a0d3ae58a61; 5c64e8be2a7ef47203ac5aded4baabbc5b64e5e5; 5895d78ee7fa67348a44718d71b0c4bc3ff459d5; 3b72a03bf5fe3b2cc1a7b9ca3d4a47f73d1189d1; …; Linux 6.18.

### Is there a fix for CVE-2026-142936?

Yes. Fixed in Linux 53d92abd2be74e5475b853591044f2b97226fcad, Linux 3ebb52ce6aaf8b14fd301c84a0fdfd1919041c11. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-142936?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/53d92abd2be74e5475b853591044f2b97226fcad>
- other: <https://git.kernel.org/stable/c/3ebb52ce6aaf8b14fd301c84a0fdfd1919041c11>
- other: <https://git.kernel.org/stable/c/fbf982faa11289cf258a5f786a4eadcb6c74159c>
- other: <https://git.kernel.org/stable/c/a62cd0e3741535b650ace9f96f82992d4e447956>
- other: <https://git.kernel.org/stable/c/e21a6f39aa6d0336ffbf5f34e5fa20ff8de36773>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142936>

HTML: <https://flawdb.com/CVE-2026-142936> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142936>
