syzbot


BUG: sleeping function called from invalid context in lock_sock_nested (2)
Status: fixed on 2020/03/04 10:17
Reported-by: syzbot+4ebce25708032dc99ff1@syzkaller.appspotmail.com
Fix commit: 713ff7e4 crypto: af_alg - Use bh_lock_sock in sk_destruct
First crash: 248d, last: 188d

Fix bisection: fixed by (bisect log):

commit 713ff7e4d605c4dd1efd838e3f0092cd93733f0c
Author: Herbert Xu <herbert@gondor.apana.org.au>
Date: Thu Dec 5 05:45:05 2019 +0000

  crypto: af_alg - Use bh_lock_sock in sk_destruct

similar bugs (4):
Kernel Title Repro Bisected Count Last Reported Patched Status
upstream BUG: sleeping function called from invalid context in lock_sock_nested (2) C cause+fix 762 127d 168d 0/17 upstream: reported C repro on 2020/02/22 15:08
linux-4.14 BUG: sleeping function called from invalid context in lock_sock_nested 1 403d 403d 0/1 auto-closed as invalid on 2019/10/30 11:24
linux-4.19 BUG: sleeping function called from invalid context in lock_sock_nested syz fix 1 218d 248d 1/1 fixed on 2020/02/05 13:33
upstream BUG: sleeping function called from invalid context in lock_sock_nested C 1232 172d 248d 16/17 fixed on 2020/02/18 14:31

Sample crash report:

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro Maintainers
ci2-linux-4-14 2019/12/05 00:20 linux-4.14.y fbc5fe7a b2088328 .config log report syz davem@davemloft.net, herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org