# CVE-2026-46017: mm: fix deferred split queue races during migration

- Severity: Medium 4.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-05-27T12:56:18.800Z
- Modified: 2026-11-06T17:17:30.633Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

mm: fix deferred split queue races during migration

migrate_folio_move() records the deferred split queue state from src and
replays it on dst.  Replaying it after remove_migration_ptes(src, dst, 0)
makes dst visible before it is requeued, so a concurrent rmap-removal path
can mark dst partially mapped and trip the WARN in deferred_split_folio().

Move the requeue before remove_migration_ptes() so dst is back on the
deferred split queue before it becomes visible again.

Because migration still holds dst locked at that point, teach
deferred_split_scan() to requeue a folio when folio_trylock() fails. 
Otherwise a fully mapped underused folio can be dequeued by the shrinker
and silently lost from split_queue.

[ziy@nvidia.com: move the comment]

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before cbf75cf212ee6e499abc1757fb4b5ae6d70ed0aa; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 3bac01168982ec3e3bf87efdc1807c7933590a85; before 7.0.4 (not affected: from 7.0.4 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: before 7.0.4

## References

- <https://git.kernel.org/stable/c/cbf75cf212ee6e499abc1757fb4b5ae6d70ed0aa> (patch)
- <https://git.kernel.org/stable/c/3bac01168982ec3e3bf87efdc1807c7933590a85> (patch)

## Sources

- CVE List: [CVE-2026-46017](https://www.cve.org/CVERecord?id=CVE-2026-46017), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-46017](https://nvd.nist.gov/vuln/detail/CVE-2026-46017), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-46017 · Whole record: https://cve.day/CVE-2026-46017.json · Rebuilt by cve.day 2026-11-25T22:59:22.547Z
