{"id":"CVE-2026-99728","aliases":["CVE-2026-99728"],"related":[],"kind":"vulnerability","state":"published","title":"mm/huge_memory: fix list corruption when deferred_split_scan() races with deferred_split_folio()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/huge_memory: fix list corruption when deferred_split_scan() races with deferred_split_folio()\n\nSince the deferred split queue became a list_lru, the isolate callback\nmoves the folios it took a reference on to an on-stack list, linked\nthrough folio->_deferred_list, and deferred_split_scan() takes them off\nthat list with list_del_init() without holding the list_lru lock.\n\ndeferred_split_folio() does not know about the on-stack list. It only\nholds the list_lru lock when it looks at the same list_head, and it can\nrun for such a folio: a THP is queued when it is mapped, as a candidate\nfor the underused check, and is queued \"again\" when a part of it gets\nunmapped:\n\n  CPU0 deferred_split_scan()          CPU1 deferred_split_folio()\n  list_del_init(&folio->_deferred_list)\n    next->prev = prev\n    prev->next = next\n    entry->next = entry\n                                      list_lru_lock_irqsave()\n                                      folio_set_partially_mapped()\n                                      __list_lru_add()\n                                        list_empty(item)  -> true\n                                        list_add_tail(item, &l->list)\n                                          item->next = &l->list\n                                          item->prev = tail\n    entry->prev = entry\n\nThe folio now sits on the list_lru with ->prev pointing to itself. The\nnext removal leaves the neighbours pointing to it, and they still do so\nafter the folio has been freed. With CONFIG_DEBUG_LIST:\n\n  list_del corruption. prev->next should be ffd4000000270090, but was\n  ffd4000000278090. (prev=ffd4000000270090)\n\nFix it by grabbing the lock around list_del_init() so\ndeferred_split_folio() cannot race with it.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/huge_memory: fix list corruption when deferred_split_scan() races with deferred_split_folio()\n\nSince the deferred split queue became a list_lru, the isolate callback\nmoves the folios it took a reference on to an on-stack list, linked\nthrough folio->_deferred_list, and deferred_split_scan() takes them off\nthat list with list_del_init() without holding the list_lru lock.\n\ndeferred_split_folio() does not know about the on-stack list. It only\nholds the list_lru lock when it looks at the same list_head, and it can\nrun for such a folio: a THP is queued when it is mapped, as a candidate\nfor the underused check, and is queued \"again\" when a part of it gets\nunmapped:\n\n  CPU0 deferred_split_scan()          CPU1 deferred_split_folio()\n  list_del_init(&folio->_deferred_list)\n    next->prev = prev\n    prev->next = next\n    entry->next = entry\n                                      list_lru_lock_irqsave()\n                                      folio_set_partially_mapped()\n                                      __list_lru_add()\n                                        list_empty(item)  -> true\n                                        list_add_tail(item, &l->list)\n                                          item->next = &l->list\n                                          item->prev = tail\n    entry->prev = entry\n\nThe folio now sits on the list_lru with ->prev pointing to itself. The\nnext removal leaves the neighbours pointing to it, and they still do so\nafter the folio has been freed. With CONFIG_DEBUG_LIST:\n\n  list_del corruption. prev->next should be ffd4000000270090, but was\n  ffd4000000278090. (prev=ffd4000000270090)\n\nFix it by grabbing the lock around list_del_init() so\ndeferred_split_folio() cannot race with it.","source":"cvelist"}],"published":"2026-11-20T05:51:03.661Z","modified":"2026-11-22T11:17:07.830Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"fafaeceb89a5e2e856ff04c2cacb6cae4a2ecb67","fixed":"877a9fbabf760714f510f36b310a986c4be2c2d8","status":"affected"},{"type":"git","introduced":"fafaeceb89a5e2e856ff04c2cacb6cae4a2ecb67","fixed":"f09171b67ea06a7fe425db33e8b74a92de1426b9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.2","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/877a9fbabf760714f510f36b310a986c4be2c2d8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f09171b67ea06a7fe425db33e8b74a92de1426b9","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99728","url":"https://www.cve.org/CVERecord?id=CVE-2026-99728","licence":"CVE Terms of Use","modified":"2026-11-22T11:09:54.039Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99728","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99728","licence":"Public domain","modified":"2026-11-22T11:17:07.830Z"}],"updatedAt":"2026-11-25T22:59:52.323Z","epss":{"score":0.00153,"percentile":0.04644,"date":"2026-12-01T12:00:22.000Z"}}