# CVE-2026-89905: LoongArch: BPF: Move arena register slot below TCC context

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 5, 2026-11-26)
- **Published:** 2026-09-16T10:32:04.470Z
- **Modified:** 2026-10-19T09:18:35.907Z

## Who should check

- Anyone running Linux \>= ef54c517a9376b188da06b5e1ed556129c4280be, \< f0e4d069cb47cf4f8dc4f6bc104e0671155aa3b9; \>= ef54c517a9376b188da06b5e1ed556129c4280be, \< cd7e356b07a27e91394838cf3fb655862b519294
- Anyone running Linux 7.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

LoongArch: BPF: Move arena register slot below TCC context

Currently, the stack layout places the optional arena register slot
above the tail call counter context. When arena\_vm\_start is dynamically
enabled, it shifts the relative offset of the tcc\_ptr slot within the
stack frame, causing hardcoded tracking macros to mismatch and leading
to memory misalignment or corruption potentially.

To fix this, move the arena register save and restore sequences below
the tail call counter context slots in both build\_prologue() and the
epilogue.

Update \_\_build\_epilogue() to insert a proper offset decrement to safely
skip the unneeded tcc\_ptr reading block while accurately aligning with
the relocated arena slot at the very bottom.

With this patch, the tcc\_ptr slot is always positioned at a fixed
distance directly underneath the base callee-saved registers that is
independent of whether the arena features are on.

## Affected and fixed versions

- Linux: \>= ef54c517a9376b188da06b5e1ed556129c4280be, \< f0e4d069cb47cf4f8dc4f6bc104e0671155aa3b9; \>= ef54c517a9376b188da06b5e1ed556129c4280be, \< cd7e356b07a27e91394838cf3fb655862b519294 (cvelist)
- Linux: 7.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89905. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89905.md
Affected: Linux >= ef54c517a9376b188da06b5e1ed556129c4280be, < f0e4d069cb47cf4f8dc4f6bc104e0671155aa3b9; >= ef54c517a9376b188da06b5e1ed556129c4280be, < cd7e356b07a27e91394838cf3fb655862b519294; Linux 7.0
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89905 being exploited?

There is no confirmed exploitation: CVE-2026-89905 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89905?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-89905?

Linux \>= ef54c517a9376b188da06b5e1ed556129c4280be, \< f0e4d069cb47cf4f8dc4f6bc104e0671155aa3b9; \>= ef54c517a9376b188da06b5e1ed556129c4280be, \< cd7e356b07a27e91394838cf3fb655862b519294; Linux 7.0.

### Is there a fix for CVE-2026-89905?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89905?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/f0e4d069cb47cf4f8dc4f6bc104e0671155aa3b9>
- other: <https://git.kernel.org/stable/c/cd7e356b07a27e91394838cf3fb655862b519294>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89905>

HTML: <https://flawdb.com/CVE-2026-89905> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89905>
