cve.bz

CVE-2023-53510 linux linux kernel: Double Free

7.8 highEPSS 0.2%Fix available

High (7.8) in linux linux kernel. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 5th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-415 Double Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-53510 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-53510?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-53510?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-53510 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux3.12 and later

Fixed in

ProductRelease lineFixed in
Linux6.16.1.167
Linux6.36.3.13
Linux6.46.4.4
Linuxlater releases6.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11linux-6.16.1.170-1~deb11u1DLA-4561-1
Debian12linux6.1.170-1DEBIAN-CVE-2023-53510 DSA-6243-1
Debian13, 14linux6.4.4-1DEBIAN-CVE-2023-53510
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-53510
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-53510
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2023-53510
Ubuntu22.04:LTSlinux, linux-aws, linux-gcp and 47 moreno fix listedUBUNTU-CVE-2023-53510
Ubuntu24.04:LTSlinux-intel, linux-riscv, linux-oem-6.8 and 7 moreno fix listedUBUNTU-CVE-2023-53510
UbuntuNvidia-BlueField:22.04:LTSlinux-bluefieldno fix listedUBUNTU-CVE-2023-53510
UbuntuPro:14.04:LTSlinux, linux-aws, linux-azure and 1 moreno fix listedUBUNTU-CVE-2023-53510
UbuntuPro:16.04:LTSlinux, linux-aws, linux-gcp and 5 moreno fix listedUBUNTU-CVE-2023-53510
UbuntuPro:18.04:LTSlinux, linux-aws, linux-kvm and 10 moreno fix listedUBUNTU-CVE-2023-53510
UbuntuPro:20.04:LTSlinux, linux-aws, linux-gcp and 19 moreno fix listedUBUNTU-CVE-2023-53510
UbuntuPro:FIPS-preview:22.04:LTS, Pro:FIPS-updates:18.04:LTS, Pro:FIPS-updates:20.04:LTS and 3 morelinux-fips, linux-aws-fips, linux-gcp-fips and 1 moreno fix listedUBUNTU-CVE-2023-53510
UbuntuPro:FIPS-updates:16.04:LTS, Pro:FIPS:16.04:LTSlinux-fipsno fix listedUBUNTU-CVE-2023-53510
1 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 29 more0:5.14.0-570.12.1.el9_6RHSA-2025:6966
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 45 more0:5.14.0-570.12.1.el9_6RHSA-2025:6966
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 16 more0:5.14.0-570.12.1.el9_6RHSA-2025:6966
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-570.12.1.el9_6RHSA-2025:6966
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-64k, kernel-rt-core and 35 more0:5.14.0-570.12.1.el9_6RHSA-2025:6966
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6, Linux Enterprise Module for Legacy 15 SP6 and 1 morekernel-default6.4.0-150600.23.73.1SUSE-SU-2025:03600-1
SUSELinux Enterprise High Availability Extension 15 SP7, Linux Enterprise Live Patching 15 SP7, Linux Enterprise Module for Legacy 15 SP7 and 1 morekernel-default6.4.0-150700.53.22.1SUSE-SU-2025:4057-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_161-150600.1.3.1SUSE-SU-2025:3751-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_161-150600.13.3.1SUSE-SU-2025:03600-1
SUSELinux Enterprise Live Patching 15 SP7kernel-livepatch-SLE15-SP7-RT_Update_61-150700.1.3.1SUSE-SU-2025:4141-1
SUSELinux Enterprise Live Patching 15 SP7kernel-livepatch-SLE15-SP7_Update_61-150700.15.3.1SUSE-SU-2025:4057-1
SUSELinux Enterprise Module for Basesystem 15 SP6kernel-64kb, kernel-source, kernel-default and 1 more6.4.0-150600.23.73.1SUSE-SU-2025:03600-1
SUSELinux Enterprise Module for Basesystem 15 SP6kernel-default-base6.4.0-150600.23.73.1.150600.12.32.1SUSE-SU-2025:03600-1
SUSELinux Enterprise Module for Basesystem 15 SP7kernel-64kb, kernel-source, kernel-default and 1 more6.4.0-150700.53.22.1SUSE-SU-2025:4057-1
SUSELinux Enterprise Module for Basesystem 15 SP7kernel-default-base6.4.0-150700.53.22.1.150700.17.15.1SUSE-SU-2025:4057-1
SUSELinux Enterprise Module for Development Tools 15 SP6kernel-docs, kernel-syms, kernel-source and 1 more6.4.0-150600.23.73.1SUSE-SU-2025:03600-1
SUSELinux Enterprise Module for Development Tools 15 SP7kernel-docs, kernel-syms, kernel-source and 1 more6.4.0-150700.53.22.1SUSE-SU-2025:4057-1
10 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6dtb-aarch64, kernel-64kb, kernel-docs and 8 more6.4.0-150600.23.73.1SUSE-SU-2025:03600-1
openSUSELeap 15.6kernel-azure, kernel-syms-azure, kernel-source-azure6.4.0-150600.8.52.1SUSE-SU-2025:03634-1
openSUSELeap 15.6kernel-default-base6.4.0-150600.23.73.1.150600.12.32.1SUSE-SU-2025:03600-1
openSUSELeap 15.6kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more6.4.0-150600.10.55.1SUSE-SU-2025:3751-1
Azure Linux2kernelno fix listedAZL-75243
Alpaquita23linux-lts6.1.167-r0BELL-CVE-2023-53510
Alpaquitastreamlinux-lts6.6.58-r0BELL-CVE-2023-53510

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Low.

Red Hat's statement

A flaw of low impact was found in the Linux kernel Universal Flash Storage (UFS) SCSI driver. When a UFS SCSI command times out, the SCSI error handler may legitimately re-submit the same command through scsi_send_eh_cmnd() before the original command has completed. The UFS driver incorrectly treated the still-populated lrbp->cmd command pointer as an invalid condition in this situation, triggering a WARN_ON in ufshcd_queuecommand(). The demonstrated consequence is a non-fatal kernel warning and stack trace during SCSI error recovery; the fixing commit does not demonstrate memory corruption, use-after-free, out-of-bounds access, information disclosure, or privilege escalation. Triggering the warning requires a UFS command timeout that causes the SCSI error-recovery path to re-enter ufshcd_queuecommand(), which is reflected in the high attack complexity of the Red Hat score. Red Hat Enterprise Linux 9 (kernel and kernel-rt) is affected and the fix is deferred: because the issue is of low severity with consequences limited to a non-fatal kernel warning in the storage error-recovery path, it will be addressed in a future RHEL 9 update rather than an immediate erratum. The residual risk is limited to that warning during UFS command timeout handling; a more severe outcome such as a kernel panic would require an additional condition such as panic_on_warn being enabled, which is not an intrinsic consequence of this flaw. Red Hat Enterprise Linux 6, 7, 8, and 10, and Red Hat In-Vehicle OS, are marked not affected because the vulnerable code is not present in those streams. The Red Hat severity of Low (CVSS 3.1 score 2.5) differs from the upstream NIST and CVE.org score of 7.8 because the upstream scoring assumes high confidentiality, integrity, and availability impacts that are not established by the available evidence for this change.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9kernel-0:5.14.0-570.12.1.el9_6Fixed 2025-05-13RHSA-2025:6966
Red Hat Enterprise Linux 10kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernel-rtFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-53510.

References

Check your stackJSON