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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-26670— arm64: entry: fix ARM64_WORKAROUND_SPECULATIVE_UNPRIV_LOAD

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于arm64_WORKAROUND_SPECULATIVE_UNPRIV_LOAD存在安全漏洞。

AI Predicted 5.9 Difficulty: Hard EPSS 0.22% · P12

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 12

VendorProduct Version RangeStatus
Linux Linux 471470bc7052d28ce125901877dd10e4c048e513< 58eb5c07f41704464b9acc09ab0707b6769db6c0 affected
471470bc7052d28ce125901877dd10e4c048e513< baa0aaac16432019651e0d60c41cd34a0c3c3477 affected
471470bc7052d28ce125901877dd10e4c048e513< 832dd634bd1b4e3bbe9f10b9c9ba5db6f6f2b97f affected
6e3ae2927b432a3b7c8374f14dbc1bd9ebe4372c affected
32b0a4ffcaea44a00a61e40c0d1bcc50362aee25 affected
6.1.57< 6.2 affected
6.5.7< 6.6 affected
6.6 affected
… +4 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-26670

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
arm64: entry: fix ARM64_WORKAROUND_SPECULATIVE_UNPRIV_LOAD
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: arm64: entry: fix ARM64_WORKAROUND_SPECULATIVE_UNPRIV_LOAD Currently the ARM64_WORKAROUND_SPECULATIVE_UNPRIV_LOAD workaround isn't quite right, as it is supposed to be applied after the last explicit memory access, but is immediately followed by an LDR. The ARM64_WORKAROUND_SPECULATIVE_UNPRIV_LOAD workaround is used to handle Cortex-A520 erratum 2966298 and Cortex-A510 erratum 3117295, which are described in: * https://developer.arm.com/documentation/SDEN2444153/0600/?lang=en * https://developer.arm.com/documentation/SDEN1873361/1600/?lang=en In both cases the workaround is described as: | If pagetable isolation is disabled, the context switch logic in the | kernel can be updated to execute the following sequence on affected | cores before exiting to EL0, and after all explicit memory accesses: | | 1. A non-shareable TLBI to any context and/or address, including | unused contexts or addresses, such as a `TLBI VALE1 Xzr`. | | 2. A DSB NSH to guarantee completion of the TLBI. The important part being that the TLBI+DSB must be placed "after all explicit memory accesses". Unfortunately, as-implemented, the TLBI+DSB is immediately followed by an LDR, as we have: | alternative_if ARM64_WORKAROUND_SPECULATIVE_UNPRIV_LOAD | tlbi vale1, xzr | dsb nsh | alternative_else_nop_endif | alternative_if_not ARM64_UNMAP_KERNEL_AT_EL0 | ldr lr, [sp, #S_LR] | add sp, sp, #PT_REGS_SIZE // restore sp | eret | alternative_else_nop_endif | | [ ... KPTI exception return path ... ] This patch fixes this by reworking the logic to place the TLBI+DSB immediately before the ERET, after all explicit memory accesses. The ERET is currently in a separate alternative block, and alternatives cannot be nested. To account for this, the alternative block for ARM64_UNMAP_KERNEL_AT_EL0 is replaced with a single alternative branch to skip the KPTI logic, with the new shape of the logic being: | alternative_insn "b .L_skip_tramp_exit_\@", nop, ARM64_UNMAP_KERNEL_AT_EL0 | [ ... KPTI exception return path ... ] | .L_skip_tramp_exit_\@: | | ldr lr, [sp, #S_LR] | add sp, sp, #PT_REGS_SIZE // restore sp | | alternative_if ARM64_WORKAROUND_SPECULATIVE_UNPRIV_LOAD | tlbi vale1, xzr | dsb nsh | alternative_else_nop_endif | eret The new structure means that the workaround is only applied when KPTI is not in use; this is fine as noted in the documented implications of the erratum: | Pagetable isolation between EL0 and higher level ELs prevents the | issue from occurring. ... and as per the workaround description quoted above, the workaround is only necessary "If pagetable isolation is disabled".
Source: CVE Program / CVE List V5
CVSS Information
N/A
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存在安全漏洞,该漏洞源于arm64_WORKAROUND_SPECULATIVE_UNPRIV_LOAD存在安全漏洞。
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

Vendor Product Affected Versions CPE Subscribe
Linux Linux 471470bc7052d28ce125901877dd10e4c048e513 ~ 58eb5c07f41704464b9acc09ab0707b6769db6c0 -
Linux Linux 6.6 -

II. Public POCs for CVE-2024-26670

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-26670

请登录查看更多情报信息。

Other References for CVE-2024-26670 (3)

Same Patch Batch · Linux · 2024-04-02 · 35 CVEs total

CVE-2024-26665 9.1 CRITICAL tunnels: fix out of bounds access when building IPv6 PMTU error
CVE-2023-52636 8.2 HIGH libceph: just wait for more data to be available on the socket
CVE-2024-26659 7.8 HIGH xhci: handle isoc Babble and Buffer Overrun events properly
CVE-2024-26656 7.8 HIGH drm/amdgpu: fix use-after-free bug
CVE-2024-26663 7.8 HIGH tipc: Check the bearer type before calling tipc_udp_nl_bearer_add()
CVE-2024-26664 7.8 HIGH hwmon: (coretemp) Fix out-of-bounds memory access
CVE-2024-26666 7.1 HIGH wifi: mac80211: fix RCU use in TDLS fast-xmit
CVE-2024-26660 7.0 HIGH drm/amd/display: Implement bounds check for stream encoder creation in DCN301
CVE-2024-26673 netfilter: nft_ct: sanitize layer 3 and 4 protocol number in custom expectations
CVE-2023-52634 drm/amd/display: Fix disable_otg_wa logic
CVE-2024-26674 x86/lib: Revert to _ASM_EXTABLE_UA() for {get,put}_user() fixups
CVE-2024-26675 ppp_async: limit MRU to 64K
CVE-2024-26676 af_unix: Call kfree_skb() for dead unix_(sk)->oob_skb in GC.
CVE-2024-26677 rxrpc: Fix delayed ACKs to not set the reference serial number
CVE-2024-26678 x86/efistub: Use 1:1 file:memory mapping for PE/COFF .compat section
CVE-2024-26679 inet: read sk->sk_family once in inet_recv_error()
CVE-2024-26680 net: atlantic: Fix DMA mapping for PTP hwts ring
CVE-2024-26681 netdevsim: avoid potential loop in nsim_dev_trap_report_work()
CVE-2024-26682 wifi: mac80211: improve CSA/ECSA connection refusal
CVE-2024-26683 wifi: cfg80211: detect stuck ECSA element in probe resp

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-26670

No comments yet


Leave a comment