Entreprise d'experts en Sécurité Informatique : Audits et conseils en cybersécurité
Entreprise française de cybersécurité depuis 2004
☎ 03 60 47 09 81 - info@securiteinfo.com


CVE-2022-49954

Description

In the Linux kernel, the following vulnerability has been resolved:Input: iforce - wake up after clearing IFORCE_XMIT_RUNNING flagsyzbot is reporting hung task at __input_unregister_device() [1], foriforce_close() waiting at wait_event_interruptible() with dev->mutex heldis blocking input_disconnect_device() from __input_unregister_device().It seems that the cause is simply that commit c2b27ef672992a20 ("Input:iforce - wait for command completion when closing the device") forgot tocall wake_up() after clear_bit().Fix this problem by introducing a helper that calls clear_bit() followedby wake_up_all().

POC

Reference

No PoCs from references.

Github

- https://github.com/ARPSyndicate/cve-scores