Description
In the Linux kernel, the following vulnerability has been resolved: scsi: sd: Fix potential NULL pointer dereference If sd_probe() sees an early error before sdkp->device is initialized, sd_zbc_release_disk() is called. This causes a NULL pointer dereference when sd_is_zoned() is called inside that function. Avoid this by removing the call to sd_zbc_release_disk() in sd_probe() error path. This change is safe and does not result in zone information memory leakage because the zone information for a zoned disk is allocated only when sd_revalidate_disk() is called, at which point sdkp->disk_dev is fully set, resulting in sd_disk_release() being called when needed to cleanup a disk zone information using sd_zbc_release_disk().
References (5)
Core 5
Core References
Scores
CVSS v3
5.5
EPSS
0.0025
EPSS Percentile
15.8%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-476
Status
published
Products (17)
linux/Kernel
4.10.0 - 5.10.122linux
linux/Kernel
5.11.0 - 5.15.47linux
linux/Kernel
5.16.0 - 5.17.15linux
linux/Kernel
5.18.0 - 5.18.4linux
Linux/Linux
< 4.10
Linux/Linux
4.10
Linux/Linux
5.10.122 - 5.10.*
Linux/Linux
5.15.47 - 5.15.*
Linux/Linux
5.17.15 - 5.17.*
Linux/Linux
5.18.4 - 5.18.*
... and 7 more
Published
Feb 26, 2025
Tracked Since
Feb 18, 2026