CVE-2023-53225

spi: imx: Don't skip cleanup in remove's error path

5.5 medium EPSS 0.17%

Published 15 Sep 2025 Updated 23 May 2026 CNA: Linux

Check your servers for CVE-2023-53225

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53225 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

spi: imx: Don't skip cleanup in remove's error path

Returning early in a platform driver's remove callback is wrong. In this case the dma resources are not released in the error path. this is never retried later and so this is a permanent leak. To fix this, only skip hardware disabling if waking the device fails.

Severity (CVSS)

5.5 medium CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.09% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 14 Jan 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-401 Missing Release of Memory after Effective Lifetime

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from d593574aff0ab846136190b1729c151c736727ec, before aa93a46f998a9069368026ac52bba96868c59157
affected from d593574aff0ab846136190b1729c151c736727ec, before f90822ad63d11301e425311dac0c8e12ca1737b8
affected from d593574aff0ab846136190b1729c151c736727ec, before 6d16305a1535873e0a8a8ae92ea2d9106ec2d7df
affected from d593574aff0ab846136190b1729c151c736727ec, before 57a463226638f1ceabbb029cbd21b0c94640f1b5
affected from d593574aff0ab846136190b1729c151c736727ec, before b64cb3f085fed296103c91f0db6acad30a021b36
affected from d593574aff0ab846136190b1729c151c736727ec, before 11951c9e3f364d7ae3b568a0e52c8335d43066b5
affected fc58a98f1c98b22d31c53913cca38d5c43807cb4
affected 28ae79a518421348abfc2a2dffd6a6b6e3699476
affected b6aaaaed67b170a9841f0f598cd45ccbfe76e15e
affected f84a8d446a16379df5844bc2bd50f0b7431a4718
affected 1333c3e996eb799286ee2ef2c01752da45bf926f
affected cfd96cbd607ab5d63a33cd63673221f4d572ea8c
affected bac4bf53ca7c65d6c06808aab70c6caa0b9c78b9
affected from 3.16.57, before 3.17
affected from 3.18.94, before 3.19
affected from 4.1.50, before 4.2
affected from 4.4.115, before 4.5
affected from 4.9.80, before 4.10
affected from 4.14.17, before 4.15
affected from 4.15.1, before 4.16
Other versions: unaffected
Linux
affected 4.16
unaffected before 4.16
unaffected from 5.10.180 up to and including 5.10.*
unaffected from 5.15.111 up to and including 5.15.*
unaffected from 6.1.28 up to and including 6.1.*
unaffected from 6.2.15 up to and including 6.2.*
unaffected from 6.3.2 up to and including 6.3.*
unaffected 6.4 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53225 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53225

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-53225
trivy image --scanners vuln IMAGE | grep CVE-2023-53225

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-53225 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.