CVE-2024-54458: scsi: ufs: bsg: Set bsg_queue to NULL after removal
In the Linux kernel, the following vulnerability has been resolved:
scsi: ufs: bsg: Set bsg_queue to NULL after removal
Currently, this does not cause any issues, but I believe it is necessary to
set bsg_queue to NULL after removing it to prevent potential use-after-free
(UAF) access.
Security readout for executives and security teams
Plain-English summary
CVE-2024-54458 is a Linux kernel flaw in UFS storage support. A removed BSG queue may remain referenced, creating a potential use-after-free condition. The score is high because a local low-privileged user could potentially affect confidentiality, integrity, and availability on vulnerable systems.
Executive priority
Treat as a high-priority kernel maintenance issue for affected Linux fleets, especially embedded and industrial systems. It is not remotely exploitable based on the provided sources, but local kernel flaws can materially increase impact after initial access.
Technical view
The issue is in scsi/ufs/bsg cleanup logic. After removing a BSG queue, the pointer was not set to NULL, leaving a possible stale reference and CWE-416 use-after-free. Kernel stable commits correct the lifecycle handling. CVSS 3.1 is 7.8: local, low complexity, low privileges, no user interaction, high CIA impact.
Likely exposure
Most relevant to Linux systems using UFS storage and the UFS BSG interface, including embedded, mobile, appliance, and industrial Linux environments. Debian LTS and Siemens advisories indicate downstream vendor tracking, but the bundle does not prove every Linux deployment is exploitable.
Exploitation context
The bundle marks KEV as false and provides no cited evidence of active exploitation. The attack model is local with low privileges. Real-world exploitability depends on kernel version, UFS support, device availability, and whether an attacker can reach the relevant BSG interface.
Researcher notes
Focus triage on UFS BSG queue lifecycle and downstream backports. The record says the bug currently caused no known issue, but the fix prevents potential UAF access. Do not assume exploitability without confirming reachable UFS BSG paths and affected kernel code.
Mitigation direction
Update to a vendor kernel containing the referenced stable fixes.
Apply Debian LTS kernel security updates where Debian systems are in scope.
Review Siemens SSA-019113 for affected Siemens products and vendor-specific remediation.
Prioritize systems where local users or workloads can access UFS-related device interfaces.
If no vendor package exists, track the relevant upstream stable commit guidance.
Validation and detection
Inventory running kernel versions across Linux hosts and embedded devices.
Identify systems using UFS storage or UFS host controller drivers.
Check distribution advisories for fixed kernel package versions.
Confirm Siemens product exposure against SSA-019113 where applicable.
Verify the deployed kernel includes the upstream stable fix for CVE-2024-54458.
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.
cwe · low confidence lookup
CWE-416: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
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
3ADP providers
11Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
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.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-416 · source CWE mapping
Use After Free
Use After Free represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.