Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-46250

HIGH 7.3EPSS 5%

MIPS: Work around LLVM bug when gp is used as global register variable

Mitigation

  • Upgrade Linux to 30bfc2d6a1132a89a5f1c3b96c59cf3e4d076ea3 or later.

Who should check

  • Anyone running Linux >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 05bff9b0ae095b2420cfebb4a96759a09334bec6; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 1fe3b402b1e97a1718df3be0a1d3eee20133e735; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 4dc65b40fb80c2020efbf139b9a38d30f9a37b92; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < c0155dee51b9f5f48aaf5c71cae005eb0e36521f; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < e3a6498a63394218561065a9a7a597a204f52f6a; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 561834f6d6f52b8a1791331e94b2aac753491d2a; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 9bc3b0ae5203aba650297fdf3e1e774125e423f2; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 30bfc2d6a1132a89a5f1c3b96c59cf3e4d076ea3
  • Anyone running Linux 4.7

Vulnerability facts

Affected
Linux >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 05bff9b0ae095b2420cfebb4a96759a09334bec6; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 1fe3b402b1e97a1718df3be0a1d3eee20133e735; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 4dc65b40fb80c2020efbf139b9a38d30f9a37b92; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < c0155dee51b9f5f48aaf5c71cae005eb0e36521f; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < e3a6498a63394218561065a9a7a597a204f52f6a; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 561834f6d6f52b8a1791331e94b2aac753491d2a; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 9bc3b0ae5203aba650297fdf3e1e774125e423f2; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 30bfc2d6a1132a89a5f1c3b96c59cf3e4d076ea3; Linux 4.7
Fixed in
Linux 05bff9b0ae095b2420cfebb4a96759a09334bec6, Linux 1fe3b402b1e97a1718df3be0a1d3eee20133e735, Linux 4dc65b40fb80c2020efbf139b9a38d30f9a37b92, Linux 561834f6d6f52b8a1791331e94b2aac753491d2a, Linux 9bc3b0ae5203aba650297fdf3e1e774125e423f2, Linux 30bfc2d6a1132a89a5f1c3b96c59cf3e4d076ea3
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.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: High
EPSS
0.18% chance of exploitation in 30 days (percentile 5, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: MIPS: Work around LLVM bug when gp is used as global register variable On MIPS, __current_thread_info is defined as global register variable locating in $gp, and is simply assigned with new address during kernel relocation. This however is broken with LLVM, which always restores $gp if it finds $gp is clobbered in any form, including when intentionally through a global register variable. This is against GCC's documentation[1], which requires a callee-saved register used as global register variable not to be restored if it's clobbered. As a result, $gp will continue to point to the unrelocated kernel after the epilog of relocate_kernel(), leading to an early crash in init_idle, [ 0.000000] CPU 0 Unable to handle kernel paging request at virtual address 0000000000000000, epc == ffffffff81afada8, ra == ffffffff81afad90 [ 0.000000] Oops[#1]: [ 0.000000] CPU: 0 UID: 0 PID: 0 Comm: swapper Tainted: G W 6.19.0-rc5-00262-gd3eeb99bbc99-dirty #188 VOLUNTARY [ 0.000000] Tainted: [W]=WARN [ 0.000000] Hardware name: loongson,loongson64v-4core-virtio [ 0.000000] $ 0 : 0000000000000000 0000000000000000 0000000000000001 0000000000000000 [ 0.000000] $ 4 : ffffffff80b80ec0 ffffffff80b53d48 0000000000000000 00000000000f4240 [ 0.000000] $ 8 : 0000000000000100 ffffffff81d82f80 ffffffff81d82f80 0000000000000001 [ 0.000000] $12 : 0000000000000000 ffffffff81776f58 00000000000005da 0000000000000002 [ 0.000000] $16 : ffffffff80b80e40 0000000000000000 ffffffff80b81614 9800000005dfbe80 [ 0.000000] $20 : 00000000540000e0 ffffffff81980000 0000000000000000 ffffffff80f81c80 [ 0.000000] $24 : 0000000000000a26 ffffffff8114fb90 [ 0.000000] $28 : ffffffff80b50000 ffffffff80b53d40 0000000000000000 ffffffff81afad90 [ 0.000000] Hi : 0000000000000000 [ 0.000000] Lo : 0000000000000000 [ 0.000000] epc : ffffffff81afada8 init_idle+0x130/0x270 [ 0.000000] ra : ffffffff81afad90 init_idle+0x118/0x270 [ 0.000000] Status: 540000e2 KX SX UX KERNEL EXL [ 0.000000] Cause : 00000008 (ExcCode 02) [ 0.000000] BadVA : 0000000000000000 [ 0.000000] PrId : 00006305 (ICT Loongson-3) [ 0.000000] Process swapper (pid: 0, threadinfo=(____ptrval____), task=(____ptrval____), tls=0000000000000000) [ 0.000000] Stack : 9800000005dfbf00 ffffffff8178e950 0000000000000000 0000000000000000 [ 0.000000] 0000000000000000 ffffffff81970000 000000000000003f ffffffff810a6528 [ 0.000000] 0000000000000001 9800000005dfbe80 9800000005dfbf00 ffffffff81980000 [ 0.000000] ffffffff810a6450 ffffffff81afb6c0 0000000000000000 ffffffff810a2258 [ 0.000000] ffffffff81d82ec8 ffffffff8198d010 ffffffff81b67e80 ffffffff8197dd98 [ 0.000000] ffffffff81d81c80 ffffffff81930000 0000000000000040 0000000000000000 [ 0.000000] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 0.000000] 0000000000000000 000000000000009e ffffffff9fc01000 0000000000000000 [ 0.000000] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 0.000000] 0000000000000000 ffffffff81ae86dc ffffffff81b3c741 0000000000000002 [ 0.000000] ... [ 0.000000] Call Trace: [ 0.000000] [<ffffffff81afada8>] init_idle+0x130/0x270 [ 0.000000] [<ffffffff81afb6c0>] sched_init+0x5c8/0x6c0 [ 0.000000] [<ffffffff81ae86dc>] start_kernel+0x27c/0x7a8 This bug has been reported to LLVM[2] and affects version from (at least) 18 to 21. Let's work around this by using inline assembly to assign $gp before a fix is widely available.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 05bff9b0ae095b2420cfebb4a96759a09334bec6; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 1fe3b402b1e97a1718df3be0a1d3eee20133e735; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 4dc65b40fb80c2020efbf139b9a38d30f9a37b92; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < c0155dee51b9f5f48aaf5c71cae005eb0e36521f; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < e3a6498a63394218561065a9a7a597a204f52f6a; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 561834f6d6f52b8a1791331e94b2aac753491d2a; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 9bc3b0ae5203aba650297fdf3e1e774125e423f2; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 30bfc2d6a1132a89a5f1c3b96c59cf3e4d076ea3—cvelist
Linux4.7—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-46250. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46250.md
Affected: Linux >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 05bff9b0ae095b2420cfebb4a96759a09334bec6; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 1fe3b402b1e97a1718df3be0a1d3eee20133e735; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 4dc65b40fb80c2020efbf139b9a38d30f9a37b92; >= 279b991b24d2439fbe9d2f0…
Fixed in: Linux 05bff9b0ae095b2420cfebb4a96759a09334bec6, Linux 1fe3b402b1e97a1718df3be0a1d3eee20133e735, Linux 4dc65b40fb80c2020efbf139b9a38d30f9a37b92, Linux 561834f6d6f52b8a1791331e94b2aac753491d2a, Linux 9bc3b0ae5203aba650297fdf3e1e774125e423f2, Linux 30bfc2d6a1132a89a5f1c3b96c59cf3e4d076ea3

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

FAQ

Is CVE-2026-46250 being exploited?

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

High: CVSS 7.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-46250?

Linux >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 05bff9b0ae095b2420cfebb4a96759a09334bec6; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 1fe3b402b1e97a1718df3be0a1d3eee20133e735; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 4dc65b40fb80c2020efbf139b9a38d30f9a37b92; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < c0155dee51b9f5f48aaf5c71cae005eb0e36521f; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < e3a6498a63394218561065a9a7a597a204f52f6a; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 561834f6d6f52b8a1791331e94b2aac753491d2a; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 9bc3b0ae5203aba650297fdf3e1e774125e423f2; >= 279b991b24d2439fbe9d2f093988b9c8aed2603d, < 30bfc2d6a1132a89a5f1c3b96c59cf3e4d076ea3; Linux 4.7.

Is there a fix for CVE-2026-46250?

Yes. Fixed in Linux 05bff9b0ae095b2420cfebb4a96759a09334bec6, Linux 1fe3b402b1e97a1718df3be0a1d3eee20133e735, Linux 4dc65b40fb80c2020efbf139b9a38d30f9a37b92, Linux 561834f6d6f52b8a1791331e94b2aac753491d2a, Linux 9bc3b0ae5203aba650297fdf3e1e774125e423f2, Linux 30bfc2d6a1132a89a5f1c3b96c59cf3e4d076ea3. Upgrade Linux to 30bfc2d6a1132a89a5f1c3b96c59cf3e4d076ea3 or later.

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

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.

Sponsors