Linux Kernel SCSI SES Driver Out-of-Bounds Access Vulnerability in Component Removal

Vulnerability

A vulnerability in the Linux kernel's SCSI SES (SCSI Enclosure Services) driver has been addressed. The issue was a slab-out-of-bounds error in the 'ses_intf_remove' function, which could occur when the 'components' field of an enclosure device structure was zero. In such cases, accessing the first component's members was incorrect, leading to potential memory corruption. This vulnerability was identified by the Kernel Address Sanitizer (KASAN) during the removal of a SCSI enclosure interface.

Impact

Exploitation of this vulnerability could lead to memory corruption, allowing for potential arbitrary code execution or causing a denial-of-service condition by crashing the system.

Reproduction

The vulnerability can be reproduced by loading a SCSI SES enclosure device with no components, and then removing the device. This process will trigger the 'ses_intf_remove' function, where the out-of-bounds access occurs.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for upgrading can be found in the official Linux kernel documentation.

Added: Oct 1, 2025, 1:34 PM
Updated: Oct 1, 2025, 1:34 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.3
remediation
7.7
relevance
0.6
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.