← CVE Intelligence

CVE-2026-74644

mm/damon/ops-common: putback folios on invalid migrate nid PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: mm/damon/ops-common: putback folios on invalid migrate nid damon_pa_migrate() and damos_va_migrate() isolate folios into a local list and then call damon_migrate_pages(). When target_nid is invalid (including the scheme default NUMA_NO_NODE / -1), damon_migrate_pages() returns early without putting the folios back to the LRU. Callers then discard the list head while those folios remain isolated with an extra reference taken by folio_isolate_lru(). The pages stay off the LRU for as long as the mapping exists (anon active+inactive counts drop while RSS does not), and the leftover references can pin the pages after the mapping is gone. Put the folios back on the invalid-nid path so ignored migration requests still return them to the LRU.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 7c303fa1f311aadc17fa82b7bbf776412adf45de before 7001c0a1bc9018cd5b2b72ebebb216d738b2ec81; affected 7e6c3130690a01076efdf45aa02ba5d5c16849a0 before 460181e4bb47a57776c64f0832c2096de8878cb3; affected 7e6c3130690a01076efdf45aa02ba5d5c16849a0 before cfef454862b7d2776e0955b873dd59af6b47cfcb; affected 7e6c3130690a01076efdf45aa02ba5d5c16849a0 before 5deb65c34e682e7c5f5df417a70e223e8fcc5f5a; affected 9d0c2d15aff96746f99a7c97221bb8ce5b62db19; affected 6.12.44 before 6.12.105; affected 6.16.4 before 6.17
Linux / Linuxaffected 6.17; unaffected 0 before 6.17; unaffected 6.12.105 through 6.12.*; unaffected 6.18.45 through 6.18.*; unaffected 7.1.9 through 7.1.*; unaffected 7.2 through *

CWE

No CWE identifiers supplied.

References