Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-89903

published high CVSS 3.1 · 7.8

LoongArch: Do not save/restore percpu base register in rethook trampoline

Published
16 Sep 2026, 10:32:03 UTC
Updated
19 Oct 2026, 08:54:36 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux3f5536860086d906b01ec5ed68cf50c7edcc40af to < a03b5e7483ad2c33ba5dd2adb8552e84bfee8fe2 · 3f5536860086d906b01ec5ed68cf50c7edcc40af to < 8f15e95b438bc6b3c9f23a33c9a0d0678ebd1dc8 · 3f5536860086d906b01ec5ed68cf50c7edcc40af to < 266ffc92e68593759adfe3d58f188773d32782c3 · 3f5536860086d906b01ec5ed68cf50c7edcc40af to < c048b0a3c0836c4b1bef4b51d355d27090bf6790 · 3f5536860086d906b01ec5ed68cf50c7edcc40af to < c3f2feace5e4f4b01b68b9f947b19adb4155c32e · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.3 (affected) · 0 to < 6.3 (unaffected · semver) · 6.6.157 through 6.6.* (unaffected · semver) · 6.12.110 through 6.12.* (unaffected · semver) · 6.18.51 through 6.18.* (unaffected · semver) · 7.2.5 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bookworm linux-6.12 Advisory build 6.12.111-1~deb12u1 DLA-4817-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
Ubuntu jammy linux-aws-6.8 Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Debian trixie linux Advisory build 6.12.111-1 DSA-6528-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
Ubuntu jammy linux-aws-6.8-cloud-tools-6.8.0-1069 Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-aws-6.8-headers-6.8.0-1069 Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-aws-6.8-tools-6.8.0-1069 Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-azure-6.8 Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-6.8-cloud-tools-6.8.0-1073 Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-6.8-headers-6.8.0-1073 Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-6.8-tools-6.8.0-1073 Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-fde-6.8 Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-fde-6.8-cloud-tools-6.8.0-1071 Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-fde-6.8-headers-6.8.0-1071 Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-fde-6.8-tools-6.8.0-1071 Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-buildinfo-6.8.0-1067-oracle Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-buildinfo-6.8.0-1067-oracle-64k Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-buildinfo-6.8.0-1068-nvidia Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-buildinfo-6.8.0-1068-nvidia-64k Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-buildinfo-6.8.0-1069-aws Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-1069-aws-64k Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-1069-ibm Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-1071-azure-fde Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-buildinfo-6.8.0-1073-azure Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-buildinfo-6.8.0-1073-gcp Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-1073-gcp-64k Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-buildinfo-6.8.0-149-generic-64k Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-buildinfo-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-149-lowlatency-64k Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.1-1064-realtime Advisory build 6.8.1-1064.65~22.04.1 USN-9024-1
Ubuntu jammy linux-cloud-tools-6.8.0-1069-aws Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-cloud-tools-6.8.0-1069-aws-64k Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-cloud-tools-6.8.0-1071-azure-fde Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-cloud-tools-6.8.0-1073-azure Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-cloud-tools-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-cloud-tools-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-cloud-tools-6.8.1-1064-realtime Advisory build 6.8.1-1064.65~22.04.1 USN-9024-1
Ubuntu jammy linux-gcp-6.8 Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-gcp-6.8-headers-6.8.0-1073 Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-gcp-6.8-tools-6.8.0-1073 Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-1067-oracle Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-headers-6.8.0-1067-oracle-64k Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-headers-6.8.0-1068-nvidia Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-headers-6.8.0-1068-nvidia-64k Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-headers-6.8.0-1069-aws Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-1069-aws-64k Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-1069-ibm Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-1071-azure-fde Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-headers-6.8.0-1073-azure Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-headers-6.8.0-1073-gcp Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-1073-gcp-64k Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-headers-6.8.0-149-generic-64k Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-headers-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-149-lowlatency-64k Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.1-1064-realtime Advisory build 6.8.1-1064.65~22.04.1 USN-9024-1
Ubuntu jammy linux-hwe-6.8 Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-hwe-6.8-cloud-tools-6.8.0-149 Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-hwe-6.8-headers-6.8.0-149 Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-hwe-6.8-tools-6.8.0-149 Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-ibm-6.8 Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-ibm-6.8-headers-6.8.0-1069 Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-ibm-6.8-tools-6.8.0-1069 Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-image-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-image-unsigned-6.8.0-1067-oracle Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-image-unsigned-6.8.0-1067-oracle-64k Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-image-unsigned-6.8.0-1068-nvidia Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-image-unsigned-6.8.0-1068-nvidia-64k Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-image-unsigned-6.8.0-1069-aws Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-1069-aws-64k Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-1069-ibm Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-1071-azure-fde Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-image-unsigned-6.8.0-1073-azure Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-image-unsigned-6.8.0-1073-gcp Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-1073-gcp-64k Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-image-unsigned-6.8.0-149-generic-64k Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-image-unsigned-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-149-lowlatency-64k Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.1-1064-realtime Advisory build 6.8.1-1064.65~22.04.1 USN-9024-1
Ubuntu jammy linux-lowlatency-hwe-6.8 Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-lowlatency-hwe-6.8-cloud-tools-6.8.0-149 Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-lowlatency-hwe-6.8-headers-6.8.0-149 Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-lowlatency-hwe-6.8-lib-rust-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

