Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-47576

7.8 · HIGH
Published Jun 19, 2024 linux CWE-416 EPSS 0.26% (17th pctl)

Overview

CVE-2021-47576 is a high-severity vulnerability affecting linux linux_kernel. 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 and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 0, < 4.9.294 Affected

Frequently Asked Questions

What is CVE-2021-47576?

CVE-2021-47576 is a high-severity vulnerability affecting linux linux_kernel. 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 and patches from linux. Update linux_kernel to the latest patched version. 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's AI-powered security agents can automatically detect CVE-2021-47576 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.