Details

[Home]

Issue of the Implementation # L0341

Brief

sample: vfio-mdev: deadlock in mdev_access

Detailed Description

mdev_access() calls mbochs_get_page() with mdev_state->ops_lock held, while mbochs_get_page() locks the mutex by itself. It leads to unavoidable deadlock.

Component

linux-kernel 4.17

Accepted

https://lkml.org/lkml/2018/7/6/915
commit

Status

Fixed in kernel v4.18-rc5

[Home]