VDB

CVE-2026-89759

CVE-2026-89759 PUBLISHED

mm/kmemleak: avoid soft lockup when scanning task stacks

Reported by linux · Published September 11, 2026

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.

EPSS 0.20% · 9.5th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxf1cd6c4c35243377882c47236281d03ee3be6eeb, 9a1b12c06c192290b8479de48f66f1e75d89c4b7, 5d10d4e19e6daa487f0cd0ea6cba472325de92f9, 3fc8044251de21555fb02c365fa681bab8b0db55, 2567818c2776d0a820506c3612261d9e24af7164, 1838c704bcb4fd3556cf67513c6f97a39099e35c

Risk scores

EPSS Score
0.20%
9.5th percentile

Affected products

VendorProductVersions
LinuxLinuxc4b28963fd79457315783b3b0f21c01eb88cfdc1, c4b28963fd79457315783b3b0f21c01eb88cfdc1, c4b28963fd79457315783b3b0f21c01eb88cfdc1
LinuxLinux5.10, 0, 6.1.191
LinuxLinux7.3, 0, 6.1.191
linuxlinux_kernel5.10, 5.10, 5.10

Timeline

  • Sep 11, 2026 CVE Published
  • Sep 12, 2026 EPSS Score (15 in total, the first dated here)
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-89759
vulnetix vdb fixes CVE-2026-89759

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89759/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›