summaryrefslogtreecommitdiff
path: root/arch/arc
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2020-07-08 19:25:20 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-16 09:16:46 +0300
commitb9fe45efa671246eaefa898db70044edbd7293f7 (patch)
tree6d71936b4499baf788a5f88565381c0c02f61c6c /arch/arc
parentede24894e8bf81ee333f176bfbf94c5ba02c0fc7 (diff)
downloadlinux-b9fe45efa671246eaefa898db70044edbd7293f7.tar.xz
dm: use noio when sending kobject event
commit 6958c1c640af8c3f40fa8a2eee3b5b905d95b677 upstream. kobject_uevent may allocate memory and it may be called while there are dm devices suspended. The allocation may recurse into a suspended device, causing a deadlock. We must set the noio flag when sending a uevent. The observed deadlock was reported here: https://www.redhat.com/archives/dm-devel/2020-March/msg00025.html Reported-by: Khazhismel Kumykov <khazhy@google.com> Reported-by: Tahsin Erdogan <tahsin@google.com> Reported-by: Gabriel Krisman Bertazi <krisman@collabora.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arc')
0 files changed, 0 insertions, 0 deletions