cbcvebase.
CVE-2024-35954
published 2024-05-20

CVE-2024-35954: In the Linux kernel, the following vulnerability has been resolved: scsi: sg: Avoid sg device teardown race sg_remove_sfp_usercontext() must not use…

PriorityP416medium4.7CVSS 3.1
AVLACHPRLUINSUCNINAH
EPSS
0.24%
15.4th percentile
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.

Affected

13 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.8.9-1 (forky)linux 6.8.9-1 (forky)
linuxlinux
linuxlinux
linuxlinux>= 6.4.7 < 6.56.5
linuxlinux>= db59133e927916d8a25ee1fd8264f2808040909d < 46af9047523e2517712ae8e71d984286c626e02246af9047523e2517712ae8e71d984286c626e022
linuxlinux>= db59133e927916d8a25ee1fd8264f2808040909d < b0d1ebcc1a9560e494ea9b3ee808540db26c5086b0d1ebcc1a9560e494ea9b3ee808540db26c5086
linuxlinux>= db59133e927916d8a25ee1fd8264f2808040909d < 27f58c04a8f438078583041468ec60597841284d27f58c04a8f438078583041468ec60597841284d
linuxlinux_kernel
linuxlinux_kernel>= 0 < 6.8.9-16.8.9-1
linuxlinux_kernel>= 0 < 6.8.9-16.8.9-1
linuxlinux_kernel>= 0 < 6.8.0-38.386.8.0-38.38
linuxlinux_kernel>= 6.4.7 < 6.6.286.6.28
linuxlinux_kernel>= 6.7 < 6.8.76.8.7

CVSS provenance

nvdv3.14.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
osv6.8MEDIUM
vendor_debian4.7LOW
vendor_redhat4.7MEDIUM
vendor_ubuntu4.6MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.