INFO: task syz.0.452:5691 blocked for more than 143 seconds. Not tainted 5.15.167-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.452 state:D stack:24512 pid: 5691 ppid: 3570 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6515 rwsem_down_read_slowpath+0x605/0xb40 kernel/locking/rwsem.c:1055 __down_read_common kernel/locking/rwsem.c:1239 [inline] __down_read kernel/locking/rwsem.c:1252 [inline] down_read+0x9a/0x2e0 kernel/locking/rwsem.c:1500 iterate_supers+0xac/0x1e0 fs/super.c:714 quota_sync_all fs/quota/quota.c:68 [inline] __do_sys_quotactl fs/quota/quota.c:936 [inline] __se_sys_quotactl+0x347/0x770 fs/quota/quota.c:915 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f17053b1ef9 RSP: 002b:00007f17037e8038 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3 RAX: ffffffffffffffda RBX: 00007f170556a130 RCX: 00007f17053b1ef9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff80000102 RBP: 00007f1705424b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f170556a130 R15: 00007ffe1a61fc88 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91fc60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by udevd/3028: #0: ffff8880b913a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 3 locks held by kworker/1:2/3044: #0: ffff8880b913a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffffffff8c91fc60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:311 #2: ffffc90003039098 (&rb->spinlock){..-.}-{2:2}, at: __bpf_ringbuf_reserve+0x1f8/0x600 kernel/bpf/ringbuf.c:328 2 locks held by getty/3336: #0: ffff88814ae39098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc9000229b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 1 lock held by syz-executor/3576: #0: ffff8880781720e0 (&type->s_umount_key#69){++++}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 3 locks held by kworker/1:4/3609: #0: ffff888017070938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90003077d20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff888073513240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2cd/0x4120 drivers/net/netdevsim/fib.c:1478 2 locks held by kworker/0:5/3612: #0: ffff888017072138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900030b7d20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 2 locks held by kworker/u4:16/4968: #0: ffff8880b913a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffffffff8c91fc60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:311 5 locks held by kworker/u4:17/4972: #0: ffff8880171d5938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90004167d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8da261d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:561 #3: ffff888022ed13e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_destruct+0x10c/0x2f0 drivers/net/wireguard/device.c:233 #4: ffffffff8c924228 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #4: ffffffff8c924228 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:845 3 locks held by kworker/u4:23/4987: 1 lock held by syz.0.452/5691: #0: ffff8880781720e0 (&type->s_umount_key#69){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:714 1 lock held by syz.4.574/6179: #0: ffff8880781720e0 (&type->s_umount_key#69){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:714 1 lock held by syz-executor/7342: #0: ffffffff8da31d88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8da31d88 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5615 2 locks held by syz.1.902/7478: 1 lock held by syz.1.902/7480: #0: ffff88807b0b6120 (sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1676 [inline] #0: ffff88807b0b6120 (sk_lock-AF_INET){+.+.}-{0:0}, at: do_ip_getsockopt net/ipv4/ip_sockglue.c:1546 [inline] #0: ffff88807b0b6120 (sk_lock-AF_INET){+.+.}-{0:0}, at: ip_getsockopt+0x2d0/0x2450 net/ipv4/ip_sockglue.c:1780 1 lock held by syz.1.902/7482: #0: ffff88807b0b6120 (sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1676 [inline] #0: ffff88807b0b6120 (sk_lock-AF_INET){+.+.}-{0:0}, at: do_tcp_setsockopt net/ipv4/tcp.c:3425 [inline] #0: ffff88807b0b6120 (sk_lock-AF_INET){+.+.}-{0:0}, at: tcp_setsockopt+0x5ba/0x3680 net/ipv4/tcp.c:3715 1 lock held by sed/7518: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7342 Comm: syz-executor Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:__lock_is_held kernel/locking/lockdep.c:5363 [inline] RIP: 0010:lock_is_held_type+0xb2/0x180 kernel/locking/lockdep.c:5666 Code: 89 ed 48 81 c5 f0 0a 00 00 31 db 48 83 fb 31 73 24 48 89 ef 4c 89 fe e8 fc 01 00 00 85 c0 75 2a 48 ff c3 49 63 85 e8 0a 00 00 <48> 83 c5 28 48 39 c3 7c d8 eb 11 48 c7 c7 20 f3 7e 8c 48 89 de e8 RSP: 0018:ffffc90000dd0748 EFLAGS: 00000002 RAX: 0000000000000006 RBX: 0000000000000001 RCX: ffffffff816366b2 RDX: dffffc0000000000 RSI: ffff8880b913ded0 RDI: ffff888019bc28b0 RBP: ffff888019bc28b0 R08: dffffc0000000000 R09: fffffbfff20e2419 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000046 R13: ffff888019bc1dc0 R14: 00000000ffffffff R15: ffff8880b913ded0 FS: 0000555557a40500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005559ab55a950 CR3: 0000000055ce9000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:287 [inline] get_freelist mm/slub.c:2844 [inline] ___slab_alloc+0x2a3/0xe10 mm/slub.c:2939 __slab_alloc mm/slub.c:3095 [inline] slab_alloc_node mm/slub.c:3186 [inline] __kmalloc_node_track_caller+0x1f6/0x390 mm/slub.c:4958 kmalloc_reserve net/core/skbuff.c:356 [inline] __alloc_skb+0x12c/0x590 net/core/skbuff.c:427 skb_copy+0x127/0x820 net/core/skbuff.c:1595 mac80211_hwsim_tx_frame_no_nl+0xe37/0x1840 drivers/net/wireless/mac80211_hwsim.c:1569 mac80211_hwsim_tx_frame+0x1cc/0x220 drivers/net/wireless/mac80211_hwsim.c:1788 mac80211_hwsim_beacon_tx+0x48f/0x8a0 drivers/net/wireless/mac80211_hwsim.c:1842 __iterate_interfaces+0x21e/0x4b0 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0xaf/0x140 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xa7/0x180 drivers/net/wireless/mac80211_hwsim.c:1865 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1769 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:console_trylock_spinning+0x36b/0x3f0 kernel/printk/printk.c:1909 Code: 0f 84 75 ff ff ff e8 d4 0b 1a 00 fb 31 db eb 48 e8 ca 0b 1a 00 e8 c5 fe cd 08 4d 85 ed 74 cd e8 bb 0b 1a 00 fb bb 01 00 00 00 <48> c7 c7 20 c5 7f 8c 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 RSP: 0018:ffffc90004116760 EFLAGS: 00000293 RAX: ffffffff81664eb5 RBX: 0000000000000001 RCX: ffff888019bc1dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90004116830 R08: ffffffff81664e6e R09: fffffbfff20e2430 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000822cec R13: 0000000000000200 R14: 0000000000000046 R15: dffffc0000000000 vprintk_emit+0xa6/0x150 kernel/printk/printk.c:2273 _printk+0xd1/0x120 kernel/printk/printk.c:2299 batadv_check_known_mac_addr+0x296/0x3d0 net/batman-adv/hard-interface.c:524 batadv_hard_if_event+0x300/0x17a0 net/batman-adv/hard-interface.c:986 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:391 call_netdevice_notifiers_info net/core/dev.c:2018 [inline] call_netdevice_notifiers_extack net/core/dev.c:2030 [inline] call_netdevice_notifiers net/core/dev.c:2044 [inline] dev_set_mac_address+0x325/0x470 net/core/dev.c:9074 dev_set_mac_address_user+0x2d/0x50 net/core/dev.c:9088 do_setlink+0x7f0/0x3d80 net/core/rtnetlink.c:2702 __rtnl_newlink net/core/rtnetlink.c:3418 [inline] rtnl_newlink+0x17d6/0x2070 net/core/rtnetlink.c:3540 rtnetlink_rcv_msg+0x993/0xee0 net/core/rtnetlink.c:5618 netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2503 netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline] netlink_unicast+0x7b6/0x980 net/netlink/af_netlink.c:1352 netlink_sendmsg+0xa30/0xd60 net/netlink/af_netlink.c:1920 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] __sys_sendto+0x564/0x720 net/socket.c:2058 __do_sys_sendto net/socket.c:2070 [inline] __se_sys_sendto net/socket.c:2066 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2066 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fb34fac5d8c 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:00007ffcffdbaf00 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fb3507aa620 RCX: 00007fb34fac5d8c RDX: 000000000000002c RSI: 00007fb3507aa670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffcffdbaf54 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007fb3507aa670 R15: 0000000000000000