lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
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