24

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The rethook trampoline runs only after a locally installed kretprobe fires on a kernel function return (tracefs kprobe_events, perf kprobe PMU, or BPF kretprobe). It is not reached by receiving network packets or by a network-server protocol parser. AC:L - The attacker installs a kretprobe on a function they call (e.g. VFS) and forces the migration window: a helper thread can sched_setaffinity or generate preemption so preempt_enable_notrace() in rethook_trampoline_handler() reschedules onto another CPU before $r21 is restored. PR:L - Creating kretprobes via kprobe_events checks only LOCKDOWN_TRACEFS and DAC (0640), not capable(); tracing-group gid mounts on Android/ChromeOS/dev systems grant this to unprivileged users. CAP_BPF/CAP_PERFMON for BPF kretprobe attach are likewise Low because BPF tokens can delegate them. UI:N - The attacker installs and enables the kretprobe, then triggers matching returns and CPU migration from their own threads. No separate victim mount, click, or other interactive action is required. S:U - Restoring a stale percpu base corrupts this kernel's per-CPU areas (runqueues, RCU, timers, FPU owner) on the same host. That is in-kernel memory corruption, not a guest-to-host, IOMMU, or sandbox boundary crossing. C:H - Poisoned $r21 makes this_cpu_read() fetch another CPU's per-CPU data, including FPU ownership used to decide whether to save/restore vector state, so register contents can leak across tasks. Kernel memory corruption of this kind is a High confidentiality primitive. I:H - this_cpu_write() and related RMWs then modify the other CPU's scheduler, timer, and RCU per-CPU objects, including structures that hold function pointers (timer callbacks, sched class). That is kernel memory corruption enabling integrity loss and control-flow hijack. A:H - The same wrong-CPU accesses cause scheduling-while-atomic splats, wrong-CPU RCU warnings, rq != this_rq() WARNs, and idle CPUs whose constant timer is never re-armed, producing oops, panic, or hard lockup as documented in the fix.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 3f5536860086d906b01ec5ed68cf50c7edcc40af to < a03b5e7483ad2c33ba5dd2adb8552e84bfee8fe2 (affected · git)3f5536860086d906b01ec5ed68cf50c7edcc40af to < 8f15e95b438bc6b3c9f23a33c9a0d0678ebd1dc8 (affected · git)3f5536860086d906b01ec5ed68cf50c7edcc40af to < 266ffc92e68593759adfe3d58f188773d32782c3 (affected · git)3f5536860086d906b01ec5ed68cf50c7edcc40af to < c048b0a3c0836c4b1bef4b51d355d27090bf6790 (affected · git)3f5536860086d906b01ec5ed68cf50c7edcc40af to < c3f2feace5e4f4b01b68b9f947b19adb4155c32e (affected · git)Default: unaffected Linux · cna
Linux Linux 6.3 (affected)0 to < 6.3 (unaffected · semver)6.6.157 through 6.6.* (unaffected · semver)6.12.110 through 6.12.* (unaffected · semver)6.18.51 through 6.18.* (unaffected · semver)7.2.5 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

1

Linux · cna

LoongArch: Do not save/restore percpu base register in rethook trampoline

Provenance

Schema
5.2
Searchable
yes
Content hash
c01b9ed10a8fc54d2b7db4f6bf5ee292743b16decb3e9878ea67a5dc0ce60a1c
Ingested
19 Oct 2026, 09:08:15 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected