Skip to content
Heist/ feed
Back to feed
UnratedFix available

HID: pidff: Fix null pointer dereference in pidff_find_fields

Type: advisorySources: OSV

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

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.237, 5.15.181, 5.4.293, 6.1.135, 6.12.24, 6.13.12, 6.14.3, 6.6.88
CVEs
CVE-2025-37862
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 19:09 UTC · Revision 1

Source evidence

HID: pidff: Fix null pointer dereference in pidff_find_fields

core-osv · Original source

Published 9 May 2025, 06:42 UTC

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

osv:CVE-2025-37862

Kernel

Fixed versions: 5.4.293, 5.10.237, 5.15.181, 6.1.135, 6.6.88, 6.12.24, 6.13.12, 6.14.3

Complete source record
{
  "id": "f15b7f7972cd68d6287b6685578b6b35a1c9ba691382694312f8ff0a73026265",
  "url": "https://osv.dev/vulnerability/CVE-2025-37862",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "HID: pidff: Fix null pointer dereference in pidff_find_fields",
    "summary": "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",
    "evidence": "osv:CVE-2025-37862",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.293",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.237",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.181",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.135",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.88",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.24",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.13.12",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.14.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-37862",
      "aliases": [
        "CVE-2025-37862"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "224ee88fe39564358ec99b46bf3ee6e6999ae17d"
                },
                {
                  "fixed": "44a1b8b2027afbb37e418993fb23561bdb9efb38"
                },
                {
                  "fixed": "d230becb9d38b7325c5c38d051693e4c26b1829b"
                },
                {
                  "fixed": "6b4449e4f03326fbd2136e67bfcc1e6ffe61541d"
                },
                {
                  "fixed": "ddb147885225d768025f6818df533d30edf3e102"
                },
                {
                  "fixed": "be706a48bb7896d4130edc82811233d1d62158e7"
                },
                {
                  "fixed": "f8f4d77710e1c38f4a2bd26c88c4878b5b5e817a"
                },
                {
                  "fixed": "3a507184f9307e19cb441b897c49e7843c94e56b"
                },
                {
                  "fixed": "e368698da79af821f18c099520deab1219c2044b"
                },
                {
                  "fixed": "22a05462c3d0eee15154faf8d13c49e6295270a5"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37862.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "2.6.19"
                },
                {
                  "fixed": "5.4.293"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.237"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.181"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.135"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.88"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.24"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.13.12"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.14.0"
                },
                {
                  "fixed": "6.14.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37862.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.660263127Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/22a05462c3d0eee15154faf8d13c49e6295270a5",
        "https://git.kernel.org/stable/c/3a507184f9307e19cb441b897c49e7843c94e56b",
        "https://git.kernel.org/stable/c/44a1b8b2027afbb37e418993fb23561bdb9efb38",
        "https://git.kernel.org/stable/c/6b4449e4f03326fbd2136e67bfcc1e6ffe61541d",
        "https://git.kernel.org/stable/c/be706a48bb7896d4130edc82811233d1d62158e7",
        "https://git.kernel.org/stable/c/d230becb9d38b7325c5c38d051693e4c26b1829b",
        "https://git.kernel.org/stable/c/ddb147885225d768025f6818df533d30edf3e102",
        "https://git.kernel.org/stable/c/e368698da79af821f18c099520deab1219c2044b",
        "https://git.kernel.org/stable/c/f8f4d77710e1c38f4a2bd26c88c4878b5b5e817a",
        "https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html",
        "https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37862.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-37862",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37862.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-37862",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 488942,
  "published_at": "2025-05-09T06:42:07.941+00:00"
}