Linux Kernel SCSI Core Memory Leak Vulnerability Fix

Vulnerability

A memory leak vulnerability in the SCSI core of the Linux kernel has been addressed. The issue arose when the device_add() function failed, as the allocated name was not properly freed. The vulnerability is present in the SCSI subsystem, specifically within the raid_class component. The root cause was a missing reference count decrement in the error handling path, which has now been corrected by explicitly freeing the device name and managing the reference count appropriately.

Impact

The vulnerability could lead to a memory leak, where allocated memory is not released, potentially causing increased memory usage over time.

Reproduction

The vulnerability can be reproduced by adding a SCSI RAID component that triggers an error in the device_add() function. This will cause the allocated name to remain unfed, leading to a memory leak.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the Linux Kernel Archive.

Added: Sep 15, 2025, 3:09 PM
Updated: Sep 15, 2025, 9:05 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.0
exploitability
4.3
remediation
7.7
relevance
0.5
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.