CVE-2023-25012
Linux Kernel vulnerability analysis and mitigation

Overview

The Linux kernel through 6.1.9 contains a Use-After-Free vulnerability (CVE-2023-25012) in the bigben_remove function in drivers/hid/hid-bigbenff.c. The vulnerability can be triggered via a crafted USB device because the LED controllers remain registered for too long. This vulnerability was discovered and reported by Pietro Borrello in January 2023 (OSS Security).

Technical details

The vulnerability occurs due to a race condition where the LED controller bigben_set_led() may schedule a worker after the device structure has been freed during device removal. The work_struct is embedded in struct bigben_device, and when the device is removed, struct bigben_device is freed while the LED controllers are still registered. This leads to a use-after-free condition when accessing the freed memory (Kernel Commit).

Impact

An attacker able to insert and remove USB devices can exploit this vulnerability to cause a denial of service (system crash or memory corruption) or potentially execute arbitrary code in the kernel context (Debian Security).

Exploitability

The vulnerability can be triggered by a malicious USB device that advertises itself as a bigben device. The exploitation requires physical access to insert and remove USB devices from the target system (OSS Security).

Mitigation and workarounds

The issue has been fixed through a series of patches that implement proper synchronization using spinlocks and deregister LED controllers before device removal. The fixes include using spinlock to protect concurrent accesses and safely schedule workers. The patches have been merged into the mainline kernel (Kernel Commit, Kernel Commit).

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-2026-80904MEDIUM5.9
  • Linux Kernel logoLinux Kernel
  • linux-hwe-7.0
NoYesSep 04, 2026
CVE-2026-80905MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-7.0
NoYesSep 04, 2026
CVE-2026-80913MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg-5.15
NoYesSep 04, 2026
CVE-2026-80912MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-gcp-fips
NoYesSep 04, 2026
CVE-2026-80906NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-7.0
NoYesSep 04, 2026

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