CVE-2026-90046
JSON

7.8high

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

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.14% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: mm/page_alloc: no usar spin_trylock() en NMI en UP Serie de parches 'mm/page_alloc: correcciones para free_pages_nolock() en RT/UP'. Errores preexistentes encontrados por Sashiko durante la revisión de esta otra serie: HTTPS://lore.kernel.org/all/20260703-alloc-trylock-v5-0-c87b714e19d3@google.com/ No he reproducido estos errores, y sospecho que no hay ningún usuario del mundo real afectado por ellos. Este parche (de 2): Como se señala en can_spin_trylock(), usar esto es inseguro en este contexto. El commit 620b46ed6ae17 ('mm/page_alloc: devolver NULL temprano desde alloc_frozen_pages_nolock() en NMI en UP') solucionó esto en el lado de asignación, pero pasó por alto el lado de liberación. Impacto: Si los programas BPF que utilizan estas características en NMI (probablemente rastreo) están presentes en compilaciones no SMP, esto podría bloquear el kernel y probablemente sea explotable por atacantes locales para la escalada de privilegios.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-90046 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-90046 changed 2026-10-19Public domain