[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <58efdfb6-d18d-cb45-ecd4-4c9b680d7595@163.com>
Date: Sat, 7 Oct 2017 09:59:41 +0800
From: Jia-Ju Bai <baijiaju1990@....com>
To: ccaulfie@...hat.com, teigland@...hat.com, viro@...iv.linux.org.uk
Cc: cluster-devel@...hat.com, linux-kernel@...r.kernel.org
Subject: [BUG] fs/dlm: A possible sleep-in-atomic bug in dlm_master_lookup
According to fs/dlm/lock.c, the kernel may sleep under a spinlock,
and the function call path is:
dlm_master_lookup (acquire the spinlock)
dlm_send_rcom_lookup_dump
create_rcom
dlm_lowcomms_get_buffer
nodeid2con
mutex_lock --> may sleep
This bug is found by my static analysis tool and my code review.
Thanks,
Jia-Ju Bai
Powered by blists - more mailing lists