syzbot


BUG: sleeping function called from invalid context in lock_sock_nested
Status: fixed on 2020/02/05 13:33
Reported-by: syzbot+634c670125c215347544@syzkaller.appspotmail.com
Fix commit: 6b544caa crypto: af_alg - Use bh_lock_sock in sk_destruct
First crash: 249d, last: 219d

Fix bisection: fixed by (bisect log):

commit 6b544caa07e5672b69f2a8e5f80d72fa4ecf7671
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 128d 169d 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 404d 404d 0/1 auto-closed as invalid on 2019/10/30 11:24
linux-4.14 BUG: sleeping function called from invalid context in lock_sock_nested (2) syz fix 1 189d 249d 1/1 fixed on 2020/03/04 10:17
upstream BUG: sleeping function called from invalid context in lock_sock_nested C 1232 173d 249d 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-19 2019/12/05 02:23 linux-4.19.y 174651bd b2088328 .config log report syz davem@davemloft.net, herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org