{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "5a7602d64e1c2124925eff3ab0e065f0b62382f8"
            },
            {
              "fixed": "53d92abd2be74e5475b853591044f2b97226fcad"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "a05855302b508d62119c6a41429eb3ee9e36c9ce"
            },
            {
              "fixed": "3ebb52ce6aaf8b14fd301c84a0fdfd1919041c11"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "278033a225e13ec21900f0a92b8351658f5377f2"
            },
            {
              "fixed": "fbf982faa11289cf258a5f786a4eadcb6c74159c"
            },
            {
              "fixed": "a62cd0e3741535b650ace9f96f82992d4e447956"
            },
            {
              "fixed": "e21a6f39aa6d0336ffbf5f34e5fa20ff8de36773"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6ad65ae94d0b5f8418f9474d59b16720e106baa6"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "1c543509044dda450c85034eab158a0d3ae58a61"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5c64e8be2a7ef47203ac5aded4baabbc5b64e5e5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5895d78ee7fa67348a44718d71b0c4bc3ff459d5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "3b72a03bf5fe3b2cc1a7b9ca3d4a47f73d1189d1"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.4.301"
            },
            {
              "fixed": "5.5"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.10.246"
            },
            {
              "fixed": "5.11"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.15.195"
            },
            {
              "fixed": "5.16"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.1.157"
            },
            {
              "fixed": "6.2"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.6.113"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.12.54"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.17.4"
            },
            {
              "fixed": "6.18"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.18.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142936.json"
  },
  "details": "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.",
  "id": "CVE-2026-142936",
  "modified": "2026-12-03T04:45:28.762298060Z",
  "published": "2026-12-03T03:26:08.300Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3ebb52ce6aaf8b14fd301c84a0fdfd1919041c11"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/53d92abd2be74e5475b853591044f2b97226fcad"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a62cd0e3741535b650ace9f96f82992d4e447956"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e21a6f39aa6d0336ffbf5f34e5fa20ff8de36773"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fbf982faa11289cf258a5f786a4eadcb6c74159c"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142936.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142936"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "quota: initialize dquot cache before mounting rootfs"
}