CVE-2023-53758

spi: atmel-quadspi: Free resources even if runtime resume failed in .remove()

published December 8, 2025

CVSS
—
EPSS
0%
Percentile
7.8
In the wild
Unconfirmed
What it is

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

spi: atmel-quadspi: Free resources even if runtime resume failed in .remove()

An early error exit in atmel_qspi_remove() doesn't prevent the device

unbind. So this results in an spi controller with an unbound parent

and unmapped register space (because devm_ioremap_resource() is undone).

So using the remaining spi controller probably results in an oops.

Instead unregister the controller unconditionally and only skip hardware

access and clk disable.

Also add a warning about resume failing and return zero unconditionally.

The latter has the only effect to suppress a less helpful error message by

the spi core.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00186 · 7.8th percentile
Published
2025-12-08T01:19Z
EPSS history
Timeline
  • 08 DEC 01:19Z
    spi: atmel-quadspi: Free resources even if runtime resume failed in .remove()
    cvelistv5