CVE-2024-35954CWE-476

CVE-2024-35954

High · published May 20, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
14.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00241 · 14.4th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2024-05-20T14:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 6.4.7, < 6.6.286.6.28
linux/linux_kernel≥ 6.7, < 6.8.76.8.7
linux/linux_kernelall versions—
References (6)
EPSS history
Timeline
  • 20 MAY 09:41Z
    scsi: sg: Avoid sg device teardown race
    cvelistv5