CVE-2024-40934
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-40934 is a memory leak vulnerability discovered in the Linux kernel's Logitech DJ HID driver. The vulnerability was identified in the logidjrecvswitchtodjmode() function, specifically in the error handling path of logidjrecvsendreport(). The issue was first reported on July 12, 2024, and affects multiple versions of the Linux kernel from 5.4.257 through 6.10-rc2 (NVD).

Technical details

The vulnerability is classified as a Missing Release of Memory after Effective Lifetime (CWE-401) issue. It has been assigned a CVSS v3.1 Base Score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, indicating local access is required and the primary impact is on system availability (NVD).

Impact

The memory leak occurs in the Logitech DJ HID driver's error handling path, which could lead to gradual system resource depletion if triggered repeatedly. This could potentially affect system availability and performance over time (NVD).

Mitigation and workarounds

The vulnerability has been patched in various Linux kernel versions. Fixed versions include Linux kernel 5.15.0-121.131 for Ubuntu 22.04 LTS, 5.4.0-195.215 for Ubuntu 20.04 LTS, and corresponding fixes for other distributions. The fix involves properly freeing allocated memory in the error handling path of logidjrecvsendreport() (Ubuntu).

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-debug-modules-internal
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesDec 09, 2025
CVE-2025-40341N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesDec 09, 2025
CVE-2025-40340N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-kvm
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