INFO: task syz.0.107:6196 blocked for more than 143 seconds. Not tainted 6.12.0-rc3-syzkaller-00013-geca631b8fe80 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.107 state:D stack:25024 pid:6196 tgid:6195 ppid:6003 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1843/0x4ae0 kernel/sched/core.c:6682 __schedule_loop kernel/sched/core.c:6759 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6774 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6831 rwsem_down_read_slowpath kernel/locking/rwsem.c:1084 [inline] __down_read_common kernel/locking/rwsem.c:1248 [inline] __down_read kernel/locking/rwsem.c:1261 [inline] down_read+0x705/0xa40 kernel/locking/rwsem.c:1526 __super_lock fs/super.c:58 [inline] super_lock+0x27c/0x400 fs/super.c:120 user_get_super+0xd2/0x180 fs/super.c:1000 quotactl_block fs/quota/quota.c:890 [inline] __do_sys_quotactl fs/quota/quota.c:955 [inline] __se_sys_quotactl+0x527/0xa30 fs/quota/quota.c:917 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8a5717dff9 RSP: 002b:00007f8a57fc2038 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3 RAX: ffffffffffffffda RBX: 00007f8a57335f80 RCX: 00007f8a5717dff9 RDX: 0000000000000000 RSI: 0000000020000240 RDI: ffffffff80000801 RBP: 00007f8a571f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000f00 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8a57335f80 R15: 00007ffff280dab8 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 2 locks held by kworker/u8:4/61: 3 locks held by kworker/u8:6/1120: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90004147d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90004147d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcbffc8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 2 locks held by getty/4975: #0: ffff8880325a10a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by syz-executor/5216: #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed5c6e8 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/5660: #0: ffff88804c1e00e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88804c1e00e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88804c1e00e0 (&type->s_umount_key#76){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed5c6e8 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 3 locks held by kworker/u8:8/5741: #0: ffff88814b90f948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88814b90f948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc9000d017d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9000d017d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcbffc8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4736 1 lock held by syz.0.107/6196: #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.2.117/6259: #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.0.153/6655: #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.3.172/6747: #0: ffff88804c1e00e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88804c1e00e0 (&type->s_umount_key#76){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.4.180/6861: #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.2.182/6918: #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 2 locks held by syz-executor/6928: #0: ffff8880863660e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880863660e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880863660e0 (&type->s_umount_key#76){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed5c6e8 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz.3.205/6957: #0: ffff88804c1e00e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88804c1e00e0 (&type->s_umount_key#76){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.0.217/7014: #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.1.291/7423: #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.0.308/7479: #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.2.326/7560: #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.4.339/7625: #0: ffff8880863660e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880863660e0 (&type->s_umount_key#76){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz-executor/7673: #0: ffffffff8e93d378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: ffffffff8e93d378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 1 lock held by syz.3.378/7830: #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.0.380/7845: #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.1.386/7896: #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880323d60e0 (&type->s_umount_key#76){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 7 locks held by syz-executor/7939: #0: ffff88803295e420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2931 [inline] #0: ffff88803295e420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x224/0xc90 fs/read_write.c:679 #1: ffff888028006088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1ea/0x500 fs/kernfs/file.c:325 #2: ffff888144b2f968 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20e/0x500 fs/kernfs/file.c:326 #3: ffffffff8f55e0a8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216 #4: ffff8880330e40e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff8880330e40e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff8880330e40e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1293 #5: ffff8880330e2250 (&devlink->lock_key#23){+.+.}-{3:3}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1672 #6: ffffffff8fcbffc8 (rtnl_mutex){+.+.}-{3:3}, at: unregister_nexthop_notifier+0x17/0x40 net/ipv4/nexthop.c:3913 1 lock held by syz-executor/7950: #0: ffffffff8fcbffc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fcbffc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6672 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc3-syzkaller-00013-geca631b8fe80 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 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+0xff4/0x1040 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 UID: 0 PID: 7950 Comm: syz-executor Not tainted 6.12.0-rc3-syzkaller-00013-geca631b8fe80 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:batadv_hardif_get_by_netdev+0x17d/0x4e0 net/batman-adv/hard-interface.c:72 Code: 48 8d 44 24 40 48 c1 e8 03 48 89 04 24 49 c7 c5 20 02 7c 9a 4c 89 74 24 18 49 8d 5c 24 18 48 89 d8 48 c1 e8 03 42 80 3c 38 00 <74> 08 48 89 df e8 a9 64 76 f6 4c 39 33 74 0a e8 8f d7 0f f6 e9 81 RSP: 0018:ffffc9000ce26d60 EFLAGS: 00000246 RAX: 1ffff1100a2d0d03 RBX: ffff888051686818 RCX: ffff88802d769e00 RDX: 0000000000000000 RSI: ffffffff8c602880 RDI: ffffffff8c602840 RBP: ffffc9000ce26e10 R08: ffffffff8b850e94 R09: 1ffffffff2852500 R10: dffffc0000000000 R11: fffffbfff2852501 R12: ffff888051686800 R13: ffffffff9a7c0220 R14: ffff88803c656000 R15: dffffc0000000000 FS: 0000555561744500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6e50039f98 CR3: 0000000033a9e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: batadv_hard_if_event+0x82/0x1620 net/batman-adv/hard-interface.c:967 notifier_call_chain+0x19f/0x3e0 kernel/notifier.c:93 call_netdevice_notifiers_extack net/core/dev.c:2034 [inline] call_netdevice_notifiers net/core/dev.c:2048 [inline] register_netdevice+0x167f/0x1b00 net/core/dev.c:10524 veth_newlink+0x855/0xce0 drivers/net/veth.c:1861 rtnl_newlink_create net/core/rtnetlink.c:3539 [inline] __rtnl_newlink net/core/rtnetlink.c:3759 [inline] rtnl_newlink+0x1591/0x20a0 net/core/rtnetlink.c:3772 rtnetlink_rcv_msg+0x73f/0xcf0 net/core/rtnetlink.c:6675 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2551 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:744 __sys_sendto+0x39b/0x4f0 net/socket.c:2214 __do_sys_sendto net/socket.c:2226 [inline] __se_sys_sendto net/socket.c:2222 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2222 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f208ad7fe8c Code: 2a 5a 02 00 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 70 5a 02 00 48 8b RSP: 002b:00007ffca7ca3e40 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f208ba64620 RCX: 00007f208ad7fe8c RDX: 0000000000000068 RSI: 00007f208ba64670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffca7ca3e94 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f208ba64670 R15: 0000000000000000