INFO: task syz-executor.0:5535 blocked for more than 143 seconds. Not tainted 6.9.0-rc4-syzkaller-00266-g977b1ef51866 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27936 pid:5535 tgid:5534 ppid:5423 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 bdev_release+0x166/0x710 block/bdev.c:1059 blkdev_release+0x15/0x20 block/fops.c:628 __fput+0x270/0xb80 fs/file_table.c:422 task_work_run+0x14e/0x250 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x278/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xdc/0x260 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc99f279b69 RSP: 002b:00007fc9a03ad0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007fc99f38bf80 RCX: 00007fc99f279b69 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007fc99f2d534e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc99f38bf80 R15: 00007ffc677e5bd8 Showing all locks held in the system: 4 locks held by kworker/u8:0/10: #0: ffff8880b953ea58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559 #1: ffffc900000f7d80 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_one_work+0x906/0x1ac0 kernel/workqueue.c:3230 #2: ffff888076f30768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5953 [inline] #2: ffff888076f30768 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: cfg80211_wiphy_work+0x2b/0x330 net/wireless/core.c:424 #3: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #3: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #3: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: ieee80211_sta_active_ibss+0xe7/0x420 net/mac80211/ibss.c:642 1 lock held by khungtaskd/29: #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by getty/4827: #0: ffff88802b2520a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 7 locks held by kworker/0:4/5087: #0: ffff8880b943ea58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559 #1: ffff8880b9428a08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:988 #2: ffff8880b9428a08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_change+0x1b4/0x2e0 kernel/sched/psi.c:912 #3: ffffffff948b18c0 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x199/0x540 lib/debugobjects.c:708 #4: ffffffff94863728 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:978 [inline] #4: ffffffff94863728 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0x1d0/0x600 lib/debugobjects.c:1019 #5: ffff8880b9446f60 (&c->lock){-.-.}-{2:2}, at: local_lock_acquire include/linux/local_lock_internal.h:29 [inline] #5: ffff8880b9446f60 (&c->lock){-.-.}-{2:2}, at: put_cpu_partial+0x53/0x220 mm/slub.c:2953 #6: ffff8880b943d998 (&pool->lock){-.-.}-{2:2}, at: __queue_work+0x39e/0x1020 kernel/workqueue.c:2360 1 lock held by udevd/5410: #0: ffff88801fdf34c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x43c/0xe90 block/bdev.c:877 1 lock held by syz-executor.0/5535: #0: ffff88801fdf34c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x166/0x710 block/bdev.c:1059 1 lock held by syz-executor.0/5791: #0: ffff88801fdf34c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x43c/0xe90 block/bdev.c:877 1 lock held by syz-executor.0/5803: #0: ffff88801fdf34c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x43c/0xe90 block/bdev.c:877 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc4-syzkaller-00266-g977b1ef51866 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf86/0x1240 kernel/hung_task.c:380 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4514 Comm: klogd Not tainted 6.9.0-rc4-syzkaller-00266-g977b1ef51866 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:rcu_is_watching+0x0/0xc0 kernel/rcu/tree.c:696 Code: c7 00 4a 0e 8b e8 10 f2 66 09 65 8a 05 85 ca 8f 7e 0f b6 c0 c3 cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 55 53 65 ff 05 3b a7 8f 7e e8 ae f1 66 09 48 c7 c3 e8 RSP: 0018:ffffc90002f9fac8 EFLAGS: 00000247 RAX: 0000000000000001 RBX: 1ffff920005f3f5c RCX: ffffffff816bea6b RDX: fffffbfff1f3e61b RSI: 0000000000000008 RDI: ffffffff8f9f30d0 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff1f3e61a R10: ffffffff8f9f30d7 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8d7b0d60 R15: 0000000000000000 FS: 00007feb49850380(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556a95448680 CR3: 000000007c0c2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x47b/0x560 kernel/locking/lockdep.c:5725 rcu_lock_acquire include/linux/rcupdate.h:329 [inline] rcu_read_lock_sched include/linux/rcupdate.h:873 [inline] pfn_valid include/linux/mmzone.h:2019 [inline] __virt_addr_valid+0x1aa/0x580 arch/x86/mm/physaddr.c:65 check_heap_object mm/usercopy.c:189 [inline] __check_object_size mm/usercopy.c:251 [inline] __check_object_size+0x139/0x730 mm/usercopy.c:213 check_object_size include/linux/thread_info.h:215 [inline] check_copy_size include/linux/thread_info.h:251 [inline] copy_to_user include/linux/uaccess.h:190 [inline] syslog_print+0x3d1/0x5d0 kernel/printk/printk.c:1633 do_syslog+0x3be/0x6a0 kernel/printk/printk.c:1734 __do_sys_syslog kernel/printk/printk.c:1826 [inline] __se_sys_syslog kernel/printk/printk.c:1824 [inline] __x64_sys_syslog+0x74/0xb0 kernel/printk/printk.c:1824 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7feb499b1fa7 Code: 73 01 c3 48 8b 0d 81 ce 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 67 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 51 ce 0c 00 f7 d8 64 89 01 48 RSP: 002b:00007ffc4e1042a8 EFLAGS: 00000206 ORIG_RAX: 0000000000000067 RAX: ffffffffffffffda RBX: 00007feb49b504a0 RCX: 00007feb499b1fa7 RDX: 00000000000003ff RSI: 00007feb49b504a0 RDI: 0000000000000002 RBP: 0000000000000000 R08: 0000000000000007 R09: 5c040f0bb2a3aa6c R10: 0000000000004000 R11: 0000000000000206 R12: 00007feb49b504a0 R13: 00007feb49b40212 R14: 00007feb49b504d2 R15: 00007feb49b504d2