CVE-2026-99018
Patch priority
RegularFix with the next regular update.
- CVSS
- 7.8
- Severity
- 7.8
- EPSS
- 0.2 %
- Percentile
- 7
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Everyone who uses Linux-Kernel.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- The attacker must already be logged in – this lowers the risk.
What to do?
- Include it in your next regular update.
- Install your distribution’s kernel update and reboot – the new kernel only runs after a restart.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDIn the Linux kernel, the following vulnerability has been resolved: riscv: entry: gate shadow call stack reload on sstatus.SPP, not tp Under CONFIG_SHADOW_CALL_STACK, handle_exception() reloads the kernel shadow call stack pointer (gp) only when the trap came from userspace. It made that decision with scs_load_current_if_task_changed, which compares the trap-time tp (read back from sscratch into s5) against the current tp: beq \prev, tp, _skip_scs scs_load_current _skip_scs: tp is a user-writable register. A user task that sets tp to the linear-map address of its own task_struct (¤t) before trapping makes the comparison succeed (can achieve by brute force with KASLR enable under our test), so the kernel skips scs_load_current and keeps running with the gp that userspace left in place. Under CONFIG_SHADOW_CALL_STACK gp is the shadow call stack pointer and load_global_pointer is a no-op, so the compiler-emitted "sd ra, -8(gp)" / "ld ra, -8(gp)" in every non-leaf function then write to, and return through, an attacker-controlled address -- an unprivileged kernel arbitrary-write and control-flow-hijack primitive. The poisoned gp is saved to task_struct.scs_sp on return, so the reload is skipped on every subsequent entry as well. Decide "came from userspace" from the hardware sstatus.SPP bit (already in s1 at this point) instead of from tp, mirroring the check that ret_from_exception already uses a few instructions later. SPP is written by hardware on trap entry and cannot be forged from U-mode. Legitimate behaviour is unchanged: user entries (SPP=0) reload the task shadow call stack, nested kernel entries (SPP=1) skip it.
- Published
- 23.10.2026
- Modified
- 24.10.2026
- Status
- Received
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor updates
18- Ubuntu: USN-9192-1 – Linux kernel (NVIDIA) vulnerabilities 24.11.2026 · Critical · Patch day
- Ubuntu: USN-9183-1 – Linux kernel (FIPS) vulnerabilities 20.11.2026 · Critical · Patch day
- Ubuntu: USN-9160-1 – Linux kernel (Azure) vulnerabilities 19.11.2026 · Critical · Patch day
- Ubuntu: USN-9091-1 – Linux kernel (NVIDIA Tegra) vulnerabilities 13.11.2026 · Critical · Patch day
- Microsoft: Mariner 12.11.2026 · High · Patch day
- Ubuntu: USN-9066-1 – Linux kernel (HWE) vulnerabilities 12.11.2026 · Critical · Patch day
- Ubuntu: USN-9018-2 – Linux kernel (HWE) vulnerabilities 12.11.2026 · Critical · Patch day
- Ubuntu: USN-9040-1 – Linux kernel (Low Latency NVIDIA) vulnerabilities 11.11.2026 · Critical · Patch day
- Ubuntu: USN-9039-1 – Linux kernel (Azure CVM) vulnerabilities 11.11.2026 · Critical · Patch day
- Ubuntu: USN-9022-1 – Linux kernel vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9024-1 – Linux kernel vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9025-1 – Linux kernel vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9026-1 – Linux kernel (Azure) vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9023-1 – Linux kernel vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9020-1 – Linux kernel vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9021-1 – Linux kernel (Raspberry Pi) vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9019-1 – Linux kernel (Azure) vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9018-1 – Linux kernel vulnerabilities 10.11.2026 · Critical · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.