Menu

Star on GitHub · 3.2k

CVE-2021-47576

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: scsi: scsi_debug: Sanity check block descriptor length in resp_mode_select() In resp_mode_select() sanity check the block descr…

Published Jun 19, 2024CWE-416EPSS 0.26%

Overview

CVE-2021-47576 is a high-severity vulnerability. It was published on June 19, 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: scsi_debug: Sanity check block descriptor length in resp_mode_select()

In resp_mode_select() sanity check the block descriptor len to avoid UAF.

BUG: KASAN: use-after-free in resp_mode_select+0xa4c/0xb40 drivers/scsi/scsi_debug.c:2509

Read of size 1 at addr ffff888026670f50 by task scsicmd/15032

CPU: 1 PID: 15032 Comm: scsicmd Not tainted 5.15.0-01d0625 #15

Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS

Call Trace:

<TASK>

dump_stack_lvl+0x89/0xb5 lib/dump_stack.c:107

print_address_description.constprop.9+0x28/0x160 mm/kasan/report.c:257

kasan_report.cold.14+0x7d/0x117 mm/kasan/report.c:443

__asan_report_load1_noabort+0x14/0x20 mm/kasan/report_generic.c:306

resp_mode_select+0xa4c/0xb40 drivers/scsi/scsi_debug.c:2509

schedule_resp+0x4af/0x1a10 drivers/scsi/scsi_debug.c:5483

scsi_debug_queuecommand+0x8c9/0x1e70 drivers/scsi/scsi_debug.c:7537

scsi_queue_rq+0x16b4/0x2d10 drivers/scsi/scsi_lib

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-2021-47576?

CVE-2021-47576 is a high-severity vulnerability. It was published on June 19, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2021-47576?

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-2021-47576?

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-2021-47576?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-47576 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 2021

View all