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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-26842— scsi: ufs: core: Fix shift issue in ufshcd_clear_cmd()

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存在安全漏洞,该漏洞源于ufshcd_clear_cmd() 中存在移位问题。

AI Predicted 7.8 Difficulty: Moderate EPSS 0.24% · P14

Possible ATT&CK Techniques 1 AI

T1211 · Exploitation for Stealth

Affected Version Matrix 8

VendorProduct Version RangeStatus
Linux Linux adf452611677d048203398f489e2175a9068f9f7< 7ac9e18f5d66087cd22751c5c5bf0090eb0038fe affected
adf452611677d048203398f489e2175a9068f9f7< a992425d18e5f7c48931121993c6c69426f2a8fb affected
adf452611677d048203398f489e2175a9068f9f7< b513d30d59bb383a6a5d6b533afcab2cee99a8f8 affected
6.5 affected
< 6.5 unaffected
6.6.19≤ 6.6.* unaffected
6.7.7≤ 6.7.* unaffected
6.8≤ * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-26842

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
scsi: ufs: core: Fix shift issue in ufshcd_clear_cmd()
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: core: Fix shift issue in ufshcd_clear_cmd() When task_tag >= 32 (in MCQ mode) and sizeof(unsigned int) == 4, 1U << task_tag will out of bounds for a u32 mask. Fix this up to prevent SHIFT_ISSUE (bitwise shifts that are out of bounds for their data type). [name:debug_monitors&]Unexpected kernel BRK exception at EL1 [name:traps&]Internal error: BRK handler: 00000000f2005514 [#1] PREEMPT SMP [name:mediatek_cpufreq_hw&]cpufreq stop DVFS log done [name:mrdump&]Kernel Offset: 0x1ba5800000 from 0xffffffc008000000 [name:mrdump&]PHYS_OFFSET: 0x80000000 [name:mrdump&]pstate: 22400005 (nzCv daif +PAN -UAO) [name:mrdump&]pc : [0xffffffdbaf52bb2c] ufshcd_clear_cmd+0x280/0x288 [name:mrdump&]lr : [0xffffffdbaf52a774] ufshcd_wait_for_dev_cmd+0x3e4/0x82c [name:mrdump&]sp : ffffffc0081471b0 <snip> Workqueue: ufs_eh_wq_0 ufshcd_err_handler Call trace: dump_backtrace+0xf8/0x144 show_stack+0x18/0x24 dump_stack_lvl+0x78/0x9c dump_stack+0x18/0x44 mrdump_common_die+0x254/0x480 [mrdump] ipanic_die+0x20/0x30 [mrdump] notify_die+0x15c/0x204 die+0x10c/0x5f8 arm64_notify_die+0x74/0x13c do_debug_exception+0x164/0x26c el1_dbg+0x64/0x80 el1h_64_sync_handler+0x3c/0x90 el1h_64_sync+0x68/0x6c ufshcd_clear_cmd+0x280/0x288 ufshcd_wait_for_dev_cmd+0x3e4/0x82c ufshcd_exec_dev_cmd+0x5bc/0x9ac ufshcd_verify_dev_init+0x84/0x1c8 ufshcd_probe_hba+0x724/0x1ce0 ufshcd_host_reset_and_restore+0x260/0x574 ufshcd_reset_and_restore+0x138/0xbd0 ufshcd_err_handler+0x1218/0x2f28 process_one_work+0x5fc/0x1140 worker_thread+0x7d8/0xe20 kthread+0x25c/0x468 ret_from_fork+0x10/0x20
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存在安全漏洞,该漏洞源于ufshcd_clear_cmd() 中存在移位问题。
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 adf452611677d048203398f489e2175a9068f9f7 ~ 7ac9e18f5d66087cd22751c5c5bf0090eb0038fe -
Linux Linux 6.5 -

II. Public POCs for CVE-2024-26842

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

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

Other References for CVE-2024-26842 (3)

Same Patch Batch · Linux · 2024-04-17 · 100 CVEs total

CVE-2024-26853 9.8 CRITICAL igc: avoid returning frame twice in XDP_REDIRECT
CVE-2024-26877 9.8 CRITICAL crypto: xilinx - call finalize with bh disabled
CVE-2024-26828 9.4 CRITICAL cifs: fix underflow in parse_server_interfaces()
CVE-2024-26856 8.8 HIGH net: sparx5: Fix use after free inside sparx5_del_mact_entry
CVE-2024-26822 8.7 HIGH smb: client: set correct id, uid and cruid for multiuser automounts
CVE-2024-26830 8.4 HIGH i40e: Do not allow untrusted VF to remove administratively set MAC
CVE-2024-26883 7.8 HIGH bpf: Fix stackmap overflow check on 32-bit arches
CVE-2024-26872 7.8 HIGH RDMA/srpt: Do not register event handler until srpt device is fully setup
CVE-2024-26824 7.8 HIGH crypto: algif_hash - Remove bogus SGL free on zero-length error path
CVE-2024-26870 7.8 HIGH NFSv4.2: fix nfs4_listxattr kernel BUG at mm/usercopy.c:102
CVE-2024-26823 7.8 HIGH irqchip/gic-v3-its: Restore quirk probing for ACPI-based systems
CVE-2024-26869 7.8 HIGH f2fs: fix to truncate meta inode pages forcely
CVE-2024-26911 7.8 HIGH drm/buddy: Fix alloc_range() error handling code
CVE-2024-26838 7.8 HIGH RDMA/irdma: Fix KASAN issue with tasklet
CVE-2024-26865 7.8 HIGH rds: tcp: Fix use-after-free of net in reqsk_timer_handler().
CVE-2024-26864 7.8 HIGH tcp: Fix refcnt handling in __inet_hash_connect().
CVE-2024-26890 7.8 HIGH Bluetooth: btrtl: fix out of bounds memory access
CVE-2024-26895 7.8 HIGH wifi: wilc1000: prevent use-after-free on vif when cleaning up all interfaces
CVE-2024-26898 7.8 HIGH aoe: fix the potential use-after-free problem in aoecmd_cfg_pkts
CVE-2024-26852 7.8 HIGH net/ipv6: avoid possible UAF in ip6_route_mpath_notify()

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-26842

No comments yet


Leave a comment