{"id":74075,"date":"2025-11-21T13:51:36","date_gmt":"2025-11-21T10:21:36","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-40211-acpi-video-fix-use-after-free-in-acpi_video_switch_brightness\/"},"modified":"2025-11-21T13:51:36","modified_gmt":"2025-11-21T10:21:36","slug":"cve-2025-40211-acpi-video-fix-use-after-free-in-acpi_video_switch_brightness","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-40211-acpi-video-fix-use-after-free-in-acpi_video_switch_brightness\/","title":{"rendered":"CVE-2025-40211 &#8211; ACPI: video: Fix use-after-free in acpi_video_switch_brightness()"},"content":{"rendered":"<p>CVE ID : CVE-2025-40211<\/p>\n<p>Published :  Nov. 21, 2025, 10:21 a.m. | 54\u00a0minutes ago<\/p>\n<p>Description : In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ACPI: video: Fix use-after-free in acpi_video_switch_brightness()<\/p>\n<p>The switch_brightness_work delayed work accesses device-&gt;brightness<br \/>\nand device-&gt;backlight, freed by acpi_video_dev_unregister_backlight()<br \/>\nduring device removal.<\/p>\n<p>If the work executes after acpi_video_bus_unregister_backlight()<br \/>\nfrees these resources, it causes a use-after-free when<br \/>\nacpi_video_switch_brightness() dereferences device-&gt;brightness or<br \/>\ndevice-&gt;backlight.<\/p>\n<p>Fix this by calling cancel_delayed_work_sync() for each device&#8217;s<br \/>\nswitch_brightness_work in acpi_video_bus_remove_notify_handler()<br \/>\nafter removing the notify handler that queues the work. This ensures<br \/>\nthe work completes before the memory is freed.<\/p>\n[ rjw: Changelog edit ]\n<p>Severity: 0.0 | NA<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-40211 Published : Nov. 21, 2025, 10:21 a.m. | 54\u00a0minutes ago Description : In the Linux kernel, the following vulnerability has been resolved: ACPI: video: Fix use-after-free in acpi_video_switch_brightness() The switch_brightness_work delayed work accesses device-&gt;brightness and device-&gt;backlight, freed by acpi_video_dev_unregister_backlight() during device removal. If the work executes after acpi_video_bus_unregister_backlight() frees these resources, &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-74075","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/74075","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=74075"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/74075\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=74075"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=74075"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=74075"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}