syzbot


BUG: workqueue lockup (5)

Status: upstream: reported C repro on 2020/01/14 22:04
Reported-by: syzbot+f0b66b520b54883d4b9d@syzkaller.appspotmail.com
First crash: 991d, last: 1d08h

Cause bisection: introduced by (bisect log) :
commit ebe02de2c60caa3ee5a1b39c7c8b2a40e1fda2d8
Author: Himanshu Jha <himanshujha199640@gmail.com>
Date: Tue Aug 29 13:12:27 2017 +0000

  drm/amd/powerplay/hwmgr: Remove null check before kfree

Crash: WARNING in __x86_set_memory_region (log)
Repro: C syz .config
similar bugs (10):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: workqueue lockup (4) C 47 1045d 1452d 16/24 fixed on 2019/12/13 00:31
upstream BUG: workqueue lockup (2) C 406 1602d 1760d 6/24 fixed on 2018/05/13 10:02
linux-4.14 BUG: workqueue lockup C 265 10d 1248d 0/1 upstream: reported C repro on 2019/04/29 11:26
upstream BUG: workqueue lockup C 172 1782d 1793d 3/24 fixed on 2017/11/11 01:37
android-5-10 BUG: workqueue lockup (2) syz error 5 6d11h 200d 0/2 premoderation: reported syz repro on 2022/03/12 13:25
upstream BUG: workqueue lockup (3) C 1215 1546d 1598d 9/24 fixed on 2018/07/09 18:05
android-414 BUG: workqueue lockup C 114 1111d 1266d 0/1 public: reported C repro on 2019/04/11 00:00
linux-4.19 BUG: workqueue lockup C error 34 18d 1254d 0/1 upstream: reported C repro on 2019/04/22 20:37
android-5-10 BUG: workqueue lockup C error 25 240d 339d 0/2 closed as invalid on 2022/02/22 17:18
android-49 BUG: workqueue lockup C 69 1034d 1266d 0/3 public: reported C repro on 2019/04/11 08:44

Sample crash report:
hrtimer: interrupt took 209930 ns
BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 140s!
BUG: workqueue lockup - pool cpus=1 node=0 flags=0x0 nice=0 stuck for 162s!
Showing busy workqueues and worker pools:
workqueue events: flags=0x0
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: ovs_dp_masks_rebalance
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=2/256 refcnt=3
    pending: psi_avgs_work, vmstat_shepherd
workqueue events_long: flags=0x0
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: defense_work_handler
workqueue events_unbound: flags=0x2
  pwq 4: cpus=0-1 flags=0x5 nice=0 active=2/512 refcnt=5
    in-flight: 256:toggle_allocation_gate
    pending: flush_memcg_stats_dwork
workqueue events_power_efficient: flags=0x80
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=5/256 refcnt=6
    in-flight: 2990:fb_flashcursor
    pending: fb_flashcursor, neigh_periodic_work, do_cache_clean, gc_worker
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=3/256 refcnt=4
    in-flight: 1051:neigh_periodic_work
    pending: check_lifetime, neigh_periodic_work
workqueue mm_percpu_wq: flags=0x8
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: vmstat_update
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=2/256 refcnt=3
    pending: lru_add_drain_per_cpu, vmstat_update
workqueue writeback: flags=0x4a
  pwq 4: cpus=0-1 flags=0x5 nice=0 active=1/256 refcnt=4
    pending: wb_workfn
workqueue dm_bufio_cache: flags=0x8
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
    pending: work_fn
workqueue ipv6_addrconf: flags=0x40008
  pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/1 refcnt=2
    pending: addrconf_verify_work
workqueue krxrpcd: flags=0x0
  pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/1 refcnt=2
    pending: rxrpc_peer_keepalive_worker
