# CVE-2026-90046: mm/page_alloc: don't spin_trylock() in NMI on UP

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-09-16T10:33:43.156Z
- Modified: 2026-10-19T09:18:52.913Z
- Assigned by: Linux

## Description

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

mm/page_alloc: don't spin_trylock() in NMI on UP

Patch series "mm/page_alloc: fixes for free_pages_nolock() on RT/UP".

Pre-existing bugs found by Sashiko during review of this other series:
https://lore.kernel.org/all/20260703-alloc-trylock-v5-0-c87b714e19d3@google.com/

I have not reproduced these bugs, and I suspect there is no real-world
user that is affected by them.


This patch (of 2):

As noted in can_spin_trylock(), using this is unsafe in this context. 
commit 620b46ed6ae17 ("mm/page_alloc: return NULL early from
alloc_frozen_pages_nolock() in NMI on UP") fixed this on the alloc side
but missed the free side.

Impact: If BPF programs using these features in NMI (probably tracing) are
present on non-SMP builds this might crash the kernel and is probably
exploitable by local attackers for privilege escalation.

(As written by CVE List.)

## Affected

- Linux Linux: from 8c57b687e8331eb80e302a2c528b18b966a9ac7a before 06c76d3c389ff504052f64b1acee44651bd847fa; from 8c57b687e8331eb80e302a2c528b18b966a9ac7a before 68a069b407303e71db371df85036101e8ff59280; from 8c57b687e8331eb80e302a2c528b18b966a9ac7a before 3105ae628fb785d48b49256468be4f21a7b3cfc0; 6.15 (not affected: before 6.15; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/06c76d3c389ff504052f64b1acee44651bd847fa>
- <https://git.kernel.org/stable/c/68a069b407303e71db371df85036101e8ff59280>
- <https://git.kernel.org/stable/c/3105ae628fb785d48b49256468be4f21a7b3cfc0>

## Sources

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

---

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