Menu

Star on GitHub · 3.2k

CVE-2024-26842

7.8 · HIGH

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 << t…

Published Apr 17, 2024CWE-787EPSS 0.24%

Overview

CVE-2024-26842 is a high-severity vulnerability. It was published on April 17, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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/0x9

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-26842?

CVE-2024-26842 is a high-severity vulnerability. It was published on April 17, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-26842?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-26842?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-26842?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-26842 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all