virtio_pmem: Check device status before requesting flush
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 6e84200c0a2994b991259d19450eee561029bf70 · < ce7a3a62cc533c922072f328fd2ea2fd7cb893d4| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
virtio_pmem: Check device status before requesting flush
If a pmem device is in a bad status, the driver side could wait for host ack forever in virtio_pmem_flush(), causing the system to hang.
So add a status check in the beginning of virtio_pmem_flush() to return early if the device is not activated.
From the CVE record · Linux
The Linux kernel’s virtio_pmem driver can wait indefinitely for a host acknowledgment when it requests a flush from a device in a bad status, causing the system to hang. The input does not describe an attacker path, authentication requirements, or user interaction.
Engineers running Linux systems that use virtio_pmem should check their kernel; affected versions are not specified.