LiveActive security incident?Get immediate response
CVE Record

CVE-2024-35954: scsi: sg: Avoid sg device teardown race

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.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A race during Linux SCSI generic-device removal can dereference an already-cleared request queue and crash the kernel. The supplied CVSS is 7.8 and requires local, low-privileged access. The documented outcome is primarily service disruption; the source bundle does not demonstrate remote exploitation or data compromise.

Executive priority

Treat as a high-priority availability issue for exposed multi-user Linux hosts, but not as an internet-wide emergency. Patch through normal expedited kernel maintenance after confirming vendor applicability. Accelerate action where a kernel crash would interrupt critical services or shared infrastructure.

Technical view

The sg teardown path calls scsi_device_put() before sg_device_destroy(). If the put removes the final parent-device reference, its request_queue becomes NULL. The later destroy operation accesses that queue, causing a NULL-pointer exception and kernel crash. Referenced Linux stable commits contain the resolution.

Likely exposure

Exposure is limited to Linux systems running an affected kernel and exercising the SCSI generic-device teardown path. Risk is most relevant where low-privileged local users or workloads can interact with applicable devices. The supplied version data is ambiguous, so distribution-specific backport status must be verified.

Exploitation context

The CVSS vector indicates local access, low complexity, low privileges, and no user interaction. The bundle does not list this CVE in KEV and provides no evidence of active exploitation. It documents a kernel crash, not a network-reachable attack or proven confidentiality or integrity compromise.

Researcher notes

The source bundle identifies no CWE and contains unclear version entries, including commit hashes and an affected version listed as "0." Researchers should rely on vendor package advisories and commit ancestry rather than raw version matching. Although CVSS marks confidentiality, integrity, and availability high, the provided description specifically substantiates a NULL-pointer kernel crash.

Mitigation direction

  • Install a vendor-supported kernel containing the referenced stable fix or an acknowledged backport.
  • Check Linux distribution advisories for package-specific affected and fixed versions.
  • Prioritize multi-user or workload-hosting systems with accessible SCSI generic devices.
  • Apply vendor-recommended temporary mitigations if immediate kernel replacement is unavailable.

Validation and detection

  • Inventory deployed kernel and distribution package versions.
  • Compare each package against distribution advisories and backport notes.
  • Confirm the installed source or changelog includes the referenced fix.
  • Regression-test relevant SCSI device removal and teardown behavior after updating.
  • Monitor kernel logs for NULL-pointer faults involving the sg teardown path.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2024-35954 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9Linux

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2024-35954Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxdb59133e927916d8a25ee1fd8264f2808040909d, db59133e927916d8a25ee1fd8264f2808040909d, db59133e927916d8a25ee1fd8264f2808040909d, 4cc664e59bf2553771e4c9e90f758f7434cfdc22, 6.4.7unaffected
LinuxLinux6.5, 0, 6.6.28, 6.8.7, 6.9affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.