mm/damon/ops-common: putback folios on invalid migrate nid
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel cfef454862b7d2776e0955b873dd59af6b47cfcb, Kernel 6.17, Kernel 7001c0a1bc9018cd5b2b72ebebb216d738b2ec81 and 5 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=7e6c3130690a01076efdf45aa02ba5d5c16849a0 <cfef454862b7d2776e0955b873dd59af6b47cfcb, >=6.16.4 <6.17, >=7c303fa1f311aadc17fa82b7bbf776412adf45de <7001c0a1bc9018cd5b2b72ebebb216d738b2ec81, >=7e6c3130690a01076efdf45aa02ba5d5c16849a0 <460181e4bb47a57776c64f0832c2096de8878cb3, >=7e6c3130690a01076efdf45aa02ba5d5c16849a0 <5deb65c34e682e7c5f5df417a70e223e8fcc5f5a, =6.17, =9d0c2d15aff96746f99a7c97221bb8ce5b62db19, >=6.12.44 <6.12.105 | cfef454862b7d2776e0955b873dd59af6b47cfcb, 6.17, 7001c0a1bc9018cd5b2b72ebebb216d738b2ec81, 460181e4bb47a57776c64f0832c2096de8878cb3, 5deb65c34e682e7c5f5df417a70e223e8fcc5f5a, 6.12.105 |
| linux-kernel: Kernel | >=6.16.4 <6.17, >=6.17.0 <6.18.45, >=6.19.0 <7.1.9, >=6.12.44 <6.12.105 | 6.17, 6.18.45, 7.1.9, 6.12.105 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket