{"id":"CVE-2024-46843","published":"2024-09-27T12:39:37Z","modified":"2026-05-11T20:37:37Z","title":"scsi: ufs: core: Remove SCSI host only if added","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: ufs: core: Remove SCSI host only if added\n\nIf host tries to remove ufshcd driver from a UFS device it would cause a\nkernel panic if ufshcd_async_scan fails during ufshcd_probe_hba before\nadding a SCSI host with scsi_add_host and MCQ is enabled since SCSI host\nhas been defered after MCQ configuration introduced by commit 0cab4023ec7b\n(\"scsi: ufs: core: Defer adding host to SCSI if MCQ is supported\").\n\nTo guarantee that SCSI host is removed only if it has been added, set the\nscsi_host_added flag to true after adding a SCSI host and check whether it\nis set or not before removing it.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00235,"percentile":0.14712,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/2f49e05d6b58d660f035a75ff96b77071b4bd5ed","tags":[]},{"url":"https://git.kernel.org/stable/c/3844586e9bd9845140e1078f1e61896b576ac536","tags":[]},{"url":"https://git.kernel.org/stable/c/7cbff570dbe8907e23bba06f6414899a0fbb2fcc","tags":[]}],"priority":{"score":2.9,"factors":[{"name":"EPSS percentile","points":2.94}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0cab4023ec7b49b18145f74ab8389678d6d58878, < 2f49e05d6b58d660f035a75ff96b77071b4bd5ed",">= 0cab4023ec7b49b18145f74ab8389678d6d58878, < 3844586e9bd9845140e1078f1e61896b576ac536",">= 0cab4023ec7b49b18145f74ab8389678d6d58878, < 7cbff570dbe8907e23bba06f6414899a0fbb2fcc"]},{"vendor":"Linux","product":"Linux","versions":["6.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-29T13:59:19.591103Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-42104","exploited":false,"provenance":"source"}}