PT-2021-8228 · Linux+4 · Linux Kernel+4

Published

2021-12-22

·

Updated

2025-07-08

·

CVE-2021-47576

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel version 5.15.0-01d0625
Description The vulnerability is related to a use-after-free issue in the resp mode select() function of the scsi debug component. This issue can be exploited to potentially elevate privileges in the system. The vulnerability is identified by a BUG report from KASAN, indicating a use-after-free error in resp mode select+0xa4c/0xb40 at drivers/scsi/scsi debug.c:2509. The error occurs when reading a size of 1 at address ffff888026670f50 by task scsicmd/15032.
Recommendations To resolve this issue, update the Linux kernel to a version that includes the fix for this vulnerability. Specifically, ensure that the scsi debug component has been updated to include the sanity check for the block descriptor length in resp mode select() to avoid use-after-free errors.
Note: The provided information does not specify the exact version that includes the fix, so it is recommended to update to the latest available version of the Linux kernel.
As a temporary workaround, consider disabling the resp mode select() function or restricting access to the scsi debug component until a patched version is available. However, this should be done with caution as it may affect system functionality.
At the moment, there is no information about a newer version that contains a fix for this vulnerability, apart from ensuring the scsi debug component is updated with the necessary sanity checks.

Exploit

Fix

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2024-11541
CVE-2021-47576
OPENSUSE-SU-2024_2362-1
OPENSUSE-SU-2024_2372-1
OPENSUSE-SU-2024_2394-1
SUSE-SU-2024:2360-1
SUSE-SU-2024:2362-1
SUSE-SU-2024:2372-1
SUSE-SU-2024:2381-1
SUSE-SU-2024:2384-1
SUSE-SU-2024:2394-1
SUSE-SU-2024:2561-1
SUSE-SU-2024:2902-1
SUSE-SU-2024:2929-1
SUSE-SU-2024:2939-1
USN-7607-1
USN-7607-2
USN-7607-3

Affected Products

Astra Linux
Linux Kernel
Red Os
Suse
Ubuntu