CVE-2024-35954

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-35954
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35954.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-35954
Downstream
Related
Published
2024-05-20T10:15:10Z
Modified
2025-03-04T17:05:52Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

scsi: sg: Avoid sg device teardown race

sgremovesfpusercontext() must not use sgdevicedestroy() after calling scsidevice_put().

sgdevicedestroy() is accessing the parent scsidevice requestqueue which will already be set to NULL when the preceding call to scsideviceput() removed the last reference to the parent scsi_device.

The resulting NULL pointer exception will then crash the kernel.

References

Affected packages

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.8.9-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}