What’s Vulnerable › Vulnerabilities

CVE-2021-46932: Input: appletouch - initialize work before device registration

Description

In the Linux kernel, the following vulnerability has been resolved: Input: appletouch - initialize work before device registration Syzbot has reported warning in __flush_work(). This warning is caused by work->func == NULL, which means missing work initialization. This may happen, since input_dev->close() calls cancel_work_sync(&dev->work), but dev->work initalization happens _after_ input_register_device() call. So this patch moves dev->work initialization before registering input device

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.261, 4.19.224, 4.4.298, 4.9.296. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-46932 or the next vulnerability affects your stack