CVE-2023-52853 hid: cp2112: Fix duplicate workqueue initialization

Medium 5.5 Published Updated

A duplicate workqueue initialization in the cp2112 HID driver can cause a rare NULL pointer dereference, leading to a kernel crash.

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-52853?

CVE-2023-52853 is a medium-severity vulnerability in Linux kernel, published on 21 May 2024. 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: cp2112: Fix duplicate workqueue initialization

Previously the cp2112 driver called INIT_DELAYED_WORK within cp2112_gpio_irq_startup, resulting in duplicate initilizations of the workqueue on subsequent IRQ startups following an initial request. This resulted in a warning in set_work_data in workqueue.c, as well as a rare NULL dereference within process_one_work in workqueue.c.

Initialize the workqueue within _probe instead.

Weakness: CWE-476

Which versions are affected by CVE-2023-52853?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-52853?

Apply the vendor's patch.

Is CVE-2023-52853 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-52853, DEBIAN-CVE-2023-52853, GHSA-w8wx-3v4m-pwrr, UBUNTU-CVE-2023-52853.

Is CVE-2023-52853 in your software?

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

Check your SBOMs for free