{"id":"CVE-2023-53387","published":"2025-09-18T13:33:30Z","modified":"2026-08-05T09:13:50Z","title":"scsi: ufs: core: Fix device management cmd timeout flow","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: ufs: core: Fix device management cmd timeout flow\n\nIn the UFS error handling flow, the host will send a device management cmd\n(NOP OUT) to the device for link recovery. If this cmd times out and\nclearing the doorbell fails, ufshcd_wait_for_dev_cmd() will do nothing and\nreturn. hba->dev_cmd.complete struct is not set to NULL.\n\nWhen this happens, if cmd has been completed by device, then we will call\ncomplete() in __ufshcd_transfer_req_compl(). Because the complete struct is\nallocated on the stack, the following crash will occur:\n\n  ipanic_die+0x24/0x38 [mrdump]\n  die+0x344/0x748\n  arm64_notify_die+0x44/0x104\n  do_debug_exception+0x104/0x1e0\n  el1_dbg+0x38/0x54\n  el1_sync_handler+0x40/0x88\n  el1_sync+0x8c/0x140\n  queued_spin_lock_slowpath+0x2e4/0x3c0\n  __ufshcd_transfer_req_compl+0x3b0/0x1164\n  ufshcd_trc_handler+0x15c/0x308\n  ufshcd_host_reset_and_restore+0x54/0x260\n  ufshcd_reset_and_restore+0x28c/0x57c\n  ufshcd_err_handler+0xeb8/0x1b6c\n  process_one_work+0x288/0x964\n  worker_thread+0x4bc/0xc7c\n  kthread+0x15c/0x264\n  ret_from_fork+0x10/0x30","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00161,"percentile":0.05349,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/cf45493432704786a0f8294c7723ad4eeb5fff24","tags":[]},{"url":"https://git.kernel.org/stable/c/3ffd2cd644e0f1eea01339831bac4b1054e8817c","tags":[]},{"url":"https://git.kernel.org/stable/c/36822124f9de200cedc2f42516301b50d386a6cd","tags":[]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":1.07},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= f5c2976e0cb0f6236013bfb479868531b04f61d4, < cf45493432704786a0f8294c7723ad4eeb5fff24",">= f5c2976e0cb0f6236013bfb479868531b04f61d4, < 3ffd2cd644e0f1eea01339831bac4b1054e8817c",">= f5c2976e0cb0f6236013bfb479868531b04f61d4, < 36822124f9de200cedc2f42516301b50d386a6cd","8841c1b02c8083e4451077a2b1f235bbfd0db105",">= 5.18.16, < 5.19"]},{"vendor":"Linux","product":"Linux","versions":["5.19"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-14T18:58:04.971450Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-29931","exploited":false,"provenance":"source"}}