INFO: task syz.2.1006:9329 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.1006 state:D stack:25256 pid:9329 ppid:5782 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6699 schedule+0xbd/0x170 kernel/sched/core.c:6773 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6832 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6b7/0xcc0 kernel/locking/mutex.c:747 sync_bdevs+0x1af/0x330 block/bdev.c:1059 ksys_sync+0xba/0x150 fs/sync.c:105 __ia32_sys_sync+0xe/0x20 fs/sync.c:113 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fad5978efc9 RSP: 002b:00007fad5a5a5038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007fad599e5fa0 RCX: 00007fad5978efc9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fad599e5fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fad599e6038 R14: 00007fad599e5fa0 R15: 00007ffc2092d588 Showing all locks held in the system: 6 locks held by kworker/1:1/28: #0: ffff88814008b938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff88814008b938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc90000a4fd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc90000a4fd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffff888143374190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:995 [inline] #2: ffff888143374190 (&dev->mutex){....}-{3:3}, at: hub_event+0x185/0x49c0 drivers/usb/core/hub.c:5861 #3: ffff88807c39f190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:995 [inline] #3: ffff88807c39f190 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x10b/0x8a0 drivers/usb/core/hub.c:2306 #4: ffff88801aecc160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:995 [inline] #4: ffff88801aecc160 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff88801aecc160 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xb6/0x7a0 drivers/base/dd.c:1292 #5: ffff888048320188 (&hdw->big_lock_mutex){+.+.}-{3:3}, at: pvr2_hdw_disconnect+0x6d/0x500 drivers/media/usb/pvrusb2/pvrusb2-hdw.c:2710 1 lock held by khungtaskd/29: #0: ffffffff8cd2ff20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #0: ffffffff8cd2ff20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #0: ffffffff8cd2ff20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633 2 locks held by pvrusb2-context/2314: #0: ffff888048320188 (&hdw->big_lock_mutex){+.+.}-{3:3}, at: pvr2_hdw_initialize+0xc7/0x3a90 drivers/media/usb/pvrusb2/pvrusb2-hdw.c:2326 #1: ffffffff8cbda630 (umhelper_sem){++++}-{3:3}, at: usermodehelper_read_trylock+0xf0/0x2b0 kernel/umh.c:215 2 locks held by getty/5550: #0: ffff888030a920a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x425/0x1380 drivers/tty/n_tty.c:2217 1 lock held by udevd/5775: #0: ffff888141b104c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by udevd/5777: #0: ffff888021cab4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by udevd/5798: #0: ffff888141ba84c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 2 locks held by kworker/1:5/5850: #0: ffff888017872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff888017872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc90004adfd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc90004adfd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 1 lock held by udevd/5890: #0: ffff8880218fd4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by udevd/5901: #0: ffff888021a8f4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by udevd/6824: #0: ffff888141b884c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by udevd/7058: #0: ffff888141b784c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by udevd/8152: #0: ffff888021bbb4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by udevd/8397: #0: ffff888141b204c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by udevd/8792: #0: ffff888021e2b4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 4 locks held by udevd/9221: #0: ffff88805daf9d58 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xb1/0xd50 fs/seq_file.c:182 #1: ffff88805cd62c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x5c/0x410 fs/kernfs/file.c:172 #2: ffff88804e4fcd98 (kn->active#30){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff88804e4fcd98 (kn->active#30){.+.+}-{0:0}, at: kernfs_seq_start+0xb2/0x410 fs/kernfs/file.c:173 #3: ffff88807c39f190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:1000 [inline] #3: ffff88807c39f190 (&dev->mutex){....}-{3:3}, at: serial_show+0x26/0xa0 drivers/usb/core/sysfs.c:143 1 lock held by udevd/9227: #0: ffff888021d034c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:788 1 lock held by syz.2.1006/9329: #0: ffff888021d034c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1af/0x330 block/bdev.c:1059 2 locks held by syz.4.1582/11030: #0: ffff88805d553220 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline] #0: ffff88805d553220 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:658 [inline] #0: ffff88805d553220 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x9b/0x230 net/socket.c:1421 #1: ffffffff8cd358f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #1: ffffffff8cd358f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x448/0x830 kernel/rcu/tree_exp.h:1004 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x16c/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x39b/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x2f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf41/0xf80 kernel/hung_task.c:379 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 12 Comm: kworker/u4:1 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet RIP: 0010:rcu_lock_release include/linux/rcupdate.h:344 [inline] RIP: 0010:rcu_read_unlock include/linux/rcupdate.h:819 [inline] RIP: 0010:batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:770 [inline] RIP: 0010:batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:824 [inline] RIP: 0010:batadv_iv_ogm_schedule+0x6cc/0xe90 net/batman-adv/bat_iv_ogm.c:867 Code: c7 e0 62 c5 8b be 30 03 00 00 48 c7 c2 80 63 c5 8b e8 78 28 35 f7 e8 63 e1 3d f7 48 c7 c7 20 ff d2 8c 48 8b b4 24 98 00 00 00 0f f7 34 f7 48 8b 84 24 90 00 00 00 42 0f b6 04 20 84 c0 75 1e RSP: 0018:ffffc900001179c0 EFLAGS: 00000287 RAX: 0000000000000000 RBX: 00000000000000e8 RCX: ffff888019e7da00 RDX: 0000000000000000 RSI: ffffffff8a328043 RDI: ffffffff8cd2ff20 RBP: ffffc90000117b00 R08: dffffc0000000000 R09: 1ffffffff21b4ea0 R10: dffffc0000000000 R11: fffffbfff21b4ea1 R12: dffffc0000000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff88805e92d0a4 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559544d29818 CR3: 000000000cb30000 CR4: 00000000003506e0 Call Trace: batadv_iv_send_outstanding_bat_ogm_packet+0x731/0x840 net/batman-adv/bat_iv_ogm.c:1711 process_one_work kernel/workqueue.c:2634 [inline] process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293