Description
In the Linux kernel, the following vulnerability has been resolved: Input: ims-pcu - only expose sysfs attributes on control interface When the driver was converted to use the driver core to instantiate device attributes (via .dev_groups in the usb_driver structure), the attributes started appearing on all interfaces bound to the driver. Since the ims-pcu driver manually claims the secondary data interface during probe, the driver core automatically creates the sysfs attributes for that interface as well. However, the driver only supports these attributes on the primary control interface. Data interfaces lack the necessary descriptors and internal state to handle these requests, and accessing them can lead to unexpected behavior or crashes. Fix this by updating the is_visible() callbacks for both the main and OFN attribute groups to verify that the interface being accessed is indeed the control interface.
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
204d18a7a0c67352857dee1bbac517ed63f01d8e to < 7d5e7c8d48f0aaeb9ec90a9a4f450f3c5e422431affected204d18a7a0c67352857dee1bbac517ed63f01d8e to < 87e2f89dea078572fb9e13864cec2b1bd8e89b71affected204d18a7a0c67352857dee1bbac517ed63f01d8e to < 73e6687be0c1c323a8ec5b733f29440a93e08ff2affected204d18a7a0c67352857dee1bbac517ed63f01d8e to < 001428ea4d2c371107cb984108e266adf99f1f1eaffected
Linux Linux
Default version status: affected
6.11affected0 to < 6.11unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected