CVE-2025-37862

HID: pidff: Fix null pointer dereference in pidff_find_fields

MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.31 % · percentile 24 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 224ee88fe39564358ec99b46bf3ee6e6999ae17d < 44a1b8b2027afbb37e418993fb23561bdb9efb38 ; affected 224ee88fe39564358ec99b46bf3ee6e6999ae17d < d230becb9d38b7325c5c38d051693e4c26b1829b ; affected 224ee88fe39564358ec99b46bf3ee6e6999ae17d < 6b4449e4f03326fbd2136e67bfcc1e6ffe61541d ; affected 224ee88fe39564358ec99b46bf3ee6e6999ae17d < ddb147885225d768025f6818df533d30edf3e102 ; affected 224ee88fe39564358ec99b46bf3ee6e6999ae17d < be706a48bb7896d4130edc82811233d1d62158e7 ; affected 224ee88fe39564358ec99b46bf3ee6e6999ae17d < f8f4d77710e1c38f4a2bd26c88c4878b5b5e817a
Linux · Linuxaffected 2.6.19 ; unaffected 0 < 2.6.19 ; unaffected 5.4.293 ≤ 5.4.* ; unaffected 5.10.237 ≤ 5.10.* ; unaffected 5.15.181 ≤ 5.15.* ; unaffected 6.1.135 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD