Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2024-26842 — kernel

🟠 CVSS 7.8 — High ✅ No Known Exploit NVD
7.8
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

scsi: ufs: core: Fix shift issue in ufshcd_clear_cmd()

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

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

Affected software

CVE-2024-26842 is recorded against 2 packages.

  • kernel (from 6.7.0 up to 6.7.7)
  • linux-kernel

Timeline and source

Published on 17 April 2024 and last revised on 12 August 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
github.com (Advisory)
nvd.nist.gov (Advisory)
git.kernel.org (Package)

CVE-2024-26842 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity High
CVSS Score 7.8
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE N/A
Public Exploit ✅ No
Source NVD
Published 2024-04-17
Updated 2026-08-20
Modified 2026-08-12

Affected Packages

Software From version Fixed in
kernel 6.7.0 6.7.7
linux-kernel

Similar Threats

Site Security Check

Is kernel part of your stack?

CVE-2024-26842 is rated CVSS 7.8 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.