CVE-2023-53387: scsi: ufs: core: Fix device management cmd timeout flow

Published Sep 18, 2025
·
Updated

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

scsi: ufs: core: Fix device management cmd timeout flow

In the UFS error handling flow, the host will send a device management cmd (NOP OUT) to the device for link recovery. If this cmd times out and clearing the doorbell fails, ufshcdwaitfordevcmd() will do nothing and return. hba->devcmd.complete struct is not set to NULL.

When this happens, if cmd has been completed by device, then we will call complete() in ufshcdtransferreqcompl(). Because the complete struct is allocated on the stack, the following crash will occur:

ipanicdie+0x24/0x38 [mrdump] die+0x344/0x748 arm64notifydie+0x44/0x104 dodebugexception+0x104/0x1e0 el1dbg+0x38/0x54 el1synchandler+0x40/0x88 el1sync+0x8c/0x140 queuedspinlockslowpath+0x2e4/0x3c0 ufshcdtransferreqcompl+0x3b0/0x1164 ufshcdtrchandler+0x15c/0x308 ufshcdhostresetandrestore+0x54/0x260 ufshcdresetandrestore+0x28c/0x57c ufshcderrhandler+0xeb8/0x1b6c processonework+0x288/0x964 workerthread+0x4bc/0xc7c kthread+0x15c/0x264 retfromfork+0x10/0x30

Affected Software

4 affected components
Linux Linux kernel
Microsoft cbl2 kernel 5.15.186.1-1
Linux Linux kernel<6.1.16
Linux Linux kernel>=6.2<6.2.3

Event History

Sep 18, 2025
CVE Published
via MITRE·01:33 PM
Data Sourced
via MITRE·01:33 PM
DescriptionSeverity
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityAffected Software
Dec 13, 2025
Data Sourced
via Microsoft·01:01 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-53387?

The severity of CVE-2023-53387 is classified as moderate.

2

How do I fix CVE-2023-53387?

To fix CVE-2023-53387, upgrade your Linux kernel to the latest version where this vulnerability has been resolved.

3

What systems are affected by CVE-2023-53387?

CVE-2023-53387 affects various versions of the Linux kernel that utilize the UFS driver.

4

Can CVE-2023-53387 be exploited remotely?

CVE-2023-53387 is primarily a local vulnerability as it requires access to the affected system to exploit.

5

What is the impact of CVE-2023-53387 on system stability?

CVE-2023-53387 can lead to device management command timeouts, which may affect the reliability of link recovery.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203