pool 0: cpus=0 node=0 flags=0x0 nice=0 hung=140s workers=2 idle: 5
pool 2: cpus=1 node=0 flags=0x0 nice=0 hung=162s workers=2 idle: 20
pool 4: cpus=0-1 flags=0x5 nice=0 hung=130s workers=3 manager: 154 idle: 1204

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2022/02/04 04:03 upstream dcb85f85fa6f f111d03b .config log report syz C
ci-upstream-kasan-gce-root 2021/10/10 21:44 upstream efb52a7d9511 6c236867 .config log report syz C
ci-upstream-kasan-gce-smack-root 2021/06/12 17:21 upstream ad347abe4a98 917afeaa .config log report syz C
ci-upstream-kasan-gce-smack-root 2021/04/01 05:34 upstream d19cc4bfbff1 917afeaa .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/11/07 07:20 upstream 659caaf65dc9 917afeaa .config log report syz C
* Struck through repros no longer work on HEAD.
Crashes (394):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2021/10/21 04:11 upstream 8e37395c3a5d f111d03b .config log report syz C BUG: workqueue lockup
ci-upstream-kasan-gce-root 2021/08/01 16:22 upstream f3438b4c4e69 6c236867 .config log report syz C BUG: workqueue lockup
ci-upstream-kasan-gce-selinux-root 2021/07/15 08:52 upstream 8096acd7442e b9a2f64e .config log report syz C BUG: workqueue lockup
ci-upstream-net-kasan-gce 2021/08/01 20:36 net-next 3e12361b6d23 6c236867 .config log report syz C BUG: workqueue lockup
ci-upstream-linux-next-kasan-gce-root 2021/06/25 09:55 linux-next a1f92694393a 0edbbe31 .config log report syz C BUG: workqueue lockup
ci-upstream-kasan-gce-smack-root 2020/06/30 23:05 upstream 9ebcfadb0610 917afeaa .config log report syz C
ci-upstream-kasan-gce-root 2020/05/28 09:58 upstream b0c3ba31be3e 142a0957 .config log report syz C
ci-upstream-kasan-gce-root 2020/04/25 09:57 upstream b4f633221f0a 03d97a1b .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/04/23 14:14 upstream c578ddb39e56 2e44d63e .config log report syz C
ci-upstream-kasan-gce-root 2020/04/20 11:02 upstream 0fe5f9ca2235 9f7c6d12 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/04/11 07:30 upstream ab6f762f0f53 a8c6a3f8 .config log report syz C
ci-upstream-kasan-gce-root 2020/03/30 06:09 upstream e595dd94515e 05736b29 .config log report syz C
ci-upstream-kasan-gce-root 2020/03/21 03:54 upstream 6c90b86a745a 2c31c529 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/03/18 10:52 upstream ac309e7744be 97bc55ce .config log report syz C
ci-upstream-kasan-gce-root 2020/03/15 15:46 upstream d3dca69085e9 749688d2 .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/03/15 02:29 upstream 69a4d0baeeb1 749688d2 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/03/09 04:58 upstream 61a09258f2e5 2e9971bb .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/03/08 11:08 upstream c20037652700 2e9971bb .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/03/04 12:59 upstream 63623fd44972 c88c7b75 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/02/16 00:48 upstream 829e69446995 5d7b90f1 .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/02/13 10:03 upstream f2850dd5ee01 84f4fc8a .config log report syz C
ci-upstream-kasan-gce 2020/02/13 06:50 upstream f2850dd5ee01 84f4fc8a .config log report syz C
ci-upstream-kasan-gce 2020/02/09 19:08 upstream fdfa3a6778b1 6ece2ea5 .config log report syz C
ci-upstream-kasan-gce-root 2020/01/11 06:19 upstream e69ec487b2c7 4de4e9f0 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/05/11 04:15 linux-next ac935d227366 8742a2b9 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/04/10 12:45 linux-next 0434e521ce3b a8c6a3f8 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/03/31 08:39 linux-next 770fbb32d34e c8d1cc20 .config log report syz C
ci2-upstream-usb 2020/03/23 03:12 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 78267cec .config log report syz C
ci2-upstream-usb 2020/03/20 10:39 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 2c31c529 .config log report syz C
ci-qemu-upstream 2022/01/04 23:06 upstream c9e6606c7fe9 0a2584dd .config log report info BUG: workqueue lockup
ci-upstream-kasan-gce 2021/11/25 10:58 upstream 5f53fa508db0 545ab074 .config log report info BUG: workqueue lockup
ci-qemu-upstream-386 2021/10/21 03:18 upstream 8e37395c3a5d f111d03b .config log report info BUG: workqueue lockup
ci-upstream-kasan-gce-386 2021/10/16 23:54 upstream 304040fb4909 0c5d9412 .config log report info BUG: workqueue lockup
ci-qemu2-arm64-compat 2021/09/10 21:15 upstream bf9f243f23e6 5ae8508a .config log report info BUG: workqueue lockup
ci-upstream-net-this-kasan-gce 2021/08/21 00:46 net a8f89fa27773 b599f2fc .config log report info BUG: workqueue lockup
ci-upstream-bpf-kasan-gce 2021/07/07 20:39 bpf af0efa050caa 4846d5c1 .config log report info BUG: workqueue lockup
ci-upstream-bpf-next-kasan-gce 2021/10/15 16:20 bpf-next 431bfb9ee3e2 0c5d9412 .config log report info BUG: workqueue lockup
ci-upstream-linux-next-kasan-gce-root 2021/06/28 17:46 linux-next a1f92694393a 9d2ab5df .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/27 11:48 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 87840e00 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/26 20:20 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 10323ddf .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/25 08:48 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 0042f2b4 .config log report info BUG: workqueue lockup
ci-upstream-gce-arm64 2022/09/24 07:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c194837ebb57 0042f2b4 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/23 15:43 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 0042f2b4 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/23 06:35 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 0042f2b4 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/22 17:26 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 0042f2b4 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/22 06:45 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 60af5050 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/19 19:56 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d dd9a85ff .config log report info BUG: workqueue lockup
ci-upstream-gce-arm64 2022/09/19 16:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 dd9a85ff .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/19 01:17 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d dd9a85ff .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/18 03:31 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d dd9a85ff .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/16 03:05 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d dd9a85ff .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/15 15:25 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d dd9a85ff .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/14 12:00 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d b884348d .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/14 06:33 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d b884348d .config log report info BUG: workqueue lockup
ci-upstream-gce-arm64 2022/09/13 18:29 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 a08652b0 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/11 12:36 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 356d8217 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/10 12:11 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 356d8217 .config log report info BUG: workqueue lockup
ci-upstream-gce-arm64 2022/09/10 08:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 356d8217 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/10 00:21 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 356d8217 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/09 11:13 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 90058bdc .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/08 20:38 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d f3027468 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/08 11:47 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d f3027468 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/06 08:25 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 9dcd38fc .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/06 05:21 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 9dcd38fc .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/06 01:33 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 9dcd38fc .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/04 01:47 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 28811d0a .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/03 18:23 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d d8f726b8 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/03 12:57 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 49e94a20 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/02 07:09 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d a805568e .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/01 23:42 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 86c46e46 .config log report info BUG: workqueue lockup
ci-upstream-gce-arm64 2022/09/01 13:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 85413d1e802e 86c46e46 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/09/01 10:18 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d b01ec571 .config log report info BUG: workqueue lockup
ci-upstream-gce-arm64 2022/08/31 10:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a41a877bc12d 51e54e30 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/08/28 03:02 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 07177916 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/08/27 12:13 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 07177916 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/08/27 10:35 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 07177916 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/08/26 18:59 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d e5a303f1 .config log report info BUG: workqueue lockup
ci-upstream-gce-arm64 2022/08/26 13:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a41a877bc12d e5a303f1 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/08/25 21:31 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d e5fb9cf5 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/08/25 18:47 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d e5fb9cf5 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/08/22 10:51 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 26a13b38 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/08/22 01:11 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 26a13b38 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/08/21 14:21 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 26a13b38 .config log report info BUG: workqueue lockup
ci-qemu2-riscv64 2022/08/21 01:07 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 26a13b38 .config log report info BUG: workqueue lockup
ci-upstream-kasan-gce 2021/01/17 02:30 upstream 0da0a8a0a0e1 65a7a854 .config log report info
ci-upstream-kasan-gce-root 2020/12/08 23:38 upstream 7d8761ba27fc a7f7f4a4 .config log report info
ci-upstream-kasan-gce-smack-root 2020/07/24 03:38 upstream d15be546031c 70c104a1 .config log report
* Struck through repros no longer work on HEAD.