# CVE-2026-43292: mm/vmalloc: prevent RCU stalls in kasan_release_vmalloc_node

- 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.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-08T13:11:16.017Z
- Modified: 2026-11-11T20:10:00.273Z
- 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/vmalloc: prevent RCU stalls in kasan_release_vmalloc_node

When CONFIG_PAGE_OWNER is enabled, freeing KASAN shadow pages during
vmalloc cleanup triggers expensive stack unwinding that acquires RCU read
locks.  Processing a large purge_list without rescheduling can cause the
task to hold CPU for extended periods (10+ seconds), leading to RCU stalls
and potential OOM conditions.

The issue manifests in purge_vmap_node() -> kasan_release_vmalloc_node()
where iterating through hundreds or thousands of vmap_area entries and
freeing their associated shadow pages causes:

  rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
  rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6229/1:b..l
  ...
  task:kworker/0:17 state:R running task stack:28840 pid:6229
  ...
  kasan_release_vmalloc_node+0x1ba/0xad0 mm/vmalloc.c:2299
  purge_vmap_node+0x1ba/0xad0 mm/vmalloc.c:2299

Each call to kasan_release_vmalloc() can free many pages, and with
page_owner tracking, each free triggers save_stack() which performs stack
unwinding under RCU read lock.  Without yielding, this creates an
unbounded RCU critical section.

Add periodic cond_resched() calls within the loop to allow:
- RCU grace periods to complete
- Other tasks to run
- Scheduler to preempt when needed

The fix uses need_resched() for immediate response under load, with a
batch count of 32 as a guaranteed upper bound to prevent worst-case stalls
even under light load.

(As written by CVE List.)

## Affected

- Linux Linux: from 282631cb2447318e2a55b41a665dbe8571c46d70 before 2efa9c02c9b4c0d6866aa445f11056809b25ca28; from 282631cb2447318e2a55b41a665dbe8571c46d70 before 1afe45f89d54b7183768ebbbbf14238ec187ab5c; from 282631cb2447318e2a55b41a665dbe8571c46d70 before b351fbe71091f7c8676c8ba597653d08b6719447; from 282631cb2447318e2a55b41a665dbe8571c46d70 before 5747435e0fd474c24530ef1a6822f47e7d264b27; 6.9 (not affected: before 6.9; from 6.12.75 up to 6.12.*; from 6.18.16 up to 6.18.*; from 6.19.6 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.9 before 6.12.75; from 6.13 before 6.18.16; from 6.19 before 6.19.6

## References

- <https://git.kernel.org/stable/c/2efa9c02c9b4c0d6866aa445f11056809b25ca28> (patch)
- <https://git.kernel.org/stable/c/1afe45f89d54b7183768ebbbbf14238ec187ab5c> (patch)
- <https://git.kernel.org/stable/c/b351fbe71091f7c8676c8ba597653d08b6719447> (patch)
- <https://git.kernel.org/stable/c/5747435e0fd474c24530ef1a6822f47e7d264b27> (patch)

## Sources

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

---

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