Bug 2309791 (CVE-2024-44960) - CVE-2024-44960 kernel: usb: gadget: core: Check for unset descriptor
Summary: CVE-2024-44960 kernel: usb: gadget: core: Check for unset descriptor
Keywords:
Status: NEW
Alias: CVE-2024-44960
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2309832
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-04 19:21 UTC by OSIDB Bzimport
Modified: 2024-09-04 21:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-09-04 19:21:00 UTC
In the Linux kernel, the following vulnerability has been resolved:

usb: gadget: core: Check for unset descriptor

Make sure the descriptor has been set before looking at maxpacket.
This fixes a null pointer panic in this case.

This may happen if the gadget doesn't properly set up the endpoint
for the current speed, or the gadget descriptors are malformed and
the descriptor for the speed/endpoint are not found.

No current gadget driver is known to have this problem, but this
may cause a hard-to-find bug during development of new gadgets.


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