CVE-2025-21992: HID: ignore non-functional sensor in HP 5MP Camera
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
HID: ignore non-functional sensor in HP 5MP Camera
The HP 5MP Camera (USB ID 0408:5473) reports a HID sensor interface that is not actually implemented. Attempting to access this non-functional sensor via iio_info causes system hangs as runtime PM tries to wake up an unresponsive sensor.
[453] hid-sensor-hub 0003:0408:5473.0003: Report latency attributes: ffffffff:ffffffff
[453] hid-sensor-hub 0003:0408:5473.0003: common attributes: 5:1, 2:1, 3:1 ffffffff:ffffffff
Add this device to the HID ignore list since the sensor interface is non-functional by design and should not be exposed to userspace.
The Linux kernel CVE team has assigned CVE-2025-21992 to this issue.
Affected and fixed versions
===========================
Fixed in 6.1.132 with commit 9acdb0059fb6b82158e15adae91e629cb5974564 Fixed in 6.6.84 with commit 7a7ada33879a631b05b536e66d1c5b1219d3bade Fixed in 6.12.20 with commit 6ca3d4d87af406a390a34ea924ab65c517e6e132 Fixed in 6.13.8 with commit 920ea73215dbf948b661b88a79cb47b7f96adfbd Fixed in 6.14 with commit 363236d709e75610b628c2a4337ccbe42e454b6d
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-2025-21992
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/hid/hid-ids.h
drivers/hid/hid-quirks.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/9acdb0059fb6b82158e15adae91e629cb5974564 https://git.kernel.org/stable/c/7a7ada33879a631b05b536e66d1c5b1219d3bade https://git.kernel.org/stable/c/6ca3d4d87af406a390a34ea924ab65c517e6e132 https://git.kernel.org/stable/c/920ea73215dbf948b661b88a79cb47b7f96adfbd https://git.kernel.org/stable/c/363236d709e75610b628c2a4337ccbe42e454b6d