Bug 2174458 (CVE-2023-22995) - CVE-2023-22995 kernel: missing platform_device_put() and kfree() calls in an error path in dwc3_qcom_acpi_register_core() in drivers/usb/dwc3/dwc3-qcom.c
Summary: CVE-2023-22995 kernel: missing platform_device_put() and kfree() calls in an ...
Alias: CVE-2023-22995
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 2174459
Blocks: 2174460
TreeView+ depends on / blocked
Reported: 2023-03-01 17:16 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-03-02 13:04 UTC (History)
38 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A memory overflow flaw was found in the Linux kernel’s Dual Role SuperSpeed USB controller driver in how a user registers a new USB device, which fails. This flaw allows a local user to crash the system.
Clone Of:
Last Closed: 2023-03-02 10:46:50 UTC

Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2023-03-01 17:16:19 UTC
In the Linux kernel before 5.17, an error path in dwc3_qcom_acpi_register_core in drivers/usb/dwc3/dwc3-qcom.c lacks certain platform_device_put and kfree calls.

Reference and upstream patch:

Comment 1 Guilherme de Almeida Suckevicz 2023-03-01 17:16:45 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2174459]

Comment 2 Justin M. Forbes 2023-03-01 20:02:20 UTC
This was fixed for Fedora with the 5.17 stable kernel rebases.

Note You need to log in before you can comment on or make changes to this bug.