CVE-2025-38540
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38540 is a vulnerability in the Linux kernel related to Chicony Electronics HP 5MP Cameras (USB ID 04F2:B824 & 04F2:B82C). The vulnerability was discovered and disclosed on August 16, 2025. The issue affects Linux kernel systems where these specific camera models report a HID sensor interface that is not actually implemented (NVD).

Technical details

The vulnerability occurs when the cameras report a HID sensor interface that is not actually implemented. When attempting to access this non-functional sensor via iio_info, the system hangs as runtime PM tries to wake up an unresponsive sensor. The issue has been assigned a CVSS v3.1 base score of 5.5 (Moderate) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (Red Hat).

Impact

When exploited, this vulnerability can cause system hangs due to runtime PM attempting to wake up an unresponsive sensor. This primarily affects system availability, with no direct impact on confidentiality or integrity (Red Hat).

Mitigation and workarounds

The vulnerability has been addressed by adding these two devices to the HID ignore list since the sensor interface is non-functional by design and should not be exposed to userspace. Fixed versions are available in Linux kernel 6.12.41-1 for Debian trixie and 6.16.3-1 for Debian forky/sid (Debian).

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-40258HIGH7
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-devel-matched
NoNoDec 04, 2025
CVE-2025-40259MEDIUM6.2
  • Linux KernelLinux Kernel
  • kernel-rt-64k
NoNoDec 04, 2025
CVE-2025-40264MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-modules-extra
NoNoDec 04, 2025
CVE-2025-40254MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-devel-matched
NoNoDec 04, 2025
CVE-2025-40253MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-partner
NoNoDec 04, 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