CVE-2025-38540 HID: quirks: Add quirk for 2 Chicony Electronics HP 5MP Cameras
A Linux kernel HID driver flaw causes system hangs when accessing non-functional sensors on specific HP cameras, requiring a patch to prevent denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-38540?
CVE-2025-38540 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 16 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
HID: quirks: Add quirk for 2 Chicony Electronics HP 5MP Cameras
The Chicony Electronics HP 5MP Cameras (USB ID 04F2:B824 & 04F2:B82C) report 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.
Add these 2 devices to the HID ignore list since the sensor interface is non-functional by design and should not be exposed to userspace.
Which versions are affected by CVE-2025-38540?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2025-38540?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-38540 being exploited?
There is no known exploitation of CVE-2025-38540 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as AZL-66341, AZL-75090, BELL-CVE-2025-38540, DEBIAN-CVE-2025-38540, GHSA-459r-g93g-c5wc, ROOT-OS-DEBIAN-11-CVE-2025-38540 and 4 more.