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

CVE record · `CVE-2024-54458`

- **Identifiers:** `CVE-2024-54458`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-416](https://cwe.mitre.org/data/definitions/416.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 27 Feb 2025
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 27 Feb 2025, 02:18 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `df032bf27a414acf61c957ec2fad22a57d903b39 to before bb4783c670180b922267222408e1c48d22dfbb46` (git)
  - affected: `df032bf27a414acf61c957ec2fad22a57d903b39 to before 22018622e1e9e371198dbd983af946a844d5924c` (git)
  - affected: `df032bf27a414acf61c957ec2fad22a57d903b39 to before 5e7b6e44468c3242c21c2a8656d009fb3eb50a73` (git)
  - affected: `df032bf27a414acf61c957ec2fad22a57d903b39 to before 5f782d4741bf558def60df192b858b0efc6a5f0a` (git)
  - affected: `df032bf27a414acf61c957ec2fad22a57d903b39 to before 88a01e9c9ad40c075756ba93b47984461d4ff15d` (git)
  - affected: `df032bf27a414acf61c957ec2fad22a57d903b39 to before 9193bdc170cc23fe98aca71d1a63c0bf6e1e853b` (git)
  - affected: `df032bf27a414acf61c957ec2fad22a57d903b39 to before 1e95c798d8a7f70965f0f88d4657b682ff0ec75f` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.20`
  - unaffected: `before 4.20` (semver)
  - unaffected: `5.10.237 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.181 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.129 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.79 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.16 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13.4 to 6.13.*, inclusive` (semver)
  - unaffected: `6.14 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel from 4.20 onward has a UFS BSG driver flaw in which bsg_queue is not cleared after removal, which could enable a use-after-free. The source gives few details and reports no current impact. Upgrade to 5.10.237, 5.15.181, 6.1.129, or 6.6.79 or later in the matching series.

Written 19 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux) (used for this record)
- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0026, the 17th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 27 Feb 2025, 02:18 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2024-54458)
- 27 Feb 2025, 03:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2024-54458)

## Sources

- [CVE List: CVE-2024-54458](https://www.cve.org/CVERecord?id=CVE-2024-54458)
- [NVD: CVE-2024-54458](https://nvd.nist.gov/vuln/detail/CVE-2024-54458)

### References from the CNA

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

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-54458>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-54458/>. Everything for agents: <https://agentprime.io/llms.txt>.
