ci starts bisection 2023-01-30 01:06:55.720472158 +0000 UTC m=+626129.666534205 bisecting fixing commit since ed56954cf5a8b7abb530676a073d14f9de661d69 building syzkaller on 05494336991504e3c6137b89eeddd492e17af6b6 ensuring issue is reproducible on original commit ed56954cf5a8b7abb530676a073d14f9de661d69 testing commit ed56954cf5a8b7abb530676a073d14f9de661d69 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6c36499c14bf96ce2a4306f60062f7e4294d459b83526438158cbb3ec7240991 all runs: crashed: INFO: task hung in gfs2_gl_hash_clear testing current HEAD 22b8077d0fcec86c6ed0e0fce9f7e7e5a4c2d56a testing commit 22b8077d0fcec86c6ed0e0fce9f7e7e5a4c2d56a gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 977bc0dc94b1c135445347a41319e65ea72d819f672f67546fa06c5d46f0ade1 all runs: crashed: INFO: task hung in gfs2_gl_hash_clear revisions tested: 2, total time: 29m49.645993028s (build: 18m12.038634541s, test: 10m55.457086342s) the crash still happens on HEAD commit msg: Merge tag 'fscache-fixes-20230130' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs crash: INFO: task hung in gfs2_gl_hash_clear INFO: task syz-executor.0:5531 blocked for more than 143 seconds. Not tainted 6.2.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24624 pid:5531 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0xb4a/0x5410 kernel/sched/core.c:6606 schedule+0xde/0x1b0 kernel/sched/core.c:6682 schedule_timeout+0x121/0x260 kernel/time/timer.c:2167 gfs2_gl_hash_clear+0x206/0x290 fs/gfs2/glock.c:2194 gfs2_put_super+0x3dd/0x580 fs/gfs2/super.c:627 generic_shutdown_super+0x13a/0x3b0 fs/super.c:492 kill_block_super+0x94/0xd0 fs/super.c:1386 deactivate_locked_super+0x7f/0x130 fs/super.c:332 cleanup_mnt+0x253/0x360 fs/namespace.c:1291 task_work_run+0x12f/0x220 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc2b688d547 RSP: 002b:00007ffef6e35568 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fc2b688d547 RDX: 00007ffef6e35639 RSI: 000000000000000a RDI: 00007ffef6e35630 RBP: 00007ffef6e35630 R08: 00000000ffffffff R09: 00007ffef6e35400 R10: 0000555556a61873 R11: 0000000000000246 R12: 00007fc2b68e6b24 R13: 00007ffef6e366f0 R14: 0000555556a61810 R15: 00007ffef6e36730 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8b786cd0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8b7869d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8b787820 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6494 2 locks held by getty/4737: #0: ffff88814b720098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x23/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xb73/0x1040 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.0/5531: #0: ffff88807e99e0e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: deactivate_super+0x63/0x80 fs/super.c:362 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x5b/0x81 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x18/0x106 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x259/0x2d0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0x8c8/0xc60 kernel/hung_task.c:377 kthread+0x298/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9 Comm: kworker/u4:0 Not tainted 6.2.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Workqueue: phy6 ieee80211_iface_work RIP: 0010:__read_once_word_nocheck+0x3/0x10 include/asm-generic/rwonce.h:68 Code: 00 d5 5f 8b e8 2e ae b3 02 e9 5f fb ff ff e8 a4 22 86 00 e9 ce fb ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 8b 07 66 66 2e 0f 1f 84 00 00 00 00 00 90 41 57 89 d0 41 56 41 55 41 RSP: 0018:ffffc900000e7480 EFLAGS: 00000212 RAX: ffffffff887bc309 RBX: 0000000000000001 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 1ffff9200001cea8 RDI: ffffc900000e7cb8 RBP: ffffc900000e7540 R08: ffffffff8e83125e R09: ffffc900000e752c R10: fffff5200001ceaa R11: ffffc900000e7cb8 R12: ffffc900000e752d R13: ffffc900000e74f8 R14: ffffc900000e7cc0 R15: ffffffff8e831262 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d741cee680 CR3: 000000000b48e000 CR4: 0000000000350ef0 Call Trace: deref_stack_reg arch/x86/kernel/unwind_orc.c:379 [inline] unwind_next_frame+0x9fe/0x1d00 arch/x86/kernel/unwind_orc.c:558 arch_stack_walk+0x81/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x90/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x22/0x40 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:371 [inline] ____kasan_kmalloc mm/kasan/common.c:330 [inline] __kasan_kmalloc+0xa5/0xb0 mm/kasan/common.c:380 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slab_common.c:968 [inline] __kmalloc+0x5a/0xd0 mm/slab_common.c:981 kmalloc include/linux/slab.h:584 [inline] kzalloc include/linux/slab.h:720 [inline] ieee802_11_parse_elems_full+0xea/0x12c0 net/mac80211/util.c:1619 ieee802_11_parse_elems_crc net/mac80211/ieee80211_i.h:2260 [inline] ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2267 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1605 [inline] ieee80211_ibss_rx_queued_mgmt+0xb83/0x31d0 net/mac80211/ibss.c:1638 ieee80211_iface_process_skb net/mac80211/iface.c:1583 [inline] ieee80211_iface_work+0x6f9/0x9e0 net/mac80211/iface.c:1637 process_one_work+0x8ba/0x14c0 kernel/workqueue.c:2289 worker_thread+0x59c/0xec0 kernel/workqueue.c:2436 kthread+0x298/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308