syzbot


BUG: sleeping function called from invalid context in do_user_addr_fault (2)
Status: upstream: reported syz repro on 2020/12/25 13:45
Reported-by: syzbot+6ce719ff413f52e0a0f2@syzkaller.appspotmail.com
First crash: 302d, last: 80d

Cause bisection: introduced by (bisect log) :
commit 64b59025c15b244c0954cf52b24fbabfcf5ed8f6
Author: David Ahern <dsahern@kernel.org>
Date: Fri May 29 22:07:14 2020 +0000

  xdp: Add xdp_txq_info to xdp_buff

Crash: BUG: unable to handle kernel NULL pointer dereference in bpf_prog_ADDR (log)
Repro: syz .config

Fix bisection: fixed by (bisect log) [merge commit]:
commit 611ffd8acc4b06e606325ca727c891ce70adcaa6
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Thu Aug 5 18:16:02 2021 +0000

  Merge branch 'pcmcia-next' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/linux

similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: sleeping function called from invalid context in do_user_addr_fault syz inconclusive done 10 406d 485d 0/22 closed as dup on 2020/09/02 22:06
upstream BUG: unable to handle kernel NULL pointer dereference in bpf_prog_ADDR syz error error 19 129d 443d 0/22 upstream: reported syz repro on 2020/08/02 22:45

Sample crash report:

Crashes (15):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-net-this-kasan-gce 2021/02/26 04:08 net 8f1c0fd2c84c 76f7fc95 .config log report syz BUG: sleeping function called from invalid context in do_user_addr_fault
ci-upstream-bpf-kasan-gce 2021/01/23 17:26 bpf b9557caaf872 52e37319 .config log report syz BUG: sleeping function called from invalid context in do_user_addr_fault
ci-upstream-net-this-kasan-gce 2021/01/23 17:22 net 0607a2cddb60 52e37319 .config log report syz BUG: sleeping function called from invalid context in do_user_addr_fault
ci-upstream-net-kasan-gce 2021/02/25 22:40 net-next d310ec03a34e 76f7fc95 .config log report syz BUG: sleeping function called from invalid context in do_user_addr_fault
ci-upstream-net-kasan-gce 2021/01/23 18:34 net-next 59a49d9617e2 52e37319 .config log report syz BUG: sleeping function called from invalid context in do_user_addr_fault
ci-upstream-bpf-next-kasan-gce 2021/01/23 16:40 bpf-next 6e66fbb10597 52e37319 .config log report syz BUG: sleeping function called from invalid context in do_user_addr_fault
ci-upstream-net-this-kasan-gce 2020/12/21 14:37 net fec6079b2eea 04201c06 .config log report syz
ci-upstream-bpf-kasan-gce 2020/12/21 14:11 bpf d467d80dc399 04201c06 .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/12/21 16:41 bpf-next 3db1a3fa9880 04201c06 .config log report syz
ci-upstream-net-kasan-gce 2020/12/21 14:39 net-next 3db1a3fa9880 04201c06 .config log report syz
ci-upstream-bpf-kasan-gce 2021/05/16 11:01 bpf 2d58cee61309 f54a5c09 .config log report info BUG: sleeping function called from invalid context in do_user_addr_fault
ci-upstream-bpf-next-kasan-gce 2021/07/31 06:58 bpf-next f309b4ba989d 6c236867 .config log report info BUG: sleeping function called from invalid context in do_user_addr_fault
ci-upstream-kasan-gce-selinux-root 2020/12/23 01:42 upstream 614cb5894306 04201c06 .config log report info
ci-upstream-kasan-gce-selinux-root 2020/12/23 01:42 upstream 614cb5894306 04201c06 .config log report info
ci-upstream-bpf-kasan-gce 2020/12/21 13:43 bpf d467d80dc399 04201c06 .config log report info