# CVE-2024-26765: LoongArch: Disable IRQ before init\_fn() for nonboot CPUs

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 16, 2026-11-26)
- **Published:** 2024-04-03T17:00:47.888Z
- **Modified:** 2026-06-17T07:18:17.217Z

## Who should check

- Anyone running Linux \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< a262b78dd085dbe9b3c75dc1d9c4cd102b110b53; \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< dffdf7c783ef291eef38a5a0037584fd1a7fa464; \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< 8bf2ca8c60712af288b88ba80f8e4df4573d923f; \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< 1001db6c42e4012b55e5ee19405490f23e033b5a
- Anyone running Linux 5.19

## Description

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

LoongArch: Disable IRQ before init\_fn() for nonboot CPUs

Disable IRQ before init\_fn() for nonboot CPUs when hotplug, in order to
silence such warnings (and also avoid potential errors due to unexpected
interrupts):

WARNING: CPU: 1 PID: 0 at kernel/rcu/tree.c:4503 rcu\_cpu\_starting+0x214/0x280
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.6.17+ \#1198
pc 90000000048e3334 ra 90000000047bd56c tp 900000010039c000 sp 900000010039fdd0
a0 0000000000000001 a1 0000000000000006 a2 900000000802c040 a3 0000000000000000
a4 0000000000000001 a5 0000000000000004 a6 0000000000000000 a7 90000000048e3f4c
t0 0000000000000001 t1 9000000005c70968 t2 0000000004000000 t3 000000000005e56e
t4 00000000000002e4 t5 0000000000001000 t6 ffffffff80000000 t7 0000000000040000
t8 9000000007931638 u0 0000000000000006 s9 0000000000000004 s0 0000000000000001
s1 9000000006356ac0 s2 9000000007244000 s3 0000000000000001 s4 0000000000000001
s5 900000000636f000 s6 7fffffffffffffff s7 9000000002123940 s8 9000000001ca55f8
   ra: 90000000047bd56c tlb\_init+0x24c/0x528
  ERA: 90000000048e3334 rcu\_cpu\_starting+0x214/0x280
 CRMD: 000000b0 (PLV0 -IE -DA +PG DACF=CC DACM=CC -WE)
 PRMD: 00000000 (PPLV0 -PIE -PWE)
 EUEN: 00000000 (-FPE -SXE -ASXE -BTE)
 ECFG: 00071000 (LIE=12 VS=7)
ESTAT: 000c0000 \[BRK\] (IS= ECode=12 EsubCode=0)
 PRID: 0014c010 (Loongson-64bit, Loongson-3A5000)
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.6.17+ \#1198
Stack : 0000000000000000 9000000006375000 9000000005b61878 900000010039c000
        900000010039fa30 0000000000000000 900000010039fa38 900000000619a140
        9000000006456888 9000000006456880 900000010039f950 0000000000000001
        0000000000000001 cb0cb028ec7e52e1 0000000002b90000 9000000100348700
        0000000000000000 0000000000000001 ffffffff916d12f1 0000000000000003
        0000000000040000 9000000007930370 0000000002b90000 0000000000000004
        9000000006366000 900000000619a140 0000000000000000 0000000000000004
        0000000000000000 0000000000000009 ffffffffffc681f2 9000000002123940
        9000000001ca55f8 9000000006366000 90000000047a4828 00007ffff057ded8
        00000000000000b0 0000000000000000 0000000000000000 0000000000071000
        ...
Call Trace:
\[\<90000000047a4828\>\] show\_stack+0x48/0x1a0
\[\<9000000005b61874\>\] dump\_stack\_lvl+0x84/0xcc
\[\<90000000047f60ac\>\] \_\_warn+0x8c/0x1e0
\[\<9000000005b0ab34\>\] report\_bug+0x1b4/0x280
\[\<9000000005b63110\>\] do\_bp+0x2d0/0x480
\[\<90000000047a2e20\>\] handle\_bp+0x120/0x1c0
\[\<90000000048e3334\>\] rcu\_cpu\_starting+0x214/0x280
\[\<90000000047bd568\>\] tlb\_init+0x248/0x528
\[\<90000000047a4c44\>\] per\_cpu\_trap\_init+0x124/0x160
\[\<90000000047a19f4\>\] cpu\_probe+0x494/0xa00
\[\<90000000047b551c\>\] start\_secondary+0x3c/0xc0
\[\<9000000005b66134\>\] smpboot\_entry+0x50/0x58

## Affected and fixed versions

- Linux: \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< a262b78dd085dbe9b3c75dc1d9c4cd102b110b53; \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< dffdf7c783ef291eef38a5a0037584fd1a7fa464; \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< 8bf2ca8c60712af288b88ba80f8e4df4573d923f; \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< 1001db6c42e4012b55e5ee19405490f23e033b5a (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- Upgrade Linux to 1001db6c42e4012b55e5ee19405490f23e033b5a or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-26765.md
Affected: Linux >= fa96b57c149061f71a70bd6582d995f6424fbbf4, < a262b78dd085dbe9b3c75dc1d9c4cd102b110b53; >= fa96b57c149061f71a70bd6582d995f6424fbbf4, < dffdf7c783ef291eef38a5a0037584fd1a7fa464; >= fa96b57c149061f71a70bd6582d995f6424fbbf4, < 8bf2ca8c60712af288b88ba80f8e4df4573d923f; >= fa96b57c149061f71a70bd6…
Fixed in: Linux 8bf2ca8c60712af288b88ba80f8e4df4573d923f, Linux 1001db6c42e4012b55e5ee19405490f23e033b5a

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-2024-26765 being exploited?

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

### How serious is CVE-2024-26765?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-26765?

Linux \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< a262b78dd085dbe9b3c75dc1d9c4cd102b110b53; \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< dffdf7c783ef291eef38a5a0037584fd1a7fa464; \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< 8bf2ca8c60712af288b88ba80f8e4df4573d923f; \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< 1001db6c42e4012b55e5ee19405490f23e033b5a; Linux 5.19.

### Is there a fix for CVE-2024-26765?

Yes. Fixed in Linux 8bf2ca8c60712af288b88ba80f8e4df4573d923f, Linux 1001db6c42e4012b55e5ee19405490f23e033b5a. Upgrade Linux to 1001db6c42e4012b55e5ee19405490f23e033b5a or later.

### How do I check if I'm affected by CVE-2024-26765?

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

- patch: <https://git.kernel.org/stable/c/a262b78dd085dbe9b3c75dc1d9c4cd102b110b53>
- patch: <https://git.kernel.org/stable/c/dffdf7c783ef291eef38a5a0037584fd1a7fa464>
- patch: <https://git.kernel.org/stable/c/8bf2ca8c60712af288b88ba80f8e4df4573d923f>
- patch: <https://git.kernel.org/stable/c/1001db6c42e4012b55e5ee19405490f23e033b5a>

## 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-2024-26765>

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