CVE-2026-80596: Input: ims-pcu - only expose sysfs attributes on control interface
From: Greg Kroah-Hartman <[email protected]>
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.
The Linux kernel CVE team has assigned CVE-2026-80596 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.11 with commit 204d18a7a0c67352857dee1bbac517ed63f01d8e and fixed in 6.12.97 with commit 7d5e7c8d48f0aaeb9ec90a9a4f450f3c5e422431 Issue introduced in 6.11 with commit 204d18a7a0c67352857dee1bbac517ed63f01d8e and fixed in 6.18.40 with commit 87e2f89dea078572fb9e13864cec2b1bd8e89b71 Issue introduced in 6.11 with commit 204d18a7a0c67352857dee1bbac517ed63f01d8e and fixed in 7.1.5 with commit 73e6687be0c1c323a8ec5b733f29440a93e08ff2 Issue introduced in 6.11 with commit 204d18a7a0c67352857dee1bbac517ed63f01d8e and fixed in 7.2 with commit 001428ea4d2c371107cb984108e266adf99f1f1e
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-80596
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/input/misc/ims-pcu.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/7d5e7c8d48f0aaeb9ec90a9a4f450f3c5e422431 https://git.kernel.org/stable/c/87e2f89dea078572fb9e13864cec2b1bd8e89b71 https://git.kernel.org/stable/c/73e6687be0c1c323a8ec5b733f29440a93e08ff2 https://git.kernel.org/stable/c/001428ea4d2c371107cb984108e266adf99f1f1e