Input: ims-pcu - fix potential infinite loop in CDC union descriptor parsing
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 628329d52474323938a03826941e166bc7c8eff4 · < 383934c249a9817d242d02d30bfbc8defbf0d533| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Input: ims-pcu - fix potential infinite loop in CDC union descriptor parsing
The driver parses CDC union descriptors in ims_pcu_get_cdc_union_desc() by iterating through the extra descriptor data. However, it does not verify that the bLength of each descriptor is at least 2. A malicious device could provide a descriptor with bLength = 0, leading to an infinite loop in the driver.
Add a check to ensure bLength is at least 2 before proceeding with parsing.
From the CVE record · Linux
The Linux kernel ims-pcu driver does not check that a CDC union descriptor’s bLength is at least 2. A malicious device can supply a descriptor with bLength set to 0, causing an infinite loop when the driver parses it. The input does not specify an authentication requirement or user interaction.
Engineers running the Linux kernel with the ims-pcu driver should check whether their kernel is affected; no affected versions are specified.