hid: cp2112: Fix duplicate workqueue initialization
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 13de9cca514ed63604263cad87ca8cb36e9b6489 · < fb5718bc67337dde1528661f419ffcf275757592| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel cp2112 driver can initialize a delayed workqueue more than once when an IRQ is started again after an initial request. This causes a warning and, rarely, a NULL dereference. The input does not specify an attacker path, authentication requirements, or user interaction.
Engineers running Linux kernels with the cp2112 driver should check their versions; affected versions are not specified.