1. Accueil
  2. Vulnérabilités
  3. CVE-2026-142936

CVE-2026-142936

quota: initialize dquot cache before mounting rootfs

Publiée le 3 déc. 2026 · modifiée le 3 déc. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 15/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Linux (8 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux de 6.6.113 (inclus) à 6.6.163 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.12.54 (inclus) à 6.12.119 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.4.301 (inclus) à 5.5 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.10.246 (inclus) à 5.11 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.15.195 (inclus) à 5.16 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.1.157 (inclus) à 6.2 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.17.4 (inclus) à 6.18 (exclu) — CNA (éditeur ou attributeur)
Linux 6.18 — CNA (éditeur ou attributeur)

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)

Comment sont obtenues et calculées ces données