INFO: task syz-executor.1:5930 blocked for more than 143 seconds. Not tainted 6.9.0-rc7-next-20240507-syzkaller-g93a39e476608 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27536 pid:5930 tgid:5927 ppid:5455 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 blkdev_common_ioctl+0xf30/0x26f0 block/ioctl.c:569 blkdev_ioctl+0x4cd/0x6b0 block/ioctl.c:634 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f54cc67cae9 RSP: 002b:00007f54cd48e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f54cc79c050 RCX: 00007f54cc67cae9 RDX: 0000000000000000 RSI: 0000000000001276 RDI: 0000000000000004 RBP: 00007f54cc6c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f54cc79c050 R15: 00007ffe1d037918 Showing all locks held in the system: 3 locks held by kworker/u8:1/12: #0: ffff88802aad1948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff88802aad1948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90000117d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90000117d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f5e5248 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4193 1 lock held by khungtaskd/30: #0: ffffffff8e333de0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:327 [inline] #0: ffffffff8e333de0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:839 [inline] #0: ffffffff8e333de0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by kworker/u8:7/2817: 2 locks held by getty/4845: #0: ffff88802b7760a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 3 locks held by kworker/u9:3/5462: #0: ffff88802a2db148 ((wq_completion)hci1){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff88802a2db148 ((wq_completion)hci1){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc900051efd00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc900051efd00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff888195939060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:309 3 locks held by kworker/1:5/5515: #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90005777d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90005777d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f5e5248 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 2 locks held by syz-executor.1/5928: 1 lock held by syz-executor.1/5930: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.4/5994: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.4/5995: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.5/6001: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.5/6002: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.3/6004: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.3/6005: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.0/6007: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.0/6008: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.2/6025: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.2/6026: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.1/6043: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.1/6044: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.4/6108: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.4/6110: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.5/6125: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.5/6126: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.3/6128: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.3/6130: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.0/6131: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.0/6132: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.2/6147: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.2/6148: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.1/6165: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.1/6166: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.5/6189: #0: ffffffff8f5e5248 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f5e5248 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6576 1 lock held by syz-executor.3/6202: #0: ffffffff8f5e5248 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f5e5248 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6576 2 locks held by syz-executor.0/6204: #0: ffffffff8f5e5248 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f5e5248 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6576 #1: ffffffff8e3391b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #1: ffffffff8e3391b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:939 1 lock held by syz-executor.4/6216: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 1 lock held by syz-executor.4/6218: #0: ffff8880219091a0 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xdd/0x9a0 kernel/trace/blktrace.c:735 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.9.0-rc7-next-20240507-syzkaller-g93a39e476608 #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+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1107 Comm: kworker/u8:6 Not tainted 6.9.0-rc7-next-20240507-syzkaller-g93a39e476608 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_acquire+0x45b/0x1fd0 kernel/locking/lockdep.c:5080 Code: 38 44 89 f1 83 e1 01 c1 e1 12 c1 e0 14 31 d2 83 7c 24 5c 00 0f 95 c2 c1 e2 13 41 c1 e7 15 41 09 d7 41 09 c7 41 09 cf 41 09 ff <48> 8b 44 24 20 0f b6 04 30 84 c0 0f 85 13 13 00 00 44 8b a4 24 e0 RSP: 0018:ffffc90004eef8f0 EFLAGS: 00000006 RAX: 0000000000000000 RBX: 0000000000000021 RCX: 0000000000000000 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000020021 RBP: 000000000000000a R08: ffff88802306e4e0 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1f5a186 R12: ffffffff8e333de0 R13: 0000000000000021 R14: 0000000000000000 R15: 0000000000020021 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055558c525788 CR3: 000000008e48a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 rcu_lock_acquire include/linux/rcupdate.h:327 [inline] rcu_read_lock include/linux/rcupdate.h:839 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xec/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244