CVE-2024-54458

scsi: ufs: bsg: Set bsg_queue to NULL after removal

HIGH
7.8
CVSS Score
Published: February 27, 2025 at 02:18 AM UTC
Updated: October 15, 2026 at 01:19 AM UTC
4 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 CPU 1518-4 Pn /dp MFP FirmwareSiplus S7-1500 CPU 1518-4 Pn /dp MFP Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

All versionsv < 6.1.1296.13 ≤ v < 6.13.46.2 ≤ v < 6.6.796.7 ≤ v < 6.12.164.20df032bf27a414acf61c957ec2fad22a57d903b39
Vendor states this is fixed in 1e95c798d8a7f70965f0f88d4657b682ff0ec75f (fixed)
Vendor states this is fixed in 22018622e1e9e371198dbd983af946a844d5924c (fixed)
Vendor states this is fixed in 5e7b6e44468c3242c21c2a8656d009fb3eb50a73 (fixed)
Vendor states this is fixed in 5f782d4741bf558def60df192b858b0efc6a5f0a (fixed)
Vendor states this is fixed in 88a01e9c9ad40c075756ba93b47984461d4ff15d (fixed)
Vendor states this is fixed in 9193bdc170cc23fe98aca71d1a63c0bf6e1e853b (fixed)
Vendor states this is fixed in bb4783c670180b922267222408e1c48d22dfbb46 (fixed)
Vendor states this is fixed in 4.20 (unaffected)
Vendor states this is fixed in 5.10.237 (unaffected)
Vendor states this is fixed in 5.15.181 (unaffected)
Vendor states this is fixed in 6.1.129 (unaffected)
Vendor states this is fixed in 6.12.16 (unaffected)
Vendor states this is fixed in 6.13.4 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.79 (unaffected)

References (11)

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card