{"api_version":"1","generated_at":"2026-12-03T05:54:43+00:00","cve":"CVE-2026-142936","urls":{"html":"https://cve.report/CVE-2026-142936","api":"https://cve.report/api/cve/CVE-2026-142936.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-142936","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-142936"},"summary":{"title":"quota: initialize dquot cache before mounting rootfs","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nquota: initialize dquot cache before mounting rootfs\n\nOn some systems, a tmpfs backed rootfs is extensively used throughout\nsystem's lifecycle. tmpfs quotas are needed to limit per user rootfs\nusage. However, booting with CONFIG_TMPFS_QUOTA=y, an initramfs, no root=\nand \"initramfs_options=usrquota\" panics at boot:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000000\n  RIP: 0010:dqget+0x1ac/0x490\n  Call Trace:\n   __dquot_initialize\n   dquot_initialize\n   shmem_get_inode\n   shmem_fill_super\n   ...\n   mnt_init\n   vfs_caches_init\n   start_kernel\n\nThe rootfs is mounted from mnt_init(), but the dquot hash table and\ncache are only set up later by dquot_init(), an fs_initcall. Creating\nthe root inode of a quota enabled rootfs thus dereferences the NULL\ndquot_hash in dqget().\n\nRename dquot_init() to dquot_cache_init() and call it from\nvfs_caches_init() before mnt_init(). The slab, percpu and early\nworkqueue code it relies on is available there, and the workqueue\nrescuer and shrinker debugfs entries are set up later by their own\nsubsystems. Keep the sysctl registration in an fs_initcall, as done\nfor the dcache, inode and mount sysctls. This only moves existing\nallocations earlier in boot.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 04:18:34","updated_at":"2026-12-03 04:18:34"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/a62cd0e3741535b650ace9f96f82992d4e447956","name":"https://git.kernel.org/stable/c/a62cd0e3741535b650ace9f96f82992d4e447956","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/53d92abd2be74e5475b853591044f2b97226fcad","name":"https://git.kernel.org/stable/c/53d92abd2be74e5475b853591044f2b97226fcad","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3ebb52ce6aaf8b14fd301c84a0fdfd1919041c11","name":"https://git.kernel.org/stable/c/3ebb52ce6aaf8b14fd301c84a0fdfd1919041c11","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/fbf982faa11289cf258a5f786a4eadcb6c74159c","name":"https://git.kernel.org/stable/c/fbf982faa11289cf258a5f786a4eadcb6c74159c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e21a6f39aa6d0336ffbf5f34e5fa20ff8de36773","name":"https://git.kernel.org/stable/c/e21a6f39aa6d0336ffbf5f34e5fa20ff8de36773","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-142936","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142936","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5a7602d64e1c2124925eff3ab0e065f0b62382f8 53d92abd2be74e5475b853591044f2b97226fcad git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a05855302b508d62119c6a41429eb3ee9e36c9ce 3ebb52ce6aaf8b14fd301c84a0fdfd1919041c11 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 278033a225e13ec21900f0a92b8351658f5377f2 fbf982faa11289cf258a5f786a4eadcb6c74159c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 278033a225e13ec21900f0a92b8351658f5377f2 a62cd0e3741535b650ace9f96f82992d4e447956 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 278033a225e13ec21900f0a92b8351658f5377f2 e21a6f39aa6d0336ffbf5f34e5fa20ff8de36773 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6ad65ae94d0b5f8418f9474d59b16720e106baa6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1c543509044dda450c85034eab158a0d3ae58a61 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5c64e8be2a7ef47203ac5aded4baabbc5b64e5e5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5895d78ee7fa67348a44718d71b0c4bc3ff459d5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3b72a03bf5fe3b2cc1a7b9ca3d4a47f73d1189d1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.113 6.6.163 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12.54 6.12.119 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.4.301 5.5 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.10.246 5.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15.195 5.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.157 6.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.17.4 6.18 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/dcache.c","fs/quota/dquot.c","include/linux/quotaops.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"53d92abd2be74e5475b853591044f2b97226fcad","status":"affected","version":"5a7602d64e1c2124925eff3ab0e065f0b62382f8","versionType":"git"},{"lessThan":"3ebb52ce6aaf8b14fd301c84a0fdfd1919041c11","status":"affected","version":"a05855302b508d62119c6a41429eb3ee9e36c9ce","versionType":"git"},{"lessThan":"fbf982faa11289cf258a5f786a4eadcb6c74159c","status":"affected","version":"278033a225e13ec21900f0a92b8351658f5377f2","versionType":"git"},{"lessThan":"a62cd0e3741535b650ace9f96f82992d4e447956","status":"affected","version":"278033a225e13ec21900f0a92b8351658f5377f2","versionType":"git"},{"lessThan":"e21a6f39aa6d0336ffbf5f34e5fa20ff8de36773","status":"affected","version":"278033a225e13ec21900f0a92b8351658f5377f2","versionType":"git"},{"status":"affected","version":"6ad65ae94d0b5f8418f9474d59b16720e106baa6","versionType":"git"},{"status":"affected","version":"1c543509044dda450c85034eab158a0d3ae58a61","versionType":"git"},{"status":"affected","version":"5c64e8be2a7ef47203ac5aded4baabbc5b64e5e5","versionType":"git"},{"status":"affected","version":"5895d78ee7fa67348a44718d71b0c4bc3ff459d5","versionType":"git"},{"status":"affected","version":"3b72a03bf5fe3b2cc1a7b9ca3d4a47f73d1189d1","versionType":"git"},{"lessThan":"6.6.163","status":"affected","version":"6.6.113","versionType":"semver"},{"lessThan":"6.12.119","status":"affected","version":"6.12.54","versionType":"semver"},{"lessThan":"5.5","status":"affected","version":"5.4.301","versionType":"semver"},{"lessThan":"5.11","status":"affected","version":"5.10.246","versionType":"semver"},{"lessThan":"5.16","status":"affected","version":"5.15.195","versionType":"semver"},{"lessThan":"6.2","status":"affected","version":"6.1.157","versionType":"semver"},{"lessThan":"6.18","status":"affected","version":"6.17.4","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/dcache.c","fs/quota/dquot.c","include/linux/quotaops.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.18"},{"lessThan":"6.18","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"6.6.113","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"6.12.54","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.301","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.246","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.195","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.157","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17.4","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nquota: initialize dquot cache before mounting rootfs\n\nOn some systems, a tmpfs backed rootfs is extensively used throughout\nsystem's lifecycle. tmpfs quotas are needed to limit per user rootfs\nusage. However, booting with CONFIG_TMPFS_QUOTA=y, an initramfs, no root=\nand \"initramfs_options=usrquota\" panics at boot:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000000\n  RIP: 0010:dqget+0x1ac/0x490\n  Call Trace:\n   __dquot_initialize\n   dquot_initialize\n   shmem_get_inode\n   shmem_fill_super\n   ...\n   mnt_init\n   vfs_caches_init\n   start_kernel\n\nThe rootfs is mounted from mnt_init(), but the dquot hash table and\ncache are only set up later by dquot_init(), an fs_initcall. Creating\nthe root inode of a quota enabled rootfs thus dereferences the NULL\ndquot_hash in dqget().\n\nRename dquot_init() to dquot_cache_init() and call it from\nvfs_caches_init() before mnt_init(). The slab, percpu and early\nworkqueue code it relies on is available there, and the workqueue\nrescuer and shrinker debugfs entries are set up later by their own\nsubsystems. Keep the sysctl registration in an fs_initcall, as done\nfor the dcache, inode and mount sysctls. This only moves existing\nallocations earlier in boot."}],"providerMetadata":{"dateUpdated":"2026-12-03T03:26:08.300Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/53d92abd2be74e5475b853591044f2b97226fcad"},{"url":"https://git.kernel.org/stable/c/3ebb52ce6aaf8b14fd301c84a0fdfd1919041c11"},{"url":"https://git.kernel.org/stable/c/fbf982faa11289cf258a5f786a4eadcb6c74159c"},{"url":"https://git.kernel.org/stable/c/a62cd0e3741535b650ace9f96f82992d4e447956"},{"url":"https://git.kernel.org/stable/c/e21a6f39aa6d0336ffbf5f34e5fa20ff8de36773"}],"title":"quota: initialize dquot cache before mounting rootfs","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-142936","datePublished":"2026-12-03T03:26:08.300Z","dateReserved":"2026-12-03T03:10:28.338Z","dateUpdated":"2026-12-03T03:26:08.300Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 04:18:34","lastModifiedDate":"2026-12-03 04:18:34","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"142936","Ordinal":"1","Title":"quota: initialize dquot cache before mounting rootfs","CVE":"CVE-2026-142936","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"142936","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nquota: initialize dquot cache before mounting rootfs\n\nOn some systems, a tmpfs backed rootfs is extensively used throughout\nsystem's lifecycle. tmpfs quotas are needed to limit per user rootfs\nusage. However, booting with CONFIG_TMPFS_QUOTA=y, an initramfs, no root=\nand \"initramfs_options=usrquota\" panics at boot:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000000\n  RIP: 0010:dqget+0x1ac/0x490\n  Call Trace:\n   __dquot_initialize\n   dquot_initialize\n   shmem_get_inode\n   shmem_fill_super\n   ...\n   mnt_init\n   vfs_caches_init\n   start_kernel\n\nThe rootfs is mounted from mnt_init(), but the dquot hash table and\ncache are only set up later by dquot_init(), an fs_initcall. Creating\nthe root inode of a quota enabled rootfs thus dereferences the NULL\ndquot_hash in dqget().\n\nRename dquot_init() to dquot_cache_init() and call it from\nvfs_caches_init() before mnt_init(). The slab, percpu and early\nworkqueue code it relies on is available there, and the workqueue\nrescuer and shrinker debugfs entries are set up later by their own\nsubsystems. Keep the sysctl registration in an fs_initcall, as done\nfor the dcache, inode and mount sysctls. This only moves existing\nallocations earlier in boot.","Type":"Description","Title":"quota: initialize dquot cache before mounting rootfs"}]}}}