{"id":"CVE-2026-99728","aliases":[],"title":"mm/huge_memory: fix list corruption when deferred_split_scan() races with deferred_split_folio()","originalDescription":"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.","severity":{"cvss":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00153,"percentile":0.04635},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=7.2.0, <7.3.5","fixed":"7.3.5"},{"ecosystem":"vendor","name":"Linux","range":">=fafaeceb89a5e2e856ff04c2cacb6cae4a2ecb67, <877a9fbabf760714f510f36b310a986c4be2c2d8","fixed":"877a9fbabf760714f510f36b310a986c4be2c2d8"},{"ecosystem":"vendor","name":"Linux","range":">=fafaeceb89a5e2e856ff04c2cacb6cae4a2ecb67, <f09171b67ea06a7fe425db33e8b74a92de1426b9","fixed":"f09171b67ea06a7fe425db33e8b74a92de1426b9"}],"references":[{"url":"https://git.kernel.org/stable/c/877a9fbabf760714f510f36b310a986c4be2c2d8","type":"other"},{"url":"https://git.kernel.org/stable/c/f09171b67ea06a7fe425db33e8b74a92de1426b9","type":"other"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99728.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99728","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-22T11:19:01.214Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99728","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:46.275Z"},{"name":"osv","at":"2026-11-22T13:31:44.990Z","url":"https://osv.dev/vulnerability/CVE-2026-99728","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T07:04:06.017Z"},{"name":"cvelistV5","at":"2026-11-23T21:31:03.741Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99728","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:16.036Z"}],"firstSeenAt":"2026-11-20T06:28:16.036Z","publishedAt":"2026-11-20T05:51:03.661Z","modifiedAt":"2026-11-22T13:00:35.731Z"}