aoe: clean device rq_list in aoedev_downdev()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3582dd291788e9441c3ba9047e55089edb98da5c · < fa2a79f0da92614c5dc45c8b3d2638681c7734ee| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
aoe: clean device rq_list in aoedev_downdev()
An aoe device's rq_list contains accepted block requests that are waiting to be transmitted to the aoe target. This queue was added as part of the conversion to blk_mq. However, the queue was not cleaned out when an aoe device is downed which caused blk_mq_freeze_queue() to sleep indefinitely waiting for those requests to complete, causing a hang. This fix cleans out the queue before calling blk_mq_freeze_queue().
From the CVE record · Linux
The Linux kernel's aoe driver can hang when an aoe device is downed while accepted block requests are still waiting in its transmission queue. The queue is not cleared, so blk_mq_freeze_queue() can wait indefinitely for those requests. The input does not establish an attacker path, authentication requirement, or user-interaction requirement.
Engineers running Linux kernels with aoe devices should check their kernel versions; affected versions are not specified in the input.