CVE-2025-40211
Linux Kernel vulnerability analysis and mitigation

Overview

A use-after-free vulnerability was discovered in the Linux kernel's ACPI video driver, specifically in the acpivideoswitch_brightness() function. The vulnerability was assigned CVE-2025-40211 and was publicly disclosed on November 21, 2025. The issue affects multiple versions of the Linux kernel, including Red Hat Enterprise Linux 8, 9, and 10 (Red Hat XML, NVD).

Technical details

The vulnerability occurs when the switchbrightnesswork delayed work accesses device->brightness and device->backlight resources after they have been freed by acpivideodevunregisterbacklight() during device removal. This creates a use-after-free condition when acpivideoswitch_brightness() attempts to dereference these freed resources. Red Hat has assigned this vulnerability a CVSS v3.1 base score of 7.0 (High) with the vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (Red Hat XML).

Impact

The vulnerability could potentially lead to system crashes or memory corruption when the ACPI video driver is handling brightness switching operations. This affects systems where the ACPI video driver is in use for brightness control (NVD).

Mitigation and workarounds

The issue has been fixed by calling canceldelayedworksync() for each device's switchbrightnesswork in acpivideobusremovenotifyhandler() after removing the notify handler that queues the work. This ensures the work completes before the memory is freed. The fix is available in kernel version 6.17.8-1 and later (Debian Tracker).

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-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-aws-fips
NoYesNov 12, 2025
CVE-2025-40204HIGH7.1
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-extra
NoYesNov 12, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-rt-modules
NoYesNov 12, 2025
CVE-2025-40211N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesNov 21, 2025
CVE-2025-40203N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules
NoYesNov 12, 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