FKIE_CVE-2026-99910

Vulnerability from fkie_nvd - Published: 2026-11-30 14:20 - Updated: 2026-11-30 14:20
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: mm: multi-gen LRU: fix NULL lruvec->pgdat deref with memcg disabled on cmdline When CONFIG_MEMCG=y, lruvec_pgdat() returns lruvec->pgdat, which for the per-node pgdat->__lruvec is left NULL by lruvec_init() and only filled in lazily by mem_cgroup_lruvec(). Normally that happens early, e.g. on the first folio_add_lru(). With cgroup_disable=memory, lru_gen_shrink_node() passes &pgdat->__lruvec directly to shrink_one(). If direct reclaim runs before anything has called mem_cgroup_lruvec() for the node, which can happen during early boot under memory pressure (e.g. a kdump kernel), get_swappiness() ends up dereferencing a NULL pgdat: Unable to handle kernel NULL pointer dereference at virtual address 0000000000005040 pc : get_swappiness+0x68/0xb0 lr : try_to_shrink_lruvec+0x54/0x2c0 Call trace: get_swappiness+0x68/0xb0 (P) try_to_shrink_lruvec+0x54/0x2c0 shrink_one+0x8c/0x240 shrink_node+0xc6c/0xe08 do_try_to_free_pages+0xdc/0x570 try_to_free_pages+0x124/0x278 __alloc_frozen_pages_noprof+0x6e8/0xf78 alloc_pages_mpol+0xc4/0x1c0 alloc_frozen_pages_noprof+0x54/0xe8 alloc_pages_noprof+0x1c/0x40 atomic_pool_expand+0x98/0x300 __dma_atomic_pool_init+0x58/0xd8 dma_atomic_pool_init+0x154/0x170 do_one_initcall+0x64/0x350 kernel_init_freeable+0x214/0x430 kernel_init+0x2c/0x208 ret_from_fork+0x10/0x20 The classic LRU path and MGLRU before per-node lru_gen_folio lists obtained the lruvec through mem_cgroup_lruvec(), which sets lruvec->pgdat. The above was hit on an arm64 kdump kernel (6.18-based) booted with cgroup_disable=memory nr_cpus=4. It also reproduces on mainline on an arm64 VM with CONFIG_ARM64_64K_PAGES=y, CONFIG_MEMCG=y, CONFIG_LRU_GEN_ENABLED=y and: mem=160M nr_cpus=4 coherent_pool=512M cgroup_disable=memory These options only serve to force direct reclaim early in boot; with 160M the boot eventually ends in OOM regardless. On mainline the first LRU reclaim happens while unpacking the initramfs, and faults the same way: Unable to handle kernel NULL pointer dereference at virtual address 0000000000005040 pc : get_swappiness+0xd4/0x150 Call trace: get_swappiness+0xd4/0x150 (P) try_to_shrink_lruvec+0x44/0x2b8 shrink_one+0x80/0x1a0 shrink_node+0xd98/0xea8 do_try_to_free_pages+0xf4/0x4b0 try_to_free_pages+0x110/0x360 __alloc_frozen_pages_noprof+0x8b0/0x1718 ... __filemap_get_folio_mpol+0x2ac/0x548 simple_write_begin+0x44/0xf8 page_symlink+0x178/0x198 ... do_populate_rootfs+0x13c/0x200
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "mm/vmscan.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "355ddf1882b6d170d1ec6d7fb069f280cc6f112c",
              "status": "affected",
              "version": "e4dde56cd208674ce899b47589f263499e5b8cdc",
              "versionType": "git"
            },
            {
              "lessThan": "13bd3aff7abfb3434dbd1592ebab6716acb02a35",
              "status": "affected",
              "version": "e4dde56cd208674ce899b47589f263499e5b8cdc",
              "versionType": "git"
            },
            {
              "lessThan": "482a6e8ab6ae8f719a204966688daecdbcd6ff70",
              "status": "affected",
              "version": "e4dde56cd208674ce899b47589f263499e5b8cdc",
              "versionType": "git"
            },
            {
              "lessThan": "27afd2719525a4bf9cd36e874e229506736d0262",
              "status": "affected",
              "version": "e4dde56cd208674ce899b47589f263499e5b8cdc",
              "versionType": "git"
            },
            {
              "lessThan": "183895979c441e52dbd651b388553b09eaa35cfa",
              "status": "affected",
              "version": "e4dde56cd208674ce899b47589f263499e5b8cdc",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "mm/vmscan.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.3"
            },
            {
              "lessThan": "6.3",
              "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.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.63",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm: multi-gen LRU: fix NULL lruvec-\u003epgdat deref with memcg disabled on cmdline\n\nWhen CONFIG_MEMCG=y, lruvec_pgdat() returns lruvec-\u003epgdat, which for the\nper-node pgdat-\u003e__lruvec is left NULL by lruvec_init() and only filled in\nlazily by mem_cgroup_lruvec(). Normally that happens early, e.g. on the\nfirst folio_add_lru().\n\nWith cgroup_disable=memory, lru_gen_shrink_node() passes \u0026pgdat-\u003e__lruvec\ndirectly to shrink_one(). If direct reclaim runs before anything has\ncalled mem_cgroup_lruvec() for the node, which can happen during early\nboot under memory pressure (e.g. a kdump kernel), get_swappiness() ends\nup dereferencing a NULL pgdat:\n\n  Unable to handle kernel NULL pointer dereference at virtual address 0000000000005040\n  pc : get_swappiness+0x68/0xb0\n  lr : try_to_shrink_lruvec+0x54/0x2c0\n  Call trace:\n   get_swappiness+0x68/0xb0 (P)\n   try_to_shrink_lruvec+0x54/0x2c0\n   shrink_one+0x8c/0x240\n   shrink_node+0xc6c/0xe08\n   do_try_to_free_pages+0xdc/0x570\n   try_to_free_pages+0x124/0x278\n   __alloc_frozen_pages_noprof+0x6e8/0xf78\n   alloc_pages_mpol+0xc4/0x1c0\n   alloc_frozen_pages_noprof+0x54/0xe8\n   alloc_pages_noprof+0x1c/0x40\n   atomic_pool_expand+0x98/0x300\n   __dma_atomic_pool_init+0x58/0xd8\n   dma_atomic_pool_init+0x154/0x170\n   do_one_initcall+0x64/0x350\n   kernel_init_freeable+0x214/0x430\n   kernel_init+0x2c/0x208\n   ret_from_fork+0x10/0x20\n\nThe classic LRU path and MGLRU before per-node lru_gen_folio lists\nobtained the lruvec through mem_cgroup_lruvec(), which sets\nlruvec-\u003epgdat.\n\nThe above was hit on an arm64 kdump kernel (6.18-based) booted with\ncgroup_disable=memory nr_cpus=4. It also reproduces on mainline on an\narm64 VM with CONFIG_ARM64_64K_PAGES=y, CONFIG_MEMCG=y,\nCONFIG_LRU_GEN_ENABLED=y and:\n\n  mem=160M nr_cpus=4 coherent_pool=512M cgroup_disable=memory\n\nThese options only serve to force direct reclaim early in boot; with\n160M the boot eventually ends in OOM regardless. On mainline the first\nLRU reclaim happens while unpacking the initramfs, and faults the same\nway:\n\n  Unable to handle kernel NULL pointer dereference at virtual address 0000000000005040\n  pc : get_swappiness+0xd4/0x150\n  Call trace:\n   get_swappiness+0xd4/0x150 (P)\n   try_to_shrink_lruvec+0x44/0x2b8\n   shrink_one+0x80/0x1a0\n   shrink_node+0xd98/0xea8\n   do_try_to_free_pages+0xf4/0x4b0\n   try_to_free_pages+0x110/0x360\n   __alloc_frozen_pages_noprof+0x8b0/0x1718\n   ...\n   __filemap_get_folio_mpol+0x2ac/0x548\n   simple_write_begin+0x44/0xf8\n   page_symlink+0x178/0x198\n   ...\n   do_populate_rootfs+0x13c/0x200"
    }
  ],
  "id": "CVE-2026-99910",
  "lastModified": "2026-11-30T14:20:26.827",
  "metrics": {},
  "published": "2026-11-30T14:20:26.827",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/13bd3aff7abfb3434dbd1592ebab6716acb02a35"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/183895979c441e52dbd651b388553b09eaa35cfa"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/27afd2719525a4bf9cd36e874e229506736d0262"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/355ddf1882b6d170d1ec6d7fb069f280cc6f112c"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/482a6e8ab6ae8f719a204966688daecdbcd6ff70"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.