# CVE-2026-64415: mm/swap: add cond_resched() in swap_reclaim_full_clusters to prevent softlockup

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/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.13%, higher than 1% of CVEs (2026-11-30)
- Published: 2026-07-25T08:50:55.226Z
- Modified: 2026-09-04T15:25:09.633Z
- Weaknesses: CWE-667
- Assigned by: Linux

## Description

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

mm/swap: add cond_resched() in swap_reclaim_full_clusters to prevent softlockup

We hit a real softlockup in an internal stress test environment.  The
workload was LTP memory/swap stress on a large arm64 machine, with 320
CPUs, about 1TB memory and an 8.6GB swap device.  The system was under
heavy load and the swap device had a large number of full clusters.  The
softlockup was triggered during a stress test after about 3 days.

So, add periodic cond_resched() calls during large full_clusters
reclaim operations to prevent softlockup issues.

Detailed call trace as follow:

PID: 3817773  TASK: ffff0883bb28b780  CPU: 48   COMMAND: "kworker/48:7"
   #0 [ffff800080183d10] __crash_kexec at ffffa4c1361e5de4
   #1 [ffff800080183d90] panic at ffffa4c1360d5e9c
   #2 [ffff800080183e20] watchdog_timer_fn at ffffa4c136231fa8
   ...
  #16 [ffff8000c4ad3cb0] swap_cache_del_folio at ffffa4c1363e1614
  #17 [ffff8000c4ad3ce0] __try_to_reclaim_swap at ffffa4c1363e4bfc
  #18 [ffff8000c4ad3d40] swap_reclaim_full_clusters at ffffa4c1363e5474
  #19 [ffff8000c4ad3da0] swap_reclaim_work at ffffa4c1363e550c
  #20 [ffff8000c4ad3dc0] process_one_work at ffffa4c136102edc
  #21 [ffff8000c4ad3e10] worker_thread at ffffa4c136103398
  #22 [ffff8000c4ad3e70] kthread at ffffa4c13610d95c

(As written by CVE List.)

## Affected

- Linux Linux: from 5168a68eb78fa1c67a8b2d31d0642c7fd866cc12 before 60cbe67d1342f34b66df1c2ee328e3cd333767d7; from 5168a68eb78fa1c67a8b2d31d0642c7fd866cc12 before 69c0e6246575b780ae0d3f411c749bcf13c221f3; from 5168a68eb78fa1c67a8b2d31d0642c7fd866cc12 before 2a55fdf9f746a1a6ced7fd62ea1080b8a917e0b0; from 5168a68eb78fa1c67a8b2d31d0642c7fd866cc12 before 66366d291f666ddeda5f8c84f253e308de3e6b55; 6.12 (not affected: before 6.12; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 6.12.1 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4; 6.12

## References

- <https://git.kernel.org/stable/c/60cbe67d1342f34b66df1c2ee328e3cd333767d7> (patch)
- <https://git.kernel.org/stable/c/69c0e6246575b780ae0d3f411c749bcf13c221f3> (patch)
- <https://git.kernel.org/stable/c/2a55fdf9f746a1a6ced7fd62ea1080b8a917e0b0> (patch)
- <https://git.kernel.org/stable/c/66366d291f666ddeda5f8c84f253e308de3e6b55> (patch)

## Sources

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

---

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