5.5medium
powerpc/32: Fix hardlockup on vmap stack overflow
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.32% (higher than 18% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: powerpc/32: Fix hardlockup on vmap stack overflow Since the commit c118c7303ad5 ("powerpc/32: Fix vmap stack - Do not activate MMU before reading task struct") a vmap stack overflow results in a hard lockup. This is because emergency_ctx is still addressed with its virtual address allthough data MMU is not active anymore at that time. Fix it by using a physical address instead.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from c118c7303ad528be8ff2aea8cd1ee15452c763f0 before dfe906da9a1abebdebe8b15bb3e66a2578f6c4c7, from c118c7303ad528be8ff2aea8cd1ee15452c763f0 before c4e3ff8b8b1d54f0c755670174c453b06e17114b, from c118c7303ad528be8ff2aea8cd1ee15452c763f0 before 5bb60ea611db1e04814426ed4bd1c95d1487678e, 3b234b4a6651ed6bdca94553aa0038fc7ded9271, from 5.9.5 before 5.10, 5.10 Not affected: before 5.10, from 5.10.83 up to 5.10.*, from 5.15.6 up to 5.15.*, from 5.16 up to * | CVE List |
| linux linux_kernel | from 5.9.5 before 5.10.83, from 5.11 before 5.15.6, 5.16 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: powerpc/32: Fix hardlockup on vmap stack overflow Since the commit c118c7303ad5 ("powerpc/32: Fix vmap stack - Do not activate MMU before reading task struct") a vmap stack overflow results in a hard lockup. This is because emergency_ctx is still addressed with its virtual address allthough data MMU is not active anymore at that time. Fix it by using a physical address instead.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: powerpc/32: corrige el bloqueo físico en el desbordamiento de la pila de vmap Desde El commit c118c7303ad5 ("powerpc/32: corrige la pila de vmap - No activar MMU antes de leer la estructura de la tarea") un desbordamiento de la pila de vmap resulta en un bloqueo duro. Esto se debe a que Emergency_ctx todavía se aborda con su dirección virtual, aunque la MMU de datos ya no esté activa en ese momento. Solucionarlo utilizando una dirección física en su lugar.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47567 changed 2026-05-23 | CVE Terms of Use |
| NVD | CVE-2021-47567 changed 2026-06-17 | Public domain |