CVE-2025-38016 Vulnerability Analysis & Exploit Details

CVE-2025-38016
Vulnerability Scoring

8.8
/10
Severe Risk

Cybersecurity professionals consider CVE-2025-38016 an immediate threat requiring urgent mitigation.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Adjacent_network
    Attack Vector Under Analysis
  • Privileges Required: None
    No privileges are required for exploitation.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2025-38016 Details

Status: Modified

Last updated: 🕕 30 Jul 2026, 06:22 UTC
Originally published on: 🕙 18 Jun 2025, 10:15 UTC

Time between publication and last update: 406 days

CVSS Release: version 3

CVSS3 Source

416baaa9-dc9f-4396-8d5f-8c081fb06d67

CVSS3 Type

Secondary

CVSS3 Vector

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVE-2025-38016 Vulnerability Summary

CVE-2025-38016: 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) ` ... ` input_inject_event ` input_event_dispose ` hidinput_input_event ` schedule_work(&hid->led_work) [hidinput_led_worker] This is fine when condition B is not met, where hidinput_led_worker() calls hid_ll_driver->request(). This is the case for most HID drivers, which implement it or use the generic one from usbhid. The driver itself or an underlying driver will then abort processing the request. Otherwise, hidinput_led_worker() tries hid_hw_output_report() and leads to the bug. hidinput_led_worker ` hid_hw_output_report ` dispatch_hid_bpf_output_report ` srcu_read_lock(&hdev->bpf.srcu) ` srcu_read_unlock(&hdev->bpf.srcu, idx) The bug has existed since the introduction [2] of dispatch_hid_bpf_output_report(). However, the same bug also exists in dispatch_hid_bpf_raw_requests(), and I've reproduced (no visible effect because of the lack of [1], but confirmed bpf.destroyed == 1) the bug against the commit (i.e., the Fixes:) introducing the function. This is because hidinput_led_worker() falls back to hid_hw_raw_request() when hid_ll_driver->output_report() is uninplemented (e.g., logitech- djreceiver). hidinput_led_worker ` hid_hw_output_report: -ENOSYS ` hid_hw_raw_request ` dispatch_hid_bpf_raw_requests ` srcu_read_lock(&hdev->bpf.srcu) ` srcu_read_unlock(&hdev->bpf.srcu, idx) Fix the issue by returning early in the two mentioned functions if hid_bpf has been marked as destroyed. Though dispatch_hid_bpf_device_event() handles input events, and there is no evidence that it may be called after the destruction, the same check, as a safety net, is also added to it to maintain the consistency among all dispatch functions. The impact of the bug on other architectures is unclear. Even if it acts as a hidden failure, this is still dangerous because it corrupts whatever is on the address calculated by SRCU. Thus, CC'ing the stable list. [1]: commit 9d7de2aa8b41 ("x86/percpu/64: Use relative percpu offsets") [2]: commit 9286675a2aed ("HID: bpf: add HID-BPF hooks for hid_hw_output_report")

Assessing the Risk of CVE-2025-38016

Access Complexity Graph

The exploitability of CVE-2025-38016 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2025-38016

With low attack complexity and no required privileges, CVE-2025-38016 is an easy target for cybercriminals. Organizations should prioritize immediate mitigation measures to prevent unauthorized access and data breaches.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2025-38016, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2025-38016, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: High
    Exploiting CVE-2025-38016 can result in unauthorized access to sensitive data, severely compromising data privacy.
  • Integrity: High
    CVE-2025-38016 could allow unauthorized modifications to data, potentially affecting system reliability and trust.
  • Availability: High
    CVE-2025-38016 can disrupt system operations, potentially causing complete denial of service (DoS).

CVE-2025-38016 References

External References

CWE Common Weakness Enumeration

NVD-CWE-noinfo

Vulnerable Configurations

  • cpe:2.3:o:linux:linux_kernel:6.11:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.1:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.1:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.2:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.2:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.3:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.3:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.4:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.4:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.5:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.5:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.6:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.6:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.7:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.7:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.8:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.8:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.9:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.9:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.10:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.10:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11.11:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11.11:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11:rc4:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11:rc5:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11:rc5:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11:rc6:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11:rc6:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11:rc7:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11:rc7:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.11:rc8:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.11:rc8:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.1:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.1:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.2:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.2:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.3:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.3:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.4:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.4:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.5:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.5:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.6:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.6:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.7:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.7:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.8:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.8:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.9:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.9:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.10:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.10:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.11:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.11:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.12:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.12:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.13:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.13:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.14:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.14:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.15:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.15:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.16:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.16:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.17:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.17:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.18:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.18:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.19:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.19:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.20:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.20:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.21:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.21:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.22:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.22:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.23:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.23:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.24:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.24:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.25:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.25:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.26:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.26:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.27:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.27:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.28:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.28:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.12.29:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.12.29:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.1:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.1:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.2:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.2:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.3:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.3:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.4:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.4:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.5:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.5:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.6:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.6:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.7:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.7:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.8:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.8:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.9:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.9:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.10:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.10:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.11:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.11:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13.12:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13.12:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc6:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc6:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc7:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.13:rc7:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14.1:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14.1:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14.2:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14.2:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14.3:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14.3:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14.4:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14.4:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14.5:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14.5:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14.6:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14.6:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.14.7:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.14.7:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.15:rc6:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.15:rc6:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2025-38016: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2026-90474 – MCPHub before 1.0.32 contains an authentication bypass vulnerability in its embedded OAuth 2.0 authorization server where client authentication is ...
  • CVE-2026-90473 – msgpack-java through 0.9.12 contains an integer overflow vulnerability in MessageUnpacker.skipValue() when processing MAP32 containers with large e...
  • CVE-2026-90472 – msgpack-java through 0.9.12 contains a stack overflow vulnerability in MessageUnpacker.unpackValue() that recursively deserializes arrays and maps ...
  • CVE-2026-89172 – Improper protection of physical side channels vulnerability in Microchip AN1044, Microchip AN953, and Microchip SW300052. This issue affects AN104...
  • CVE-2026-85200 – The GEO my WP plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 4.5.5.3 via the gmw_posts_locator_aj...