Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-46250— MIPS: Work around LLVM bug when gp is used as global register variable

CVSS 7.3 · High EPSS 0.13% · P3

Possible ATT&CK Techniques 1AI

T1496 · Resource Hijacking

Affected Version Matrix 18

VendorProductVersion RangeStatus
LinuxLinux279b991b24d2439fbe9d2f093988b9c8aed2603d< 05bff9b0ae095b2420cfebb4a96759a09334bec6affected
279b991b24d2439fbe9d2f093988b9c8aed2603d< 1fe3b402b1e97a1718df3be0a1d3eee20133e735affected
279b991b24d2439fbe9d2f093988b9c8aed2603d< 4dc65b40fb80c2020efbf139b9a38d30f9a37b92affected
279b991b24d2439fbe9d2f093988b9c8aed2603d< c0155dee51b9f5f48aaf5c71cae005eb0e36521faffected
279b991b24d2439fbe9d2f093988b9c8aed2603d< e3a6498a63394218561065a9a7a597a204f52f6aaffected
279b991b24d2439fbe9d2f093988b9c8aed2603d< 561834f6d6f52b8a1791331e94b2aac753491d2aaffected
279b991b24d2439fbe9d2f093988b9c8aed2603d< 9bc3b0ae5203aba650297fdf3e1e774125e423f2affected
279b991b24d2439fbe9d2f093988b9c8aed2603d< 30bfc2d6a1132a89a5f1c3b96c59cf3e4d076ea3affected
… +10 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-46250

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
MIPS: Work around LLVM bug when gp is used as global register variable
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于MIPS架构中LLVM编译器在gp用作全局寄存器变量时错误恢复被修改的gp值,导致内核重定位后访问未重定位内核,可能造成早期崩溃。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 279b991b24d2439fbe9d2f093988b9c8aed2603d ~ 05bff9b0ae095b2420cfebb4a96759a09334bec6 -
LinuxLinux 4.7 -

II. Public POCs for CVE-2026-46250

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-46250

登录查看更多情报信息。

Patches & Fixes for CVE-2026-46250 (7)

Same Patch Batch · Linux · 2026-06-03 · 32 CVEs total

CVE-2026-462449.1 CRITICALnetfilter: nft_inner: Fix IPv6 inner_thoff desync
CVE-2026-462669.1 CRITICALinet: RAW sockets using IPPROTO_RAW MUST drop incoming ICMP
CVE-2026-462648.8 HIGHdrm/xe/pf: Fix sysfs initialization
CVE-2026-462738.6 HIGHibmveth: Disable GSO for packets with small MSS
CVE-2026-462518.4 HIGHbtrfs: fix block_group_tree dirty_list corruption
CVE-2026-462708.4 HIGHpower: supply: rt9455: Fix use-after-free in power_supply_changed()
CVE-2026-462537.8 HIGHpstore/ram: fix buffer overflow in persistent_ram_save_old()
CVE-2026-462597.8 HIGHprocfs: fix missing RCU protection when reading real_parent in do_task_stat()
CVE-2026-462607.8 HIGHipv6: Fix out-of-bound access in fib6_add_rt2node().
CVE-2026-462637.8 HIGHdrm/amd/display: Fix out-of-bounds stream encoder index v3
CVE-2026-462717.8 HIGHwifi: ath12k: do WoW offloads only on primary link
CVE-2026-462657.5 HIGHRDMA/hns: Fix WQ_MEM_RECLAIM warning
CVE-2026-46246power: supply: pm8916_lbc: Fix use-after-free for extcon in IRQ handler
CVE-2026-46247clk: qcom: gfx3d: add parent to parent request map
CVE-2026-46245drm/amd/display: Fix dc_link NULL handling in HPD init
CVE-2025-71314drm/panthor: Recover from panthor_gpu_flush_caches() failures
CVE-2025-71313PCI: endpoint: Add missing NULL check for alloc_workqueue()
CVE-2026-46248wifi: ath12k: clear stale link mapping of ahvif->links_map
CVE-2026-46249octeontx2-af: Fix PF driver crash with kexec kernel booting
CVE-2026-46252regulator: core: fix locking in regulator_resolve_supply() error path

Showing top 20 of 32 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-46250

No comments yet


Leave a comment