CVE Database›Document archive›CVE-2024-35954

CVE-2024-35954

kernel: scsi: sg: Avoid sg device teardown race

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · May 20, 2024

Updated · October 30, 2026

Description

The bug is about a race condition in the Linux kernel's SCSI generic (sg) driver. The problem occurs during the removal of devices when the driver accesses a resource (request_queue) that may have already been freed, leading to a NULL pointer dereference. This issue can result in system crashes, impacting availability.

Statement

This vulnerability is evaluated with Moderate severity because exploitation requires local access during device teardown operations, confining the potential impact strictly to a system crash (denial of service). Under typical Red Hat Enterprise Linux deployments, non-privileged users cannot initiate SCSI device removal or detach hardware resources, which significantly constrains practical attack paths. The issue does not compromise data confidentiality or integrity.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE not specified