PT-2024-11265 · Linux+2 · Linux Kernel+2

Ming Lei

·

Published

2021-06-07

·

Updated

2024-06-24

·

CVE-2021-47258

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to a memory leak in the Linux kernel's SCSI core. When a device is initialized via device initialize() or its name is set via dev set name(), it must be freed via put device() to prevent a memory leak. The leak occurs because the device name is allocated dynamically in dev set name(). The fix involves replacing kfree() with put device() and removing special-casing for IDA and kthread removal from the error handling, as scsi host dev release() properly handles these.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Memory Leak

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

Weakness Enumeration

Related Identifiers

BDU:2025-15321
CVE-2021-47258
OPENSUSE-SU-2024_2185-1
SUSE-SU-2024:1979-1
SUSE-SU-2024:1983-1
SUSE-SU-2024:2010-1
SUSE-SU-2024:2184-1
SUSE-SU-2024:2185-1

Affected Products

Astra Linux
Linux Kernel
Suse