CVE-2024-50098: Linux kernel · scsi: ufs: core: Set SDEV_OFFLINE when UFS is shut down
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 29 Oct 2026, 23:30 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 5 Nov 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to set the SDEV_OFFLINE flag for all logical units except WLUN during UFS shutdown, preventing deadlocks. Users should update to a Linux kernel version that includes this fix once available. Since no vendor advisory or patch links are provided, check the official Linux kernel repositories or vendor advisories for the fixed kernel versions and apply updates accordingly.
Description
CVE-2024-50098 addresses a deadlock issue in the Linux kernel's UFS SCSI core during system reboot at early boot stages. The problem occurred because the SDEV_QUIESCE flag was set for all logical units (LUs) during UFS shutdown, causing the audio driver to deadlock while waiting on a mutex held by blk_mq_submit_bio(). The fix involves setting the SDEV_OFFLINE flag for all LUs except the well-known logical unit (WLUN) to ensure any I/O after UFS shutdown returns an error, preventing deadlocks.
References
- nvd.nist.gov/vuln/detail/CVE-2024-50098 (opens in a new tab)
- git.kernel.org/stable/c/19a198b67767d952c8f3d0cf24eb3100522a8223 (opens in a new tab)
- git.kernel.org/stable/c/7774d23622416dbbbdb21bf342b3f0d92cf1dc0f (opens in a new tab)
- git.kernel.org/stable/c/7bd9af254275fad7071d85f04616560deb598d7d (opens in a new tab)
- git.kernel.org/stable/c/7de759fceacff5660abf9590d11114215a9d5f3c (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)