CVE-2025-37862

HID: pidff: Fix null pointer dereference in pidff_find_fields

MEDIUM
5.5
CVSS Score
Published: May 9, 2025 at 06:42 AM UTC
Updated: June 17, 2026 at 09:15 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.4.2932.6.19 ≤ v < 5.10.2372.6.19 ≤ v < 5.15.1812.6.19 ≤ v < 5.4.2932.6.19 ≤ v < 6.1.1352.6.19 ≤ v < 6.12.242.6.19 ≤ v < 6.13.122.6.19 ≤ v < 6.14.32.6.19 ≤ v < 6.152.6.19 ≤ v < 6.6.885.11 ≤ v < 5.15.1815.16 ≤ v < 6.1.1355.5 ≤ v < 5.10.2376.13 ≤ v < 6.13.126.14 ≤ v < 6.14.36.2 ≤ v < 6.6.886.7 ≤ v < 6.12.242.6.19224ee88fe39564358ec99b46bf3ee6e6999ae17d
Vendor states this is fixed in 22a05462c3d0eee15154faf8d13c49e6295270a5 (fixed)
Vendor states this is fixed in 3a507184f9307e19cb441b897c49e7843c94e56b (fixed)
Vendor states this is fixed in 44a1b8b2027afbb37e418993fb23561bdb9efb38 (fixed)
Vendor states this is fixed in 6b4449e4f03326fbd2136e67bfcc1e6ffe61541d (fixed)
Vendor states this is fixed in be706a48bb7896d4130edc82811233d1d62158e7 (fixed)
Vendor states this is fixed in d230becb9d38b7325c5c38d051693e4c26b1829b (fixed)
Vendor states this is fixed in ddb147885225d768025f6818df533d30edf3e102 (fixed)
Vendor states this is fixed in e368698da79af821f18c099520deab1219c2044b (fixed)
Vendor states this is fixed in f8f4d77710e1c38f4a2bd26c88c4878b5b5e817a (fixed)
Vendor states this is fixed in 2.6.19 (unaffected)
Vendor states this is fixed in 5.10.237 (unaffected)
Vendor states this is fixed in 5.15.181 (unaffected)
Vendor states this is fixed in 5.4.293 (unaffected)
Vendor states this is fixed in 6.1.135 (unaffected)
Vendor states this is fixed in 6.12.24 (unaffected)
Vendor states this is fixed in 6.13.12 (unaffected)
Vendor states this is fixed in 6.14.3 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.88 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/22a05462c3d0eee15154faf8d13c49e6295270a5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3a507184f9307e19cb441b897c49e7843c94e56b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/44a1b8b2027afbb37e418993fb23561bdb9efb38
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6b4449e4f03326fbd2136e67bfcc1e6ffe61541d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/be706a48bb7896d4130edc82811233d1d62158e7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d230becb9d38b7325c5c38d051693e4c26b1829b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ddb147885225d768025f6818df533d30edf3e102
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e368698da79af821f18c099520deab1219c2044b

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card