CyberRota Analysis
AI-GeneratedThe vulnerability in the Linux kernel affects the memory management subsystem, specifically in the handling of folios during migration when an invalid target node ID is specified. This flaw can lead to memory leaks, as folios remain isolated and off the least recently used (LRU) list, potentially causing increased memory usage and performance degradation. Linux system administrators and developers managing memory-intensive applications should prioritize addressing this issue to ensure optimal performance and resource management.
Original NVD Description
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.