CVE-2023-53567
kernel: spi: qup: Don't skip cleanup in remove's error path
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 4, 2025
Updated · June 30, 2026
Description
An incorrect error handling flaw was found in the Linux kernel's Qualcomm SPI driver in the device removal path. A local privileged user who triggers device removal when the hardware fails to wake can cause DMA resources to leak permanently, as the driver returns early from the cleanup callback without releasing allocated resources. This leads to resource exhaustion and denial of service through repeated device removal operations or system reboot scenarios.
Statement
The bug occurs in the platform driver's remove callback, which is invoked during device unbinding or system shutdown. When the code attempts to wake the device and that operation fails, it returns immediately without proceeding to DMA resource cleanup. Since remove callbacks are never retried, these resources remain allocated indefinitely. This creates a permanent memory leak that accumulates across device hotplug cycles or module unload/reload sequences. Triggering requires the ability to unbind devices or unload modules, typically requiring root privileges or specific udev configurations.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CWE-771 · Missing Reference to Active Allocated Resource