CVE-2025-37862 HID: pidff: Fix null pointer dereference in pidff_find_fields
A null pointer dereference in the Linux kernel HID driver can cause a system crash when searching for unimplemented reports.
- 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-37862?
CVE-2025-37862 is a medium-severity vulnerability in Debian Debian Linux, published on 9 May 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: pidff: Fix null pointer dereference in pidff_find_fields
This function triggered a null pointer dereference if used to search for a report that isn't implemented on the device. This happened both for optional and required reports alike.
The same logic was applied to pidff_find_special_field and although pidff_init_fields should return an error earlier if one of the required reports is missing, future modifications could change this logic and resurface this possible null pointer dereference again.
LKML bug report: https://lore.kernel.org/all/CAL-gK7f5=R0nrrQdPtaZZr1fd-cdAMbDMuZ_NLA8vM0SX+nGSw@mail.gmail.com
Weakness: CWE-476
Which versions are affected by CVE-2025-37862?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2025-37862?
Apply the vendor's patch.
Is CVE-2025-37862 being exploited?
There is no known exploitation of CVE-2025-37862 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BELL-CVE-2025-37862, DEBIAN-CVE-2025-37862, GHSA-7f29-9jw8-2ph4, ROOT-OS-DEBIAN-12-CVE-2025-37862, ROOT-OS-UBUNTU-2204-CVE-2025-37862, ROOT-OS-UBUNTU-2404-CVE-2025-37862 and 1 more.