{"id":"CVE-2026-99728","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…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cvssSource":"cna","vendor":"Linux","product":"Linux","affected":["Linux >= fafaeceb89a5e2e856ff04c2cacb6cae4a2ecb67 < 877a9fbabf760714f510f36b310a986c4be2c2d8","Linux >= fafaeceb89a5e2e856ff04c2cacb6cae4a2ecb67 < f09171b67ea06a7fe425db33e8b74a92de1426b9","Linux 7.2"],"published":"2026-11-20","updated":"2026-11-22","sourceUpdated":"2026-11-22T11:09:54.039Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-99728","references":[{"url":"https://git.kernel.org/stable/c/877a9fbabf760714f510f36b310a986c4be2c2d8"},{"url":"https://git.kernel.org/stable/c/f09171b67ea06a7fe425db33e8b74a92de1426b9"}],"tags":["cve.org"],"epss":0.00153,"epssPercentile":0.02291,"ingestedAt":"2026-11-23T23:39:56.434Z","slug":"CVE-2026-99728","body":"## Overview\n\nIn 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.\n\n## Affected\n\n- `Linux >= fafaeceb89a5e2e856ff04c2cacb6cae4a2ecb67 < 877a9fbabf760714f510f36b310a986c4be2c2d8`\n- `Linux >= fafaeceb89a5e2e856ff04c2cacb6cae4a2ecb67 < f09171b67ea06a7fe425db33e8b74a92de1426b9`\n- `Linux 7.2`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}