cve.bz

CVE-2023-53054 linux linux kernel

5.5 mediumEPSS 0.2%Fix available

Medium (5.5) 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: usb: dwc2: fix a devres leak in hw_enable upon suspend resume Each time the platform goes to low power, PM suspend / resume routines call: __dwc2_lowlevel_hw_enable -> devm_add_action_or_reset(). This adds a new devres each time. This may also happen at runtime, as dwc2_lowlevel_hw_enable() can be called from udc_start(). This can be seen with tracing: - echo 1 > /sys/kernel/debug/tracing/events/dev/devres_log/enable - go to low power - cat /sys/kernel/debug/tracing/trace A new "ADD" entry is found upon each low power cycle: ... devres_log: 49000000.usb-otg ADD 82a13bba devm_action_release (8 bytes) ... devres_log: 49000000.usb-otg ADD 49889daf devm_action_release (8 bytes) ... A second issue is addressed here: - regulator_bulk_enable() is called upon each PM cycle (suspend/resume). - regulator_bulk_disable() never gets called. So the reference count for these regulators constantly increase, by one upon each low power cycle, due to missing regulator_bulk_disable() call in __dwc2_lowlevel_hw_disable(). The original fix that introduced the devm_add_action_or_reset() call, fixed an issue during probe, that happens due to other errors in dwc2_driver_probe() -> dwc2_core_reset(). Then the probe fails without disabling regulators, when dr_mode == USB_DR_MODE_PERIPHERAL. Rather fix the error path: disable all the low level hardware in the error path, by using the "hsotg->ll_hw_enabled" flag. Checking dr_mode has been introduced to avoid a dual call to dwc2_lowlevel_hw_disable(). "ll_hw_enabled" should achieve the same (and is used currently in the remove() routine).

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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; 10th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-401 Missing Release of Memory after Effective Lifetime
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-53054 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-53054?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-53054?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-53054 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
Linuxfrom 4.4.233 before 4.5
Linuxfrom 4.9.233 before 4.10
Linuxfrom 4.14.194 before 4.15
Linuxfrom 4.19.140 before 4.20
Linuxfrom 5.4.59 before 5.5
Linuxfrom 5.7.16 before 5.8
Linuxfrom 5.8.2 before 5.9
Linux5.9 and later

Fixed in

ProductRelease lineFixed in
Linux5.105.10.177
Linux5.155.15.105
Linux6.16.1.22
Linux6.26.2.9
Linuxlater releases6.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux6.1.25-1DEBIAN-CVE-2023-53054
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-53054
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-53054
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1041.46~20.04.1UBUNTU-CVE-2023-53054
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1045.52~20.04.1UBUNTU-CVE-2023-53054
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1039.47~20.04.1UBUNTU-CVE-2023-53054
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2023-53054
Ubuntu20.04:LTSlinux-hwe-5.155.15.0-79.86~20.04.2UBUNTU-CVE-2023-53054
Ubuntu20.04:LTSlinux-ibm-5.155.15.0-1036.39~20.04.1UBUNTU-CVE-2023-53054
Ubuntu20.04:LTSlinux-intel-iotg-5.155.15.0-1037.42~20.04.1UBUNTU-CVE-2023-53054
Ubuntu20.04:LTSlinux-lowlatency-hwe-5.155.15.0-79.88~20.04.1UBUNTU-CVE-2023-53054
Ubuntu20.04:LTSlinux-nvidia-tegra-5.155.15.0-1016.16~20.04.1UBUNTU-CVE-2023-53054
Ubuntu20.04:LTSlinux-oracle-5.155.15.0-1040.46~20.04.1UBUNTU-CVE-2023-53054
27 more for Ubuntu in the JSON and on Ubuntu's page.
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 1 morekernel-default5.14.21-150400.24.167.1SUSE-SU-2025:02262-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150400.24.167.1SUSE-SU-2025:02262-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morekernel-default-base5.14.21-150400.24.167.1.150400.24.84.1SUSE-SU-2025:02262-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150500.55.110.1SUSE-SU-2025:02173-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 2 morekernel-default-base5.14.21-150500.55.110.1.150500.6.51.3SUSE-SU-2025:02173-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_411-150400.9.3.1SUSE-SU-2025:02262-1
SUSELinux Enterprise Live Patching 15 SP5kernel-default5.14.21-150500.55.110.1SUSE-SU-2025:02173-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_271-150500.11.7.1SUSE-SU-2025:02173-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4kernel-rt, kernel-source-rt5.14.21-150400.15.121.1SUSE-SU-2025:01918-1
SUSELinux Enterprise Micro 5.5kernel-rt, kernel-source-rt5.14.21-150500.13.97.1SUSE-SU-2025:01966-1
SUSELinux Enterprise Micro 5.5kernel-source, kernel-default5.14.21-150500.55.110.1SUSE-SU-2025:02173-1
SUSELinux Enterprise Server 15 SP4-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.14.21-150400.24.167.1SUSE-SU-2025:02262-1
5 more for SUSE in the JSON and on SUSE's page.
Alpaquitastreamlinux-lts6.6.58-r0BELL-CVE-2023-53054

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

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A moderate severity flaw was found in the Linux kernel DesignWare USB 2.0 (dwc2) driver. On every power-management suspend/resume (low-power) cycle, the driver calls devm_add_action_or_reset() in __dwc2_lowlevel_hw_enable(), adding a new device-managed resource (devres) entry each time without releasing it, and regulator_bulk_enable() is invoked without a matching regulator_bulk_disable(), so regulator reference counts increase by one on each cycle. This can also occur at runtime because dwc2_lowlevel_hw_enable() is reachable from udc_start(). A local user with low privileges could trigger repeated low-power cycles to continuously leak kernel memory and regulator references, ultimately causing a denial of service through system resource exhaustion. The flaw affects availability only, with no impact on confidentiality or integrity (CVSS 3.1 score 5.5, AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H), matching the NIST severity for this CVE. Red Hat Enterprise Linux 6, 7, 8, 9, and 10 kernel and kernel-rt, and the Hosted OpenShift (ARO/OSD) offerings, are not affected because the vulnerable code is not present in those products. The Red Hat In-Vehicle OS 1 kernel (rhivos-1.0, rhivos-1.0.z, rhivos-1.1) is affected with the fix deferred; the residual risk is limited to availability, since exploiting the leak requires local access and repeated suspend/resume cycles to gradually exhaust memory and regulator resources.

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 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 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

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-53054.

References

Check your stackJSON