Race Condition in Linux Kernel Leading to Device Probing Issues
CVE-2022-50202
What is CVE-2022-50202?
A critical race condition in the Linux kernel can cause device probing to hang indefinitely during resumption from hibernation. This occurs when the probe_count variable does not decrement to zero under specific circumstances, such as when a device stops responding or when multiple device probe requests are made simultaneously. The patch implemented aims to defer the waiting mechanism for device probing to mitigate potential deadlocks caused by blocked operations, particularly those involving USB emulation. However, the underlying issues related to unresponsive devices and simultaneous probe requests remain unaddressed, potentially leading to data loss.
Affected Version(s)
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 8c90947e5f1801e6c7120021c6ea0f3ad6a4eb91
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 5a283b59bce72c05c60e9f0fa92a28b5b850d8bb
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 3c48d3067eaf878642276f053575a5c642600a50