---
id: CVE-2024-54458
title: |-
  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…
summary: |-
  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…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-416
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 6.1.129
  - 'linux_kernel >= 6.2, < 6.6.79'
  - 'linux_kernel >= 6.7, < 6.12.16'
  - 'linux_kernel >= 6.13, < 6.13.4'
patched:
  - linux_kernel 6.13.4
published: '2025-02-27'
updated: '2026-07-14'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-54458'
references:
  - url: 'https://git.kernel.org/stable/c/1e95c798d8a7f70965f0f88d4657b682ff0ec75f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/22018622e1e9e371198dbd983af946a844d5924c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5e7b6e44468c3242c21c2a8656d009fb3eb50a73'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5f782d4741bf558def60df192b858b0efc6a5f0a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/88a01e9c9ad40c075756ba93b47984461d4ff15d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9193bdc170cc23fe98aca71d1a63c0bf6e1e853b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/bb4783c670180b922267222408e1c48d22dfbb46'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-019113.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00259
epssPercentile: 0.1564
ingestedAt: '2026-07-14T13:36:55.424Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2025-02-27T17:57:50.924132Z'
---

## Overview

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

- `linux_kernel < 6.1.129`
- `linux_kernel >= 6.2, < 6.6.79`
- `linux_kernel >= 6.7, < 6.12.16`
- `linux_kernel >= 6.13, < 6.13.4`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.13.4`
