# CVE-2024-26841: LoongArch: Update cpu\_sibling\_map when disabling 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)
- **CWE:** CWE-459
- **Published:** 2024-04-17T10:10:06.808Z
- **Modified:** 2026-10-30T13:17:22.270Z

## Who should check

- Anyone running Linux \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< 3630771843bab987bbbbd5bdc39becb17684d26c; \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< b1ec3d6b86fdd057559a5908e6668279bf770e0e; \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< 0d862db64d26c2905ba1a6a8561466b215b664c2; \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< 752cd08da320a667a833803a8fd6bb266114cce5
- Anyone running Linux 5.19

## Description

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

LoongArch: Update cpu\_sibling\_map when disabling nonboot CPUs

Update cpu\_sibling\_map when disabling nonboot CPUs by defining & calling
clear\_cpu\_sibling\_map(), otherwise we get such errors on SMT systems:

jump label: negative count!
WARNING: CPU: 6 PID: 45 at kernel/jump\_label.c:263 \_\_static\_key\_slow\_dec\_cpuslocked+0xec/0x100
CPU: 6 PID: 45 Comm: cpuhp/6 Not tainted 6.8.0-rc5+ \#1340
pc 90000000004c302c ra 90000000004c302c tp 90000001005bc000 sp 90000001005bfd20
a0 000000000000001b a1 900000000224c278 a2 90000001005bfb58 a3 900000000224c280
a4 900000000224c278 a5 90000001005bfb50 a6 0000000000000001 a7 0000000000000001
t0 ce87a4763eb5234a t1 ce87a4763eb5234a t2 0000000000000000 t3 0000000000000000
t4 0000000000000006 t5 0000000000000000 t6 0000000000000064 t7 0000000000001964
t8 000000000009ebf6 u0 9000000001f2a068 s9 0000000000000000 s0 900000000246a2d8
s1 ffffffffffffffff s2 ffffffffffffffff s3 90000000021518c0 s4 0000000000000040
s5 9000000002151058 s6 9000000009828e40 s7 00000000000000b4 s8 0000000000000006
   ra: 90000000004c302c \_\_static\_key\_slow\_dec\_cpuslocked+0xec/0x100
  ERA: 90000000004c302c \_\_static\_key\_slow\_dec\_cpuslocked+0xec/0x100
 CRMD: 000000b0 (PLV0 -IE -DA +PG DACF=CC DACM=CC -WE)
 PRMD: 00000004 (PPLV0 +PIE -PWE)
 EUEN: 00000000 (-FPE -SXE -ASXE -BTE)
 ECFG: 00071c1c (LIE=2-4,10-12 VS=7)
ESTAT: 000c0000 \[BRK\] (IS= ECode=12 EsubCode=0)
 PRID: 0014d000 (Loongson-64bit, Loongson-3A6000-HV)
CPU: 6 PID: 45 Comm: cpuhp/6 Not tainted 6.8.0-rc5+ \#1340
Stack : 0000000000000000 900000000203f258 900000000179afc8 90000001005bc000
        90000001005bf980 0000000000000000 90000001005bf988 9000000001fe0be0
        900000000224c280 900000000224c278 90000001005bf8c0 0000000000000001
        0000000000000001 ce87a4763eb5234a 0000000007f38000 90000001003f8cc0
        0000000000000000 0000000000000006 0000000000000000 4c206e6f73676e6f
        6f4c203a656d616e 000000000009ec99 0000000007f38000 0000000000000000
        900000000214b000 9000000001fe0be0 0000000000000004 0000000000000000
        0000000000000107 0000000000000009 ffffffffffafdabe 00000000000000b4
        0000000000000006 90000000004c302c 9000000000224528 00005555939a0c7c
        00000000000000b0 0000000000000004 0000000000000000 0000000000071c1c
        ...
Call Trace:
\[\<9000000000224528\>\] show\_stack+0x48/0x1a0
\[\<900000000179afc8\>\] dump\_stack\_lvl+0x78/0xa0
\[\<9000000000263ed0\>\] \_\_warn+0x90/0x1a0
\[\<90000000017419b8\>\] report\_bug+0x1b8/0x280
\[\<900000000179c564\>\] do\_bp+0x264/0x420
\[\<90000000004c302c\>\] \_\_static\_key\_slow\_dec\_cpuslocked+0xec/0x100
\[\<90000000002b4d7c\>\] sched\_cpu\_deactivate+0x2fc/0x300
\[\<9000000000266498\>\] cpuhp\_invoke\_callback+0x178/0x8a0
\[\<9000000000267f70\>\] cpuhp\_thread\_fun+0xf0/0x240
\[\<90000000002a117c\>\] smpboot\_thread\_fn+0x1dc/0x2e0
\[\<900000000029a720\>\] kthread+0x140/0x160
\[\<9000000000222288\>\] ret\_from\_kernel\_thread+0xc/0xa4

## Affected and fixed versions

- Linux: \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< 3630771843bab987bbbbd5bdc39becb17684d26c; \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< b1ec3d6b86fdd057559a5908e6668279bf770e0e; \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< 0d862db64d26c2905ba1a6a8561466b215b664c2; \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< 752cd08da320a667a833803a8fd6bb266114cce5 (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- Upgrade Linux to 752cd08da320a667a833803a8fd6bb266114cce5 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-26841. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26841.md
Affected: Linux >= fa96b57c149061f71a70bd6582d995f6424fbbf4, < 3630771843bab987bbbbd5bdc39becb17684d26c; >= fa96b57c149061f71a70bd6582d995f6424fbbf4, < b1ec3d6b86fdd057559a5908e6668279bf770e0e; >= fa96b57c149061f71a70bd6582d995f6424fbbf4, < 0d862db64d26c2905ba1a6a8561466b215b664c2; >= fa96b57c149061f71a70bd6…
Fixed in: Linux 3630771843bab987bbbbd5bdc39becb17684d26c, Linux 0d862db64d26c2905ba1a6a8561466b215b664c2, Linux 752cd08da320a667a833803a8fd6bb266114cce5

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-26841 being exploited?

There is no confirmed exploitation: CVE-2024-26841 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-26841?

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

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

Linux \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< 3630771843bab987bbbbd5bdc39becb17684d26c; \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< b1ec3d6b86fdd057559a5908e6668279bf770e0e; \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< 0d862db64d26c2905ba1a6a8561466b215b664c2; \>= fa96b57c149061f71a70bd6582d995f6424fbbf4, \< 752cd08da320a667a833803a8fd6bb266114cce5; Linux 5.19.

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

Yes. Fixed in Linux 3630771843bab987bbbbd5bdc39becb17684d26c, Linux 0d862db64d26c2905ba1a6a8561466b215b664c2, Linux 752cd08da320a667a833803a8fd6bb266114cce5. Upgrade Linux to 752cd08da320a667a833803a8fd6bb266114cce5 or later.

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

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/b1ec3d6b86fdd057559a5908e6668279bf770e0e>
- patch: <https://git.kernel.org/stable/c/0d862db64d26c2905ba1a6a8561466b215b664c2>
- patch: <https://git.kernel.org/stable/c/752cd08da320a667a833803a8fd6bb266114cce5>
- other: <https://git.kernel.org/stable/c/3630771843bab987bbbbd5bdc39becb17684d26c>

## 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-26841>

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