CVE-2026-89902
LoongArch: Avoid preempt count underflow without probe
Mitigation
- Upgrade Linux to 72ce4b24676e8b3b75376c4c559dd81c1ac52d5a or later.
Who should check
- Anyone running Linux >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < ff40e597d5d98c0c45a4d09df8177202fac9520e; >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < a1cb727fa27c2d9c7859729cd90db7bc0f46957f; >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < 76395109a051b53860faaec96522ef08ae9e8e27; >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < c4357ebeee63cb8da1446fc936573a34e68b0f71; >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < 72ce4b24676e8b3b75376c4c559dd81c1ac52d5a
- Anyone running Linux 6.3
Vulnerability facts
- Affected
- Linux >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < ff40e597d5d98c0c45a4d09df8177202fac9520e; >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < a1cb727fa27c2d9c7859729cd90db7bc0f46957f; >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < 76395109a051b53860faaec96522ef08ae9e8e27; >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < c4357ebeee63cb8da1446fc936573a34e68b0f71; >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < 72ce4b24676e8b3b75376c4c559dd81c1ac52d5a; Linux 6.3
- Fixed in
- Linux 76395109a051b53860faaec96522ef08ae9e8e27, Linux 72ce4b24676e8b3b75376c4c559dd81c1ac52d5a
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.18% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: LoongArch: Avoid preempt count underflow without probe LoongArch uses break 11 for the breakpoint placed after an instruction that Kprobes executes out of line. Since userspace can issue the same break instruction, do_bp() can reach kprobe_singlestep_handler() when there is no current probe. The handler actually returns false in this case, but it first calls preempt_enable_no_resched(). The corresponding preempt_disable() is done by kprobe_breakpoint_handler() on a real Kprobe hit, so it has not run here. As a result, an ordinary userspace breakpoint (code 11) underflows the current task's preempt count. This also makes in_interrupt() return true until the task schedules. One visible consequence is the socket cgroup attribution: cgroup_sk_alloc() treats the allocation as interrupt context and assigns the socket to the root cgroup. A socket opened from the SIGTRAP handler can then avoid a BPF_CGROUP_INET_SOCK_CREATE policy attached to the task's own cgroup. Return as soon as kprobe_running() reports no active probe. The same check has appeared in [PATCH v10 2/4] of the original LoongArch Kprobes series, but was dropped before the feature reached mainline.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < ff40e597d5d98c0c45a4d09df8177202fac9520e; >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < a1cb727fa27c2d9c7859729cd90db7bc0f46957f; >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < 76395109a051b53860faaec96522ef08ae9e8e27; >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < c4357ebeee63cb8da1446fc936573a34e68b0f71; >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < 72ce4b24676e8b3b75376c4c559dd81c1ac52d5a | — | cvelist |
| Linux | 6.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-89902. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-89902.md Affected: Linux >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < ff40e597d5d98c0c45a4d09df8177202fac9520e; >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < a1cb727fa27c2d9c7859729cd90db7bc0f46957f; >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < 76395109a051b53860faaec96522ef08ae9e8e27; >= 6d4cc40fb5f58147defc6c0… Fixed in: Linux 76395109a051b53860faaec96522ef08ae9e8e27, Linux 72ce4b24676e8b3b75376c4c559dd81c1ac52d5a 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.
References
Other
- https://git.kernel.org/stable/c/ff40e597d5d98c0c45a4d09df8177202fac9520e
- https://git.kernel.org/stable/c/a1cb727fa27c2d9c7859729cd90db7bc0f46957f
- https://git.kernel.org/stable/c/76395109a051b53860faaec96522ef08ae9e8e27
- https://git.kernel.org/stable/c/c4357ebeee63cb8da1446fc936573a34e68b0f71
- https://git.kernel.org/stable/c/72ce4b24676e8b3b75376c4c559dd81c1ac52d5a
FAQ
Is CVE-2026-89902 being exploited?
There is no confirmed exploitation: CVE-2026-89902 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-89902?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-89902?
Linux >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < ff40e597d5d98c0c45a4d09df8177202fac9520e; >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < a1cb727fa27c2d9c7859729cd90db7bc0f46957f; >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < 76395109a051b53860faaec96522ef08ae9e8e27; >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < c4357ebeee63cb8da1446fc936573a34e68b0f71; >= 6d4cc40fb5f58147defc6c0e9d86e6232fe31616, < 72ce4b24676e8b3b75376c4c559dd81c1ac52d5a; Linux 6.3.
Is there a fix for CVE-2026-89902?
Yes. Fixed in Linux 76395109a051b53860faaec96522ef08ae9e8e27, Linux 72ce4b24676e8b3b75376c4c559dd81c1ac52d5a. Upgrade Linux to 72ce4b24676e8b3b75376c4c559dd81c1ac52d5a or later.
How do I check if I'm affected by CVE-2026-89902?
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.