ci starts bisection 2023-06-09 16:32:17.476772135 +0000 UTC m=+198449.765199016 bisecting fixing commit since ee3f96b164688dae21e2466a57f2e806b64e8a37 building syzkaller on f8902b5747fbe3d5b860bd782eec63fc9c7da6e7 ensuring issue is reproducible on original commit ee3f96b164688dae21e2466a57f2e806b64e8a37 testing commit ee3f96b164688dae21e2466a57f2e806b64e8a37 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e7084d3676d3d47cfb23745a72d8579caa4af1e762112ba7ed81516831ce6bfc run #0: crashed: INFO: task hung in blkdev_put run #1: crashed: INFO: task hung in blkdev_put run #2: crashed: INFO: task hung in blkdev_put run #3: crashed: INFO: task hung in blkdev_put run #4: crashed: INFO: task hung in blkdev_put run #5: crashed: INFO: task hung in blkdev_put run #6: crashed: INFO: task hung in blkdev_get_by_dev run #7: crashed: INFO: task hung in blkdev_put run #8: crashed: INFO: task hung in blkdev_put run #9: crashed: INFO: task hung in blkdev_put run #10: crashed: INFO: task hung in blkdev_put run #11: crashed: INFO: task hung in blkdev_put run #12: crashed: INFO: task hung in blkdev_put run #13: crashed: INFO: task hung in blkdev_put run #14: crashed: INFO: task hung in blkdev_put run #15: crashed: INFO: task hung in blkdev_put run #16: crashed: INFO: task hung in blkdev_put run #17: crashed: INFO: task hung in blkdev_put run #18: crashed: INFO: task hung in blkdev_put run #19: crashed: INFO: task hung in blkdev_put testing current HEAD 33f2b5785a2b6b0ed1948aafee60d3abb12f1e3a testing commit 33f2b5785a2b6b0ed1948aafee60d3abb12f1e3a gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 315f9cc5a2247cfd25771ad1d3fac1854bba391f26b8ca751eae9c378f558e61 all runs: crashed: INFO: task hung in blkdev_put crash still not fixed/happens on the oldest tested release revisions tested: 2, total time: 32m5.736571475s (build: 17m54.323824286s, test: 13m9.500688405s) crash still not fixed on HEAD or HEAD had kernel test errors commit msg: Merge tag 'drm-fixes-2023-06-09' of git://anongit.freedesktop.org/drm/drm crash: INFO: task hung in blkdev_put INFO: task syz-executor.0:5896 blocked for more than 143 seconds. Not tainted 6.4.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28480 pid:5896 ppid:5306 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc5a/0x5840 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 blkdev_put+0x98/0x670 block/bdev.c:845 blkdev_close+0x63/0x90 block/fops.c:507 __fput+0x1fa/0x9a0 fs/file_table.c:321 task_work_run+0x12f/0x220 kernel/task_work.c:179 get_signal+0x19f/0x1fa0 kernel/signal.c:2652 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f774aa8c0f9 RSP: 002b:00007f7749dfe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f774ababf80 RCX: 00007f774aa8c0f9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000006 RBP: 00007f774aae7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcfb7e0f7f R14: 00007f7749dfe300 R15: 0000000000022000 INFO: task syz-executor.0:5897 blocked for more than 143 seconds. Not tainted 6.4.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29544 pid:5897 ppid:5306 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc5a/0x5840 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 blkdev_get_by_dev.part.0+0x72/0xa00 block/bdev.c:747 disk_scan_partitions+0x187/0x290 block/genhd.c:379 blkdev_common_ioctl+0x4af/0x1620 block/ioctl.c:531 blkdev_ioctl+0x272/0x6b0 block/ioctl.c:609 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x123/0x190 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f774aa8c0f9 RSP: 002b:00007f7749ddd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f774abac050 RCX: 00007f774aa8c0f9 RDX: 0000000000000000 RSI: 000000000000125f RDI: 0000000000000003 RBP: 00007f774aae7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcfb7e0f7f R14: 00007f7749ddd300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8b78d570 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8b78d270 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/27: #0: ffffffff8b78e180 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6559 4 locks held by kworker/u4:3/51: #0: ffff8880b9a3c4d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:558 #1: ffff8880b9a28808 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2de/0x950 kernel/sched/psi.c:996 #2: ffff888077f08d40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1129 [inline] #2: ffff888077f08d40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0x8e/0x11e0 net/mac80211/ibss.c:1680 #3: ffffffff8b78e180 (rcu_read_lock){....}-{1:2}, at: sdata_assert_lock net/mac80211/ieee80211_i.h:1146 [inline] #3: ffffffff8b78e180 (rcu_read_lock){....}-{1:2}, at: ieee80211_sta_active_ibss+0x75/0x2a0 net/mac80211/ibss.c:652 2 locks held by getty/4741: #0: ffff8880260f6098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x23/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xb73/0x1040 drivers/tty/n_tty.c:2176 1 lock held by udevd/5305: #0: ffff88801d4ae4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x72/0xa00 block/bdev.c:747 1 lock held by syz-executor.0/5896: #0: ffff88801d4ae4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x98/0x670 block/bdev.c:845 1 lock held by syz-executor.0/5897: #0: ffff88801d4ae4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x72/0xa00 block/bdev.c:747 1 lock held by syz-executor.0/5913: #0: ffff88801d4ae4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x72/0xa00 block/bdev.c:747 1 lock held by syz-executor.0/5914: #0: ffff88801d4ae4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x72/0xa00 block/bdev.c:747 1 lock held by syz-executor.0/5936: #0: ffff88801d4ae4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x72/0xa00 block/bdev.c:747 1 lock held by syz-executor.0/5937: #0: ffff88801d4ae4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x72/0xa00 block/bdev.c:747 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.4.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x64/0xb0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x175/0x200 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x1d4/0x210 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0x9f9/0xcf0 kernel/hung_task.c:379 kthread+0x2ea/0x3c0 kernel/kthread.c:379 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: 2818 Comm: kworker/u4:5 Not tainted 6.4.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Workqueue: phy7 ieee80211_iface_work RIP: 0010:orc_ip arch/x86/kernel/unwind_orc.c:30 [inline] RIP: 0010:__orc_find+0x83/0xf0 arch/x86/kernel/unwind_orc.c:52 Code: 01 d0 48 d1 f8 48 8d 5c 85 00 48 89 d8 48 c1 e8 03 42 0f b6 14 38 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 48 48 63 03 <48> 01 d8 48 39 c1 73 b0 4c 8d 63 fc 49 39 ec 73 b3 4d 29 ee 49 c1 RSP: 0018:ffffc9000af67740 EFLAGS: 00000246 RAX: fffffffff98e40b3 RBX: ffffffff8dcf9de4 RCX: ffffffff875dde90 RDX: 0000000000000000 RSI: ffffffff8e75fd9c RDI: ffffffff8dcf9ddc RBP: ffffffff8dcf9ddc R08: ffffffff8e75fd9c R09: ffffc9000af67c98 R10: ffffc9000af677f8 R11: 0000000000086001 R12: ffffffff8dcf9df0 R13: ffffffff8dcf9ddc R14: ffffffff8dcf9ddc R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffef14a7ff8 CR3: 000000000b56a000 CR4: 0000000000350ef0 Call Trace: orc_find arch/x86/kernel/unwind_orc.c:192 [inline] unwind_next_frame+0x2ac/0x1e30 arch/x86/kernel/unwind_orc.c:466 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_save_free_info+0x2e/0x40 mm/kasan/generic.c:521 ____kasan_slab_free mm/kasan/common.c:236 [inline] ____kasan_slab_free+0x160/0x1c0 mm/kasan/common.c:200 kasan_slab_free include/linux/kasan.h:162 [inline] slab_free_hook mm/slub.c:1781 [inline] slab_free_freelist_hook+0x8b/0x1c0 mm/slub.c:1807 slab_free mm/slub.c:3786 [inline] kmem_cache_free+0xe9/0x480 mm/slub.c:3808 skb_release_data+0x418/0x670 net/core/skbuff.c:948 skb_release_all net/core/skbuff.c:1014 [inline] __kfree_skb net/core/skbuff.c:1028 [inline] kfree_skb_reason+0x111/0x280 net/core/skbuff.c:1064 kfree_skb include/linux/skbuff.h:1236 [inline] ieee80211_iface_work+0x271/0x9e0 net/mac80211/iface.c:1650 process_one_work+0x86e/0x1410 kernel/workqueue.c:2405 worker_thread+0x5af/0xf00 kernel/workqueue.c:2552 kthread+0x2ea/0x3c0 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308