Read the docs
TI-2023-29357 Aliases CVE-2023-53054GHSA-cqrq-5cq5-j744

usb: dwc2: fix a devres leak in hw_enable upon suspend resume

Priority LOW 24CWE-401Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-401.

Summary

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

Why it matters now

EPSS 0.00206 10th percentileScored 2026-11-07
Fix Fixed Linux (Linux): 4.5, 4.10, 4.15 +9

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux4.4.233 to before 4.5; 4.9.233 to before 4.10; 4.14.194 to before 4.15; 4.19.140 to before 4.20; 5.4.59 to before 5.5; 5.7.16 to before 5.8; 5.8.2 to before 5.94.5, 4.10, 4.15, 4.20, 5.5, 5.8, 5.9Patch availableCNA
LinuxLinux5.9 and later5.10.177, 5.15.105, 6.1.22, 6.2.9, 6.3Patch availableCNA
  • Linux VendorLinux Affected 4.4.233 to before 4.5; 4.9.233 to before 4.10; 4.14.194 to before 4.15; 4.19.140 to before 4.20; 5.4.59 to before 5.5; 5.7.16 to before 5.8; 5.8.2 to before 5.9 Fixed in 4.5, 4.10, 4.15, 4.20, 5.5, 5.8, 5.9 Patch available CNA
  • Linux VendorLinux Affected 5.9 and later Fixed in 5.10.177, 5.15.105, 6.1.22, 6.2.9, 6.3 Patch available CNA

CPE configurations NVD · 4

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*4.4.233 to before 4.5; 4.9.233 to before 4.10; 4.14.194 to before 4.15; 4.19.140 to before 4.20; 5.4.59 to before 5.5; 5.7.16 to before 5.8; 5.8.2 to before 5.10.177; 5.11 to before 5.15.105; 5.16 to before 6.1.22; 6.2 to before 6.2.9VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.3:rc1:*:*:*:*:*:*6.3 rc1VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.3:rc2:*:*:*:*:*:*6.3 rc2VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.3:rc3:*:*:*:*:*:*6.3 rc3VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.4.233 to before 4.5; 4.9.233 to before 4.10; 4.14.194 to before 4.15; 4.19.140 to before 4.20; 5.4.59 to before 5.5; 5.7.16 to before 5.8; 5.8.2 to before 5.10.177; 5.11 to before 5.15.105; 5.16 to before 6.1.22; 6.2 to before 6.2.9 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.3:rc1:*:*:*:*:*:* Versions 6.3 rc1 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.3:rc2:*:*:*:*:*:* Versions 6.3 rc2 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.3:rc3:*:*:*:*:*:* Versions 6.3 rc3 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 4.5, 4.10, 4.15, 4.20, 5.5, 5.8, 5.9
  • Fix · CNA Linux (Linux) Fixed in 5.10.177, 5.15.105, 6.1.22, 6.2.9, 6.3

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

Not affected: 5 products
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-53054
  2. 2026-10-03 Alias added: GHSA-cqrq-5cq5-j744

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources