CVE-2023-53510CWE-415

CVE-2023-53510

High · published October 1, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
4.4
In the wild
Unconfirmed
What it is

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

scsi: ufs: core: Fix handling of lrbp->cmd

ufshcd_queuecommand() may be called two times in a row for a SCSI command

before it is completed. Hence make the following changes:

- In the functions that submit a command, do not check the old value of

lrbp->cmd nor clear lrbp->cmd in error paths.

- In ufshcd_release_scsi_cmd(), do not clear lrbp->cmd.

See also scsi_send_eh_cmnd().

This commit prevents that the following appears if a command times out:

WARNING: at drivers/ufs/core/ufshcd.c:2965 ufshcd_queuecommand+0x6f8/0x9a8

Call trace:

ufshcd_queuecommand+0x6f8/0x9a8

scsi_send_eh_cmnd+0x2c0/0x960

scsi_eh_test_devices+0x100/0x314

scsi_eh_ready_devs+0xd90/0x114c

scsi_error_handler+0x2b4/0xb70

kthread+0x16c/0x1e0

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00156 · 4.4th percentile
Weakness
CWE-415 · Double Free
Published
2025-10-01T16:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 3.12, < 6.1.1676.1.167
linux/linux_kernel≥ 6.2, < 6.3.136.3.13
linux/linux_kernel≥ 6.4, < 6.4.46.4.4
References (4)
EPSS history
Timeline
  • 01 OCT 11:45Z
    scsi: ufs: core: Fix handling of lrbp->cmd
    cvelistv5