SB20261023147 - Reliance on Untrusted Inputs in a Security Decision in Linux kernel riscv kernel



SB20261023147 - Reliance on Untrusted Inputs in a Security Decision in Linux kernel riscv kernel

Published: October 23, 2026

Security Bulletin ID SB20261023147
CSH Severity
Low
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Local access
Highest impact Code execution

Breakdown by Severity

Low 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Reliance on Untrusted Inputs in a Security Decision (CVE-ID: CVE-2026-99018)

CWE-ID: CWE-807 - Reliance on Untrusted Inputs in a Security Decision

CVSSv4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a local user to write to arbitrary kernel memory and hijack kernel control flow to execute arbitrary code with kernel privileges.

The vulnerability exists due to reliance on a user-controlled register for a security decision in the Linux kernel RISC-V handle_exception() shadow call stack handling when entering the kernel from userspace. A local user can set tp to the linear-map address of the current task_struct and supply a malicious gp value before triggering a trap to bypass the shadow call stack pointer reload, causing kernel functions to write return addresses to attacker-controlled memory and return through attacker-controlled addresses.

Exploitation requires CONFIG_SHADOW_CALL_STACK to be enabled.


Remediation

Install update from vendor's website.