INFO: task syz-executor.2:9689 blocked for more than 143 seconds. Not tainted 6.8.0-rc2-next-20240202-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:25944 pid:9689 tgid:9688 ppid:5099 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17df/0x4a40 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6804 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6819 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2159 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x355/0x620 kernel/sched/completion.c:148 __flush_workqueue+0x730/0x1630 kernel/workqueue.c:3617 ceph_monc_stop+0x7c/0x1e0 net/ceph/mon_client.c:1248 ceph_destroy_client+0x74/0x130 net/ceph/ceph_common.c:768 destroy_fs_client+0x192/0x270 fs/ceph/super.c:899 deactivate_locked_super+0xc4/0x130 fs/super.c:477 ceph_get_tree+0x9a9/0x17b0 fs/ceph/super.c:1361 vfs_get_tree+0x90/0x2a0 fs/super.c:1784 vfs_cmd_create+0xe4/0x230 fs/fsopen.c:230 __do_sys_fsconfig fs/fsopen.c:476 [inline] __se_sys_fsconfig+0x967/0xec0 fs/fsopen.c:349 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f8250e7dda9 RSP: 002b:00007f8251c060c8 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f8250fabf80 RCX: 00007f8250e7dda9 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000003 RBP: 00007f8250eca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f8250fabf80 R15: 00007ffe5034bda8 INFO: task syz-executor.0:9698 blocked for more than 145 seconds. Not tainted 6.8.0-rc2-next-20240202-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25552 pid:9698 tgid:9695 ppid:5102 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17df/0x4a40 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6804 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6819 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2159 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x355/0x620 kernel/sched/completion.c:148 __flush_workqueue+0x730/0x1630 kernel/workqueue.c:3617 ceph_mdsc_pre_umount+0x5b5/0x8b0 fs/ceph/mds_client.c:5475 ceph_kill_sb+0x9f/0x4b0 fs/ceph/super.c:1535 deactivate_locked_super+0xc4/0x130 fs/super.c:477 ceph_get_tree+0x9a9/0x17b0 fs/ceph/super.c:1361 vfs_get_tree+0x90/0x2a0 fs/super.c:1784 vfs_cmd_create+0xe4/0x230 fs/fsopen.c:230 __do_sys_fsconfig fs/fsopen.c:476 [inline] __se_sys_fsconfig+0x967/0xec0 fs/fsopen.c:349 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7fb1eda7dda9 RSP: 002b:00007fb1ee8300c8 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007fb1edbabf80 RCX: 00007fb1eda7dda9 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000003 RBP: 00007fb1edaca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fb1edbabf80 R15: 00007ffe13f595a8 INFO: task syz-executor.4:9718 blocked for more than 146 seconds. Not tainted 6.8.0-rc2-next-20240202-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:26224 pid:9718 tgid:9717 ppid:5101 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17df/0x4a40 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6804 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6819 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2159 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x355/0x620 kernel/sched/completion.c:148 __flush_workqueue+0x730/0x1630 kernel/workqueue.c:3617 ceph_mdsc_pre_umount+0x5b5/0x8b0 fs/ceph/mds_client.c:5475 ceph_kill_sb+0x9f/0x4b0 fs/ceph/super.c:1535 deactivate_locked_super+0xc4/0x130 fs/super.c:477 ceph_get_tree+0x9a9/0x17b0 fs/ceph/super.c:1361 vfs_get_tree+0x90/0x2a0 fs/super.c:1784 vfs_cmd_create+0xe4/0x230 fs/fsopen.c:230 __do_sys_fsconfig fs/fsopen.c:476 [inline] __se_sys_fsconfig+0x967/0xec0 fs/fsopen.c:349 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7fd9a9e7dda9 RSP: 002b:00007fd9aab170c8 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007fd9a9fabf80 RCX: 00007fd9a9e7dda9 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000003 RBP: 00007fd9a9eca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9a9fabf80 R15: 00007ffe653e5e78 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e130d60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e130d60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e130d60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by kworker/u4:8/2432: 2 locks held by getty/4825: #0: ffff88802a7ae0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000312b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-fuzzer/5090: 3 locks held by kworker/0:5/5156: #0: ffff88802a628d48 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline] #0: ffff88802a628d48 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125 #1: ffffc900042b7d20 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline] #1: ffffc900042b7d20 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125 #2: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4671 1 lock held by syz-executor.2/9689: #0: ffff88801e9b6c70 (&fc->uapi_mutex){+.+.}-{3:3}, at: __do_sys_fsconfig fs/fsopen.c:474 [inline] #0: ffff88801e9b6c70 (&fc->uapi_mutex){+.+.}-{3:3}, at: __se_sys_fsconfig+0x8e6/0xec0 fs/fsopen.c:349 2 locks held by syz-executor.0/9698: #0: ffff88807b418070 (&fc->uapi_mutex){+.+.}-{3:3}, at: __do_sys_fsconfig fs/fsopen.c:474 [inline] #0: ffff88807b418070 (&fc->uapi_mutex){+.+.}-{3:3}, at: __se_sys_fsconfig+0x8e6/0xec0 fs/fsopen.c:349 #1: ffff88802d0e20e0 (&type->s_umount_key#98/1){+.+.}-{3:3}, at: alloc_super+0x20e/0x8f0 fs/super.c:345 2 locks held by syz-executor.4/9718: #0: ffff888020e72870 (&fc->uapi_mutex){+.+.}-{3:3}, at: __do_sys_fsconfig fs/fsopen.c:474 [inline] #0: ffff888020e72870 (&fc->uapi_mutex){+.+.}-{3:3}, at: __se_sys_fsconfig+0x8e6/0xec0 fs/fsopen.c:349 #1: ffff88807c9aa0e0 (&type->s_umount_key#98/1){+.+.}-{3:3}, at: alloc_super+0x20e/0x8f0 fs/super.c:345 2 locks held by syz-executor.0/10006: #0: ffff88802ad83470 (&fc->uapi_mutex){+.+.}-{3:3}, at: __do_sys_fsconfig fs/fsopen.c:474 [inline] #0: ffff88802ad83470 (&fc->uapi_mutex){+.+.}-{3:3}, at: __se_sys_fsconfig+0x8e6/0xec0 fs/fsopen.c:349 #1: ffff8880807900e0 (&type->s_umount_key#98/1){+.+.}-{3:3}, at: alloc_super+0x20e/0x8f0 fs/super.c:345 2 locks held by syz-executor.4/10057: #0: ffff888011021c70 (&fc->uapi_mutex){+.+.}-{3:3}, at: __do_sys_fsconfig fs/fsopen.c:474 [inline] #0: ffff888011021c70 (&fc->uapi_mutex){+.+.}-{3:3}, at: __se_sys_fsconfig+0x8e6/0xec0 fs/fsopen.c:349 #1: ffff88803f6ba0e0 (&type->s_umount_key#98/1){+.+.}-{3:3}, at: alloc_super+0x20e/0x8f0 fs/super.c:345 2 locks held by syz-executor.0/10253: #0: ffff88802c2aec70 (&fc->uapi_mutex){+.+.}-{3:3}, at: __do_sys_fsconfig fs/fsopen.c:474 [inline] #0: ffff88802c2aec70 (&fc->uapi_mutex){+.+.}-{3:3}, at: __se_sys_fsconfig+0x8e6/0xec0 fs/fsopen.c:349 #1: ffff88807c0480e0 (&type->s_umount_key#98/1){+.+.}-{3:3}, at: alloc_super+0x20e/0x8f0 fs/super.c:345 2 locks held by syz-executor.4/10307: #0: ffff88802707ac70 (&fc->uapi_mutex){+.+.}-{3:3}, at: __do_sys_fsconfig fs/fsopen.c:474 [inline] #0: ffff88802707ac70 (&fc->uapi_mutex){+.+.}-{3:3}, at: __se_sys_fsconfig+0x8e6/0xec0 fs/fsopen.c:349 #1: ffff88808110c0e0 (&type->s_umount_key#98/1){+.+.}-{3:3}, at: alloc_super+0x20e/0x8f0 fs/super.c:345 8 locks held by syz-executor.4/10535: #0: ffff88801d8e0420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2801 [inline] #0: ffff88801d8e0420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x233/0xcb0 fs/read_write.c:586 #1: ffff88802f5b8088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325 #2: ffff888021e79a58 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326 #3: ffffffff8ecb8a68 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216 #4: ffff8880803290e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #4: ffff8880803290e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff8880803290e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1292 #5: ffff88808032a250 (&devlink->lock_key#10){+.+.}-{3:3}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1672 #6: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x40/0x160 drivers/net/netdevsim/netdev.c:417 #7: ffffffff8e1360f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #7: ffffffff8e1360f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x39a/0x820 kernel/rcu/tree_exp.h:939 2 locks held by syz-executor.3/10778: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc2-next-20240202-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106 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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfb0/0xff0 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 76 Comm: kworker/u4:5 Not tainted 6.8.0-rc2-next-20240202-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: bat_events batadv_dat_purge RIP: 0010:kasan_check_range+0x5/0x290 mm/kasan/generic.c:188 Code: 8d e8 bf 4b e5 ff 90 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 <41> 57 41 56 41 54 53 b0 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 RSP: 0018:ffffc900020ef9c8 EFLAGS: 00000046 RAX: 000000000000001b RBX: 00000000000006cf RCX: ffffffff8171e2ea RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92ca34f8 RBP: 0000000000000002 R08: ffffffff8f85b72f R09: 1ffffffff1f0b6e5 R10: dffffc0000000000 R11: fffffbfff1f0b6e6 R12: ffff888017fbc6f8 R13: dffffc0000000000 R14: 0000000000000004 R15: ffff888017fbc6d8 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fad663a8000 CR3: 000000000df32000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:228 [inline] mark_lock+0x9a/0x350 kernel/locking/lockdep.c:4656 mark_held_locks kernel/locking/lockdep.c:4274 [inline] __trace_hardirqs_on_caller kernel/locking/lockdep.c:4292 [inline] lockdep_hardirqs_on_prepare+0x282/0x780 kernel/locking/lockdep.c:4359 trace_hardirqs_on+0x28/0x40 kernel/trace/trace_preemptirq.c:61 __local_bh_enable_ip+0x168/0x200 kernel/softirq.c:386 spin_unlock_bh include/linux/spinlock.h:396 [inline] __batadv_dat_purge net/batman-adv/distributed-arp-table.c:186 [inline] batadv_dat_purge+0x2db/0x3c0 net/batman-adv/distributed-arp-table.c:205 process_one_work kernel/workqueue.c:3049 [inline] process_scheduled_works+0x913/0x14f0 kernel/workqueue.c:3125 worker_thread+0xa60/0x1000 kernel/workqueue.c:3206 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242