Critical Device Unregistration Vulnerability in Linux Kernel - CVE-2024-40975

linux Updated 02 Oct 2025

Summary

12/07/2024
N/A
No i
Unrated
Not published

CVE-2024-40975: In the Linux kernel, the following vulnerability has been resolved: platform/x86: x86-android-tablets: Unregister devices in reverse order Not all subsystems support a device getting removed while there are still consume... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is a core component of many operating systems, providing essential services for hardware management and system resources. It supports a wide range of devices and architectures, making it a critical element for both servers and personal computing. This vulnerability specifically affects the x86 Android tablets, where improper device unregistration can lead to system instability and potential security risks.

Vulnerability Detail

CVE-2024-40975 arises from the improper order of device unregistration in the Linux kernel's platform/x86 subsystem. When a device is removed while still being referenced by consumers, it can trigger warnings and lead to undefined behavior. This is particularly problematic in the regulator subsystem, where unregistered regulators can cause drivers to receive dummy regulators, leading to malfunctioning hardware components. The vulnerability is rooted in the x86_android_tablet_remove() function, which does not unregister devices in the correct order, potentially affecting devices like the Lenovo Yoga Tablet 2 series.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can manually ensure that I2C devices are unregistered in reverse order before removing any associated regulators. This can be done by modifying the device removal sequence in the driver code, ensuring that consumers are unregistered before their providers.

Conclusion

CVE-2024-40975 is a significant vulnerability in the Linux kernel that can lead to serious system issues if not addressed. Users are encouraged to update their systems to the latest kernel version to mitigate the risks. Additionally, utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-40975 is a vulnerability in the Linux kernel that affects the unregistration order of devices, potentially leading to system instability.

The vulnerability affects Linux kernel versions prior to 6.9.7-1 across Debian 11, 12, and 13.

You can use Vulert, a tool that monitors open-source vulnerabilities, to check if your application is affected. Visit Vulert Scanner to use the Vulert playground.

The risks include potential system crashes, hardware malfunctions, and undefined behavior due to improper device management.

Yes, updating to Linux kernel version 6.9.7-1 or later provides a permanent fix for this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback