# CVE-2024-54458: scsi: ufs: bsg: Set bsg_queue to NULL after removal

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-02-27T02:18:08.616Z
- Modified: 2026-11-10T13:17:26.480Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from df032bf27a414acf61c957ec2fad22a57d903b39 before bb4783c670180b922267222408e1c48d22dfbb46; from df032bf27a414acf61c957ec2fad22a57d903b39 before 22018622e1e9e371198dbd983af946a844d5924c; from df032bf27a414acf61c957ec2fad22a57d903b39 before 5e7b6e44468c3242c21c2a8656d009fb3eb50a73; from df032bf27a414acf61c957ec2fad22a57d903b39 before 5f782d4741bf558def60df192b858b0efc6a5f0a; from df032bf27a414acf61c957ec2fad22a57d903b39 before 88a01e9c9ad40c075756ba93b47984461d4ff15d; from df032bf27a414acf61c957ec2fad22a57d903b39 before 9193bdc170cc23fe98aca71d1a63c0bf6e1e853b; from df032bf27a414acf61c957ec2fad22a57d903b39 before 1e95c798d8a7f70965f0f88d4657b682ff0ec75f; 4.20 (not affected: before 4.20; from 5.10.237 up to 5.10.*; from 5.15.181 up to 5.15.*; from 6.1.129 up to 6.1.*; from 6.6.79 up to 6.6.*; from 6.12.16 up to 6.12.*; from 6.13.4 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: before 6.1.129; from 6.2 before 6.6.79; from 6.7 before 6.12.16; from 6.13 before 6.13.4

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/bb4783c670180b922267222408e1c48d22dfbb46>
- <https://git.kernel.org/stable/c/22018622e1e9e371198dbd983af946a844d5924c>
- <https://git.kernel.org/stable/c/5e7b6e44468c3242c21c2a8656d009fb3eb50a73> (patch)
- <https://git.kernel.org/stable/c/5f782d4741bf558def60df192b858b0efc6a5f0a> (patch)
- <https://git.kernel.org/stable/c/88a01e9c9ad40c075756ba93b47984461d4ff15d> (patch)
- <https://git.kernel.org/stable/c/9193bdc170cc23fe98aca71d1a63c0bf6e1e853b> (patch)
- <https://git.kernel.org/stable/c/1e95c798d8a7f70965f0f88d4657b682ff0ec75f> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

- CVE List: [CVE-2024-54458](https://www.cve.org/CVERecord?id=CVE-2024-54458), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2024-54458](https://nvd.nist.gov/vuln/detail/CVE-2024-54458), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2024-54458 · Whole record: https://cve.day/CVE-2024-54458.json · Rebuilt by cve.day 2026-11-25T22:58:52.097Z
