CVE-2024-35954

MEDIUM

Linux Kernel - NULL Pointer Dereference in SCSI sg Device Teardown

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: sg: Avoid sg device teardown race sg_remove_sfp_usercontext() must not use sg_device_destroy() after calling scsi_device_put(). sg_device_destroy() is accessing the parent scsi_device request_queue which will already be set to NULL when the preceding call to scsi_device_put() removed the last reference to the parent scsi_device. The resulting NULL pointer exception will then crash the kernel.

Scores

CVSS v3 4.7
EPSS 0.0023
EPSS Percentile 13.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/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 (14)
linux/Kernel 6.5.0 - 6.6.28linux
linux/Kernel 6.7.0 - 6.8.7linux
Linux/Linux < 6.5
Linux/Linux 4cc664e59bf2553771e4c9e90f758f7434cfdc22
Linux/Linux 6.4.7 - 6.5
Linux/Linux 6.5
Linux/Linux 6.6.28 - 6.6.*
Linux/Linux 6.8.7 - 6.8.*
Linux/Linux 6.9
Linux/Linux db59133e927916d8a25ee1fd8264f2808040909d - 27f58c04a8f438078583041468ec60597841284d
... and 4 more
Published May 20, 2024
Tracked Since Feb 18, 2026