Skip to main content
VulnerabilityPublished Updated

CVE-2024-35954: Linux kernel · scsi: sg: Avoid sg device teardown race

Source GCVE Database

0

Not known to be exploited · CVSS 4.7 Medium.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
4.7Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 15% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 May 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

Since this is a kernel-level issue, applying the official Linux kernel updates when available is recommended. Until a patch is released, avoid untrusted local code execution that could trigger this race condition.

Description

A medium severity vulnerability (CVE-2024-35954) in the Linux kernel's SCSI generic (sg) driver involves a race condition during device teardown. The function sg_remove_sfp_usercontext() improperly calls sg_device_destroy() after scsi_device_put(), leading to a NULL pointer dereference and kernel crash.

References

Community reviews

Loading reviews…