CVE-2024-35954
Linux Kernel SCSI sg Device NULL Pointer Dereference
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.
INFO
Published Date :
May 20, 2024, 10:15 a.m.
Last Modified :
Nov. 21, 2024, 9:21 a.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
Exploitability Score :
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-35954
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-35954
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-35954
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Reanalysis by [email protected]
Mar. 04, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H Removed CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H -
Initial Analysis by [email protected]
Mar. 04, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 from (excluding) 6.8.7 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.4.7 from (excluding) 6.6.28 Added Reference Type CVE: https://git.kernel.org/stable/c/27f58c04a8f438078583041468ec60597841284d Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/27f58c04a8f438078583041468ec60597841284d Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/46af9047523e2517712ae8e71d984286c626e022 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/46af9047523e2517712ae8e71d984286c626e022 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/b0d1ebcc1a9560e494ea9b3ee808540db26c5086 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b0d1ebcc1a9560e494ea9b3ee808540db26c5086 Types: Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/27f58c04a8f438078583041468ec60597841284d Added Reference https://git.kernel.org/stable/c/46af9047523e2517712ae8e71d984286c626e022 Added Reference https://git.kernel.org/stable/c/b0d1ebcc1a9560e494ea9b3ee808540db26c5086 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 20, 2024
Action Type Old Value New Value Added 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. Added Reference kernel.org https://git.kernel.org/stable/c/46af9047523e2517712ae8e71d984286c626e022 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/b0d1ebcc1a9560e494ea9b3ee808540db26c5086 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/27f58c04a8f438078583041468ec60597841284d [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-35954
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-35954
weaknesses.