In the Linux kernel, the following vulnerability has been resolved: virtiopmem: 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 virtiopmemflush(), causing the system to hang. So add a status check in the beginning of virtiopmem_flush() to return early if the device is not activated.