CVE-2023-53015 HID: betop: check shape of output reports

Medium 5.5 Published Updated

A malicious HID device can crash the Linux kernel via a NULL pointer dereference in the betop driver due to insufficient report field validation.

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

What is CVE-2023-53015?

CVE-2023-53015 is a medium-severity vulnerability in Linux kernel, published on 27 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

HID: betop: check shape of output reports

betopff_init() only checks the total sum of the report counts for each report field to be at least 4, but hid_betopff_play() expects 4 report fields. A device advertising an output report with one field and 4 report counts would pass the check but crash the kernel with a NULL pointer dereference in hid_betopff_play().

Weakness: CWE-476

Which versions are affected by CVE-2023-53015?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-53015?

Apply the vendor's patch.

Is CVE-2023-53015 being exploited?

There is no known exploitation of CVE-2023-53015 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-53015, DEBIAN-CVE-2023-53015, GHSA-r3gg-v2qj-wcmp, UBUNTU-CVE-2023-53015.

Is CVE-2023-53015 in your software?

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

Check your SBOMs for free