Menu

Star on GitHub · 3.2k

CVE-2025-38016

8.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: HID: bpf: abort dispatch if device destroyed The current HID bpf implementation assumes no output report/request will go throug…

Published Jun 18, 2025EPSS 0.27%

Overview

CVE-2025-38016 is a high-severity vulnerability. It was published on June 18, 2025 and has a CVSS 3.1 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

HID: bpf: abort dispatch if device destroyed

The current HID bpf implementation assumes no output report/request will

go through it after hid_bpf_destroy_device() has been called. This leads

to a bug that unplugging certain types of HID devices causes a cleaned-

up SRCU to be accessed. The bug was previously a hidden failure until a

recent x86 percpu change [1] made it access not-present pages.

The bug will be triggered if the conditions below are met:

A) a device under the driver has some LEDs on

B) hid_ll_driver->request() is uninplemented (e.g., logitech-djreceiver)

If condition A is met, hidinput_led_worker() is always scheduled *after*

hid_bpf_destroy_device().

hid_destroy_device

` hid_bpf_destroy_device

` cleanup_srcu_struct(&hdev->bpf.srcu)

` hid_remove_device

` ...

` led_classdev_unregister

` led_trigger_set(led_cdev, NULL)

` led_set_brightness(led_cdev, LED_OFF)

` ...

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-38016?

CVE-2025-38016 is a high-severity vulnerability. It was published on June 18, 2025 and has a CVSS 3.1 base score of 8.8 (HIGH).

How severe is CVE-2025-38016?

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2025-38016?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-38016?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-38016 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2025

View all