CVE-2023-25012 Use after free in n/a

Medium 4.6 Published Updated

A use-after-free vulnerability in the Linux kernel's BigBen driver allows local attackers to execute arbitrary code or escalate privileges via a crafted USB device.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-25012?

CVE-2023-25012 is a medium-severity use after free vulnerability in Linux kernel, published on 1 Feb 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The Linux kernel through 6.1.9 has a Use-After-Free in bigben_remove in drivers/hid/hid-bigbenff.c via a crafted USB device because the LED controllers remain registered for too long.

Weakness: CWE-416

Which versions are affected by CVE-2023-25012?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-25012?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2023-25012 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-25012 exists.

All Linux kernel vulnerabilities

Sources

Also known as A-268589017, ASB-A-268589017, AZL-13291, AZL-26405, AZL-34804, DEBIAN-CVE-2023-25012 and 2 more.

Is CVE-2023-25012 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free