Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
628329d52474323938a03826941e166bc7c8eff4 to < 67a038c5a7c9bd8aabe6fba8ac9d2e31c0bd5a28affected628329d52474323938a03826941e166bc7c8eff4 to < 6314bd9e2a6b3362998dc85485dd4b0f133a3532affected628329d52474323938a03826941e166bc7c8eff4 to < 76eeeb3a8e3c13d5c0ef28666b57dcb5cc101a32affected628329d52474323938a03826941e166bc7c8eff4 to < e3f93d63dcd48c1f0ba9041f2ffa8aea7170e295affected628329d52474323938a03826941e166bc7c8eff4 to < b847f2725ef47a26b3d01eca3d54fd811e5a544daffected628329d52474323938a03826941e166bc7c8eff4 to < 383934c249a9817d242d02d30bfbc8defbf0d533affected628329d52474323938a03826941e166bc7c8eff4 to < bbbe31486cf2d12177462e4a814244c2597c9849affected628329d52474323938a03826941e166bc7c8eff4 to < d4579af29e67ca8722db0a1194227f8015c8981daffected
Linux Linux
Default version status: affected
3.10affected0 to < 3.10unaffected5.10.261 to ≤ 5.10.*unaffected5.15.212 to ≤ 5.15.*unaffected6.1.178 to ≤ 6.1.*unaffected6.6.145 to ≤ 6.6.*unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/67a038c5a7c9bd8aabe6fba8ac9d2e31c0bd5a28 ↗
- https://git.kernel.org/stable/c/6314bd9e2a6b3362998dc85485dd4b0f133a3532 ↗
- https://git.kernel.org/stable/c/76eeeb3a8e3c13d5c0ef28666b57dcb5cc101a32 ↗
- https://git.kernel.org/stable/c/e3f93d63dcd48c1f0ba9041f2ffa8aea7170e295 ↗
- https://git.kernel.org/stable/c/b847f2725ef47a26b3d01eca3d54fd811e5a544d ↗
- https://git.kernel.org/stable/c/383934c249a9817d242d02d30bfbc8defbf0d533 ↗
- https://git.kernel.org/stable/c/bbbe31486cf2d12177462e4a814244c2597c9849 ↗
- https://git.kernel.org/stable/c/d4579af29e67ca8722db0a1194227f8015c8981d ↗