syzbot


BUG: sleeping function called from invalid context in sta_info_move_state
Status: fixed on 2021/03/10 01:48
Reported-by: syzbot+d5a9416c6cafe53b5dd0@syzkaller.appspotmail.com
Fix commit: 7bc40aedf24d mac80211: free sta in sta_info_insert_finish() on errors
First crash: 321d, last: 288d

Cause bisection: introduced by (bisect log) :
commit dcd479e10a0510522a5d88b29b8f79ea3467d501
Author: Johannes Berg <johannes.berg@intel.com>
Date: Fri Oct 9 12:17:11 2020 +0000

  mac80211: always wind down STA state

Crash: BUG: sleeping function called from invalid context in sta_info_move_state (log)
Repro: syz .config
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: sleeping function called from invalid context in sta_info_move_state C done 760 299d 301d 1/1 fixed on 2020/12/25 08:46
linux-4.14 BUG: sleeping function called from invalid context in sta_info_move_state C done 1101 299d 301d 1/1 fixed on 2020/12/25 08:46
Patch testing requests:
Created Duration User Patch Repo Result
2020/11/12 10:15 17m johannes@sipsolutions.net patch git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git f16e6313 OK

Sample crash report:

Crashes (39248):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2020/11/12 09:39 upstream 3d5e28bff7ad cca87986 .config log report syz C
ci-upstream-net-this-kasan-gce 2020/11/03 06:46 net 04a55c944f15 cba33199 .config log report syz C
ci-upstream-bpf-next-kasan-gce 2020/12/05 02:06 bpf-next eceae70bdeae 20366b87 .config log report syz C
ci-upstream-bpf-next-kasan-gce 2020/12/04 23:15 bpf-next eceae70bdeae 20366b87 .config log report syz C
ci-upstream-bpf-next-kasan-gce 2020/12/04 21:45 bpf-next eceae70bdeae 20366b87 .config log report syz C
ci-upstream-bpf-next-kasan-gce 2020/12/03 20:01 bpf-next 97306be45fbe e6b0d314 .config log report syz C
ci-upstream-bpf-next-kasan-gce 2020/12/03 00:42 bpf-next ba0581749fec 8c9190ef .config log report syz C
ci-upstream-bpf-next-kasan-gce 2020/12/01 22:50 bpf-next df5422851559 07bfe8a5 .config log report syz C
ci-upstream-bpf-next-kasan-gce 2020/12/01 16:25 bpf-next df5422851559 07bfe8a5 .config log report syz C
ci-upstream-bpf-next-kasan-gce 2020/12/01 14:51 bpf-next df5422851559 07bfe8a5 .config log report syz C
ci-upstream-bpf-next-kasan-gce 2020/11/30 19:20 bpf-next bb1b25cab043 78d50c1d .config log report syz C
ci-upstream-bpf-next-kasan-gce 2020/11/30 18:25 bpf-next bb1b25cab043 78d50c1d .config log report syz C
ci-upstream-bpf-next-kasan-gce 2020/11/30 09:56 bpf-next bb1b25cab043 a0092f9d .config log report syz C
ci-upstream-bpf-next-kasan-gce 2020/11/29 07:07 bpf-next bb1b25cab043 a0092f9d .config log report syz C
ci-upstream-bpf-next-kasan-gce 2020/11/29 06:46 bpf-next bb1b25cab043 a0092f9d .config log report syz C
ci-upstream-bpf-next-kasan-gce 2020/11/29 06:24 bpf-next bb1b25cab043 a0092f9d .config log report syz C
ci-upstream-bpf-next-kasan-gce 2020/11/27 14:41 bpf-next 830382e4ccb5 5018c946 .config log report syz C
ci-upstream-bpf-next-kasan-gce 2020/11/27 12:17 bpf-next 830382e4ccb5 5018c946 .config log report syz C
ci-upstream-bpf-next-kasan-gce 2020/11/26 19:59 bpf-next fb3558127cb6 1d2b823e .config log report syz C
ci-upstream-bpf-next-kasan-gce 2020/11/25 14:10 bpf-next 607c543f939d 1a1f4bd8 .config log report syz C
ci-upstream-bpf-next-kasan-gce 2020/11/25 13:51 bpf-next 607c543f939d 1a1f4bd8 .config log report syz C
ci-upstream-bpf-next-kasan-gce 2020/11/25 03:17 bpf-next 1c26ac6ab3ce e34b696c .config log report syz C
ci-upstream-kasan-gce-root 2020/11/20 09:24 upstream 3494d58865ad 0767f13f .config log report syz
ci-upstream-kasan-gce 2020/11/20 07:15 upstream 3494d58865ad 0767f13f .config log report syz
ci-upstream-net-this-kasan-gce 2020/11/03 06:11 net 04a55c944f15 cba33199 .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/12/05 06:13 bpf-next eceae70bdeae 20366b87 .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/12/05 05:02 bpf-next eceae70bdeae 20366b87 .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/12/05 04:16 bpf-next eceae70bdeae 20366b87 .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/12/05 03:56 bpf-next eceae70bdeae 20366b87 .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/12/05 02:37 bpf-next eceae70bdeae 20366b87 .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/12/04 22:38 bpf-next eceae70bdeae 20366b87 .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/12/04 03:08 bpf-next 97306be45fbe e6b0d314 .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/12/03 22:27 bpf-next 97306be45fbe e6b0d314 .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/12/02 17:44 bpf-next ba0581749fec 8c9190ef .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/12/01 16:34 bpf-next df5422851559 07bfe8a5 .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/12/01 16:06 bpf-next df5422851559 07bfe8a5 .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/12/01 15:44 bpf-next df5422851559 07bfe8a5 .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/12/01 15:11 bpf-next df5422851559 07bfe8a5 .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/11/30 20:30 bpf-next bb1b25cab043 78d50c1d .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/11/30 11:14 bpf-next bb1b25cab043 a0092f9d .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/11/30 11:05 bpf-next bb1b25cab043 a0092f9d .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/11/28 02:26 bpf-next 105c4e75feb4 486f93ef .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/11/28 01:48 bpf-next 105c4e75feb4 486f93ef .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/11/27 14:42 bpf-next 830382e4ccb5 5018c946 .config log report syz
ci-upstream-bpf-next-kasan-gce 2020/11/25 16:53 bpf-next 607c543f939d 1a1f4bd8 .config log report syz
ci-upstream-net-kasan-gce 2020/11/20 12:06 net-next 657bc1d10bfc 0767f13f .config log report syz
ci-upstream-linux-next-kasan-gce-root 2020/11/16 06:50 linux-next 92edc4aef867 1bf9a662 .config log report syz
ci-qemu-upstream 2020/11/20 09:00 upstream 131ad0b6f529 0767f13f .config log report info
ci-upstream-kasan-gce-selinux-root 2020/11/20 08:34 upstream 131ad0b6f529 0767f13f .config log report info
ci-upstream-kasan-gce-smack-root 2020/11/20 07:56 upstream 131ad0b6f529 0767f13f .config log report info
ci-upstream-kasan-gce-386 2020/11/20 08:48 upstream 131ad0b6f529 0767f13f .config log report info
ci-qemu-upstream-386 2020/11/20 08:05 upstream 131ad0b6f529 0767f13f .config log report info
ci-upstream-bpf-kasan-gce 2020/11/20 14:50 bpf 2801a5da5b25 740ff461 .config log report info
ci-upstream-net-this-kasan-gce 2020/11/14 00:15 net 4ee18c179e5e e1140d25 .config log report info
ci-upstream-net-this-kasan-gce 2020/11/03 00:12 net 04a55c944f15 8bc4594f .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/05 09:35 bpf-next eceae70bdeae 20366b87 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/05 09:18 bpf-next eceae70bdeae 20366b87 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/05 08:12 bpf-next eceae70bdeae 20366b87 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/05 07:08 bpf-next eceae70bdeae 20366b87 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/05 05:23 bpf-next eceae70bdeae 20366b87 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/05 03:05 bpf-next eceae70bdeae 20366b87 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/05 01:34 bpf-next eceae70bdeae 20366b87 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/05 01:30 bpf-next eceae70bdeae 20366b87 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/05 00:20 bpf-next eceae70bdeae 20366b87 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/04 23:08 bpf-next eceae70bdeae 20366b87 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/04 20:49 bpf-next eceae70bdeae 20366b87 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/04 19:45 bpf-next eceae70bdeae 20366b87 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/04 19:19 bpf-next eceae70bdeae 20366b87 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/04 02:44 bpf-next 97306be45fbe e6b0d314 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/04 01:44 bpf-next 97306be45fbe e6b0d314 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/04 01:25 bpf-next 97306be45fbe e6b0d314 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/04 00:18 bpf-next 97306be45fbe e6b0d314 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 23:18 bpf-next 97306be45fbe e6b0d314 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 21:30 bpf-next 97306be45fbe e6b0d314 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 20:24 bpf-next 97306be45fbe e6b0d314 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 19:40 bpf-next 97306be45fbe e6b0d314 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 18:34 bpf-next 97306be45fbe e6b0d314 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 18:14 bpf-next 97306be45fbe e6b0d314 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 17:07 bpf-next 97306be45fbe e6b0d314 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 16:47 bpf-next 97306be45fbe e6b0d314 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 15:40 bpf-next 97306be45fbe e6b0d314 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 14:36 bpf-next 97306be45fbe e6b0d314 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 13:51 bpf-next 97306be45fbe e6b0d314 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 12:49 bpf-next 97306be45fbe e6b0d314 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 11:48 bpf-next 97306be45fbe e6b0d314 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 11:41 bpf-next 97306be45fbe e6b0d314 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 10:36 bpf-next 97306be45fbe e6b0d314 .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 08:43 bpf-next 9e83f54f532b 8c9190ef .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 07:47 bpf-next 9e83f54f532b 8c9190ef .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 06:45 bpf-next 9e83f54f532b 8c9190ef .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 05:40 bpf-next 9e83f54f532b 8c9190ef .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 04:34 bpf-next 9e83f54f532b 8c9190ef .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 03:31 bpf-next 9e83f54f532b 8c9190ef .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 03:05 bpf-next 9e83f54f532b 8c9190ef .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 02:00 bpf-next 9e83f54f532b 8c9190ef .config log report info
ci-upstream-bpf-next-kasan-gce 2020/12/03 00:47 bpf-next ba0581749fec 8c9190ef .config log report info