CVE-2025-21928
Linux Kernel vulnerability analysis and mitigation

Overview

A use-after-free vulnerability (CVE-2025-21928) was discovered in the Linux kernel's Intel ISH HID driver, specifically in the ishtphidremove() function. The vulnerability was disclosed on April 1, 2025, affecting Linux kernel versions from 5.5 through 5.10.235, 5.11 through 5.15.179, and version 6.14 release candidates (rc1-rc3) (NVD).

Technical details

The vulnerability occurs due to improper handling of memory freeing in the ishtphidremove() function. The function frees the driver_data directly within the loop that destroys HID devices, which can lead to accessing freed memory. When hiddestroydevice() calls hidishtpsetfeature() to power off the sensor, it attempts to use the already freed `driverdata`. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability can cause system crashes a few minutes after the driver is removed due to accessing invalid memory. The high CVSS score indicates potential impacts on confidentiality, integrity, and availability of the system when successfully exploited (NVD).

Mitigation and workarounds

The vulnerability has been patched by storing the driver_data in a temporary variable before calling hid_destroy_device(), and then freeing the driver_data after the device is destroyed. The fix has been included in various kernel versions, and users are advised to update their systems. Debian has released security update DSA 5900-1 to address this vulnerability (Debian Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-devel
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-trace
NoYesDec 09, 2025
CVE-2025-40341N/AN/A
  • Linux KernelLinux Kernel
  • kernel-headers
NoYesDec 09, 2025
CVE-2025-40340N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management