Kernel control-flow hijack via forged trap-origin comparison
Published Oct 23, 2026 · Updated Oct 23, 2026
Shadow-stack bypass in Linux RISC-V trap entry allows local users to overwrite kernel memory through crafted register values. In handle_exception(), scs_load_current_if_task_changed trusts the user-writable tp register to decide whether to reload the shadow call stack, leaving an attacker-controlled gp active when tp matches the current task address. Exploitation requires CONFIG_SHADOW_CALL_STACK and matching that address; subsequent kernel calls write through the poisoned pointer and return through attacker-controlled memory.
Summary
What happened
Shadow-stack bypass in Linux RISC-V trap entry allows local users to overwrite kernel memory through crafted register values. In handle_exception(), scs_load_current_if_task_changed trusts the user-writable tp register to decide whether to reload the shadow call stack, leaving an attacker-controlled gp active when tp matches the current task address. Exploitation requires CONFIG_SHADOW_CALL_STACK and matching that address; subsequent kernel calls write through the poisoned pointer and return through attacker-controlled memory.
The record
- CVE
- CVE-2026-99018
- Published
- Oct 23, 2026
- Updated
- Oct 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 23, 2026CVE publishedPublication date reported by the CVE source.
- Oct 23, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.7
- Affected versionversion=d1584d791a297aa8ed93503382a682a6ecfc4218 <37b4401ee6fa06046446d55e97e8d11784080843
- Affected versionversion=d1584d791a297aa8ed93503382a682a6ecfc4218 <4d0697f192975dab5985e921989be1d85cf580e9
- Affected versionversion=d1584d791a297aa8ed93503382a682a6ecfc4218 <6639735367a7d491977e9e5e7afc50b489d81d83
- Affected versionversion=d1584d791a297aa8ed93503382a682a6ecfc4218 <7d1367a53137e379498eb8791295e58854378636
What conditions does exploitation require?
What is affected?
Published CVSS scores
No CVSS assessment is available in this record.
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Activity data is delayed. The latest report is Sep 28, 2026.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Get started to see how Hinoki identifies affected software and validates exploitability in your environment.
Contact us