# CVE-2026-89759: mm/kmemleak: avoid soft lockup when scanning task stacks

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-11T19:47:01.313Z
- **Modified:** 2026-10-30T13:20:28.370Z

## Who should check

- Anyone running Linux \>= c4b28963fd79457315783b3b0f21c01eb88cfdc1, \< 2567818c2776d0a820506c3612261d9e24af7164; \>= c4b28963fd79457315783b3b0f21c01eb88cfdc1, \< f1cd6c4c35243377882c47236281d03ee3be6eeb; \>= c4b28963fd79457315783b3b0f21c01eb88cfdc1, \< 9a1b12c06c192290b8479de48f66f1e75d89c4b7; \>= c4b28963fd79457315783b3b0f21c01eb88cfdc1, \< 3fc8044251de21555fb02c365fa681bab8b0db55; \>= c4b28963fd79457315783b3b0f21c01eb88cfdc1, \< 1838c704bcb4fd3556cf67513c6f97a39099e35c; \>= c4b28963fd79457315783b3b0f21c01eb88cfdc1, \< 5d10d4e19e6daa487f0cd0ea6cba472325de92f9
- Anyone running Linux 5.10

## Description

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

mm/kmemleak: avoid soft lockup when scanning task stacks

Patch series "mm/kmemleak: avoid soft lockup when scanning task", v3.

kmemleak\_scan() scans every task stack under one rcu\_read\_lock() with no
reschedule point, which can trip the soft lockup watchdog on hosts with
very many threads.

That prints the following message, depending on the workload+host
configuration:

      watchdog: BUG: soft lockup - CPU\#35 stuck for 22s! \[kmemleak:537\]
       scan\_block
       kmemleak\_scan
       kmemleak\_scan\_thread
       kthread

Patch 1 walks the tasks with find\_ge\_pid() so the scan reschedules between
tasks

Patches 2-3 let the scan loops stop early once a scan is interrupted.


This patch (of 3):

kmemleak\_scan() walks every thread and scans its kernel stack under a
single rcu\_read\_lock() with no reschedule point.  On a host with very many
threads -- amplified by KASAN/lockdep in debug builds -- this loop can hog
a CPU long enough to trip the soft lockup watchdog:

  watchdog: BUG: soft lockup - CPU\#35 stuck for 22s! \[kmemleak:537\]
   scan\_block
   kmemleak\_scan
   kmemleak\_scan\_thread
   kthread

A cond\_resched() cannot be added directly: the loop runs inside an RCU
read-side critical section.

Walk the tasks one PID at a time with find\_ge\_pid(), taking the RCU read
lock only to look up and pin each task.  The stack is then scanned with no
lock held, so cond\_resched() runs between tasks and the scan stops early
on scan\_should\_stop().  This follows the next\_tgid()/task\_seq\_get\_next()
iteration pattern and keeps each RCU critical section short.

## Affected and fixed versions

- Linux: \>= c4b28963fd79457315783b3b0f21c01eb88cfdc1, \< 2567818c2776d0a820506c3612261d9e24af7164; \>= c4b28963fd79457315783b3b0f21c01eb88cfdc1, \< f1cd6c4c35243377882c47236281d03ee3be6eeb; \>= c4b28963fd79457315783b3b0f21c01eb88cfdc1, \< 9a1b12c06c192290b8479de48f66f1e75d89c4b7; \>= c4b28963fd79457315783b3b0f21c01eb88cfdc1, \< 3fc8044251de21555fb02c365fa681bab8b0db55; \>= c4b28963fd79457315783b3b0f21c01eb88cfdc1, \< 1838c704bcb4fd3556cf67513c6f97a39099e35c; \>= c4b28963fd79457315783b3b0f21c01eb88cfdc1, \< 5d10d4e19e6daa487f0cd0ea6cba472325de92f9 (cvelist)
- Linux: 5.10 (cvelist)

## Mitigation

- Upgrade Linux to 5d10d4e19e6daa487f0cd0ea6cba472325de92f9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89759. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89759.md
Affected: Linux >= c4b28963fd79457315783b3b0f21c01eb88cfdc1, < 2567818c2776d0a820506c3612261d9e24af7164; >= c4b28963fd79457315783b3b0f21c01eb88cfdc1, < f1cd6c4c35243377882c47236281d03ee3be6eeb; >= c4b28963fd79457315783b3b0f21c01eb88cfdc1, < 9a1b12c06c192290b8479de48f66f1e75d89c4b7; >= c4b28963fd79457315783b3…
Fixed in: Linux 2567818c2776d0a820506c3612261d9e24af7164, Linux 9a1b12c06c192290b8479de48f66f1e75d89c4b7, Linux 3fc8044251de21555fb02c365fa681bab8b0db55, Linux 1838c704bcb4fd3556cf67513c6f97a39099e35c, Linux 5d10d4e19e6daa487f0cd0ea6cba472325de92f9

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89759 being exploited?

There is no confirmed exploitation: CVE-2026-89759 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89759?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-89759?

Linux \>= c4b28963fd79457315783b3b0f21c01eb88cfdc1, \< 2567818c2776d0a820506c3612261d9e24af7164; \>= c4b28963fd79457315783b3b0f21c01eb88cfdc1, \< f1cd6c4c35243377882c47236281d03ee3be6eeb; \>= c4b28963fd79457315783b3b0f21c01eb88cfdc1, \< 9a1b12c06c192290b8479de48f66f1e75d89c4b7; \>= c4b28963fd79457315783b3b0f21c01eb88cfdc1, \< 3fc8044251de21555fb02c365fa681bab8b0db55; \>= c4b28963fd79457315783b3b0f21c01eb88cfdc1, \< 1838c704bcb4fd3556cf67513c6f97a39099e35c; \>= c4b28963fd79457315783b3b0f21c01eb88cfdc1, \< 5d10d4e19e6daa487f0cd0ea6cba472325de92f9; Linux 5.10.

### Is there a fix for CVE-2026-89759?

Yes. Fixed in Linux 2567818c2776d0a820506c3612261d9e24af7164, Linux 9a1b12c06c192290b8479de48f66f1e75d89c4b7, Linux 3fc8044251de21555fb02c365fa681bab8b0db55, Linux 1838c704bcb4fd3556cf67513c6f97a39099e35c, Linux 5d10d4e19e6daa487f0cd0ea6cba472325de92f9. Upgrade Linux to 5d10d4e19e6daa487f0cd0ea6cba472325de92f9 or later.

### How do I check if I'm affected by CVE-2026-89759?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/2567818c2776d0a820506c3612261d9e24af7164>
- other: <https://git.kernel.org/stable/c/f1cd6c4c35243377882c47236281d03ee3be6eeb>
- other: <https://git.kernel.org/stable/c/9a1b12c06c192290b8479de48f66f1e75d89c4b7>
- other: <https://git.kernel.org/stable/c/3fc8044251de21555fb02c365fa681bab8b0db55>
- other: <https://git.kernel.org/stable/c/1838c704bcb4fd3556cf67513c6f97a39099e35c>
- other: <https://git.kernel.org/stable/c/5d10d4e19e6daa487f0cd0ea6cba472325de92f9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89759>

HTML: <https://flawdb.com/CVE-2026-89759> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89759>
