# CVE-2024-46843: scsi: ufs: core: Remove SCSI host only if added

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-09-27 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2024-46843, DEBIAN-CVE-2024-46843
- Record: https://cvemate.com/vulnerability/CVE-2024-46843 · JSON: https://cvemate.com/vulnerability/CVE-2024-46843/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

scsi: ufs: core: Remove SCSI host only if added

If host tries to remove ufshcd driver from a UFS device it would cause a
kernel panic if ufshcd_async_scan fails during ufshcd_probe_hba before
adding a SCSI host with scsi_add_host and MCQ is enabled since SCSI host
has been defered after MCQ configuration introduced by commit 0cab4023ec7b
("scsi: ufs: core: Defer adding host to SCSI if MCQ is supported").

To guarantee that SCSI host is removed only if it has been added, set the
scsi_host_added flag to true after adding a SCSI host and check whether it
is set or not before removing it.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.235%, percentile 15.373%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 102)

- debian linux (Debian): \< 6.10.11-1
- ubuntu linux (Ubuntu): \< 6.8.0-50.51
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 6.8.0-1020.22
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1020.22~22.04.1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1020.23
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-6.2 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/2f49e05d6b58d660f035a75ff96b77071b4bd5ed>
- <https://git.kernel.org/stable/c/3844586e9bd9845140e1078f1e61896b576ac536>
- <https://git.kernel.org/stable/c/7cbff570dbe8907e23bba06f6414899a0fbb2fcc>
- <https://ubuntu.com/security/CVE-2024-46843>
- <https://www.cve.org/CVERecord?id=CVE-2024-46843>
- <https://git.kernel.org/linus/7cbff570dbe8907e23bba06f6414899a0fbb2fcc>
- <https://ubuntu.com/security/notices/USN-7154-1>
- <https://ubuntu.com/security/notices/USN-7155-1>
- <https://ubuntu.com/security/notices/USN-7156-1>
- <https://ubuntu.com/security/notices/USN-7154-2>
- <https://ubuntu.com/security/notices/USN-7196-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-46843>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-46843>

---

Data as of 2026-12-05T18:19:13.406Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
