CVE-2026-89903Linux vulnerability
CVSS score
7.8
High
CVSS 3.1 from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Exploit probability (EPSS)
0.18%
0.18% chance of exploitation in the next 30 days, higher than 7.02% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
In the Linux kernel, the following vulnerability has been resolved:
LoongArch: Do not save/restore percpu base register in rethook trampoline
The rethook trampoline saves $r21 ($u0), the percpu base, into its frame
at entry and restores it at exit. Inbetween rethook_trampoline_handler()
may schedule via preempt_enable_notrace().
If the task migrates to another CPU, the frame's $r21 holds the old
CPU's percpu base, and restoring it poisons $r21 on the new CPU. Until
the next user->kernel transition heals $r21, all this_cpu_*() accesses
(runqueues, RCU per-CPU data, timer tick programming, FPU ownership)
hit the wrong CPU's percpu area.
Under kretprobe-heavy preemptible load this can corrupt scheduler and
timer state: scheduling-while-atomic splats, wrong-CPU RCU warnings,
WARN_ON_ONCE(rq != this_rq()) in nohz_balance_exit_idle(), and CPUs
parking in the idle loop with the constant timer never re-armed (hard
lockup). Reproduces on a Loongson-3A6000 with kretprobes on VFS paths
plus heavy file churn (OS install / unsquashfs).
By convention $r21 always holds the current CPU's percpu base in kernel
mode: SAVE_SOME() at exception entry reloads it only when coming from
user mode, and RESTORE_SOME() restores it only when returning to user
mode; the context-switch path never writes it. Therefore the live $r21
at trampoline exit is already correct, and nothing inbetween can change
it legitimately (kernel C code cannot write a global register variable).
The same flaw existed even in the pre-rethook kretprobe trampoline since
v6.3; it was carried over when rethook replaced it. Drop both the save
and the restore here. Drop the restore is enough to solve the issue, and
drop the save is to keep the code tidy and no need to clear it.
Source: NVD · CNA: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
How to fix it, step by step
Check whether you're affected
Find every system running Linux and compare its version with the affected versions.
Watch for an official fix
No fix or advisory is listed in the official record yet. Follow the vendor's security announcements; this page updates when one is published.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Linux Linux | ≥ 3f5536860086d906b01ec5ed68cf50c7edcc40af, < a03b5e7483ad2c33ba5dd2adb8552e84bfee8fe2 · ≥ 3f5536860086d906b01ec5ed68cf50c7edcc40af, < 8f15e95b438bc6b3c9f23a33c9a0d0678ebd1dc8 · ≥ 3f5536860086d906b01ec5ed68cf50c7edcc40af, < 266ffc92e68593759adfe3d58f188773d32782c3 · ≥ 3f5536860086d906b01ec5ed68cf50c7edcc40af, < c048b0a3c0836c4b1bef4b51d355d27090bf6790 · ≥ 3f5536860086d906b01ec5ed68cf50c7edcc40af, < c3f2feace5e4f4b01b68b9f947b19adb4155c32e · 6.3 |
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-89903 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-89903?
CVE-2026-89903 has a CVSS 3.1 base score of 7.8 (high).
Which versions are affected?
Linux Linux (≥ 3f5536860086d906b01ec5ed68cf50c7edcc40af, < a03b5e7483ad2c33ba5dd2adb8552e84bfee8fe2; ≥ 3f5536860086d906b01ec5ed68cf50c7edcc40af, < 8f15e95b438bc6b3c9f23a33c9a0d0678ebd1dc8; ≥ 3f5536860086d906b01ec5ed68cf50c7edcc40af, < 266ffc92e68593759adfe3d58f188773d32782c3; ≥ 3f5536860086d906b01ec5ed68cf50c7edcc40af, < c048b0a3c0836c4b1bef4b51d355d27090bf6790; ≥ 3f5536860086d906b01ec5ed68cf50c7edcc40af, < c3f2feace5e4f4b01b68b9f947b19adb4155c32e; 6.3)
Is there a patch for CVE-2026-89903?
No patch is linked in the official record yet. Watch the vendor's security advisories.
References
- git.kernel.org/stable/c/266ffc92e68593759adfe3d58f188773d32782c3
- git.kernel.org/stable/c/8f15e95b438bc6b3c9f23a33c9a0d0678ebd1dc8
- git.kernel.org/stable/c/a03b5e7483ad2c33ba5dd2adb8552e84bfee8fe2
- git.kernel.org/stable/c/c048b0a3c0836c4b1bef4b51d355d27090bf6790
- git.kernel.org/stable/c/c3f2feace5e4f4b01b68b9f947b19adb4155c32e
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.