IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready batman_adv: batadv0: Interface activated: batadv_slave_1 device veth1_macvtap entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready INFO: task syz-executor.4:12997 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D28648 12997 8157 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:748 [inline] fuse_flush+0x1fd/0x5b0 fs/fuse/file.c:421 filp_close+0xb4/0x160 fs/open.c:1162 __close_fd+0x133/0x200 fs/file.c:636 __do_sys_close fs/open.c:1181 [inline] __se_sys_close fs/open.c:1179 [inline] __x64_sys_close+0x69/0x100 fs/open.c:1179 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f7571ae7f8b Code: Bad RIP value. RSP: 002b:00007ffcb6593d20 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f7571ae7f8b RDX: 0000001b30120000 RSI: 0000001b30125f44 RDI: 0000000000000004 RBP: 00007f7571c57980 R08: 0000000000000000 R09: 000000003253460c R10: 00085839b13b1013 R11: 0000000000000293 R12: 0000000000053136 R13: 00007ffcb6593e20 R14: 00007f7571c56050 R15: 0000000000000032 IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready INFO: task syz-executor.4:13002 blocked for more than 140 seconds. IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready Not tainted 4.19.211-syzkaller #0 IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready syz-executor.4 D27200 13002 8157 0x00000004 IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_0 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 fuse_wait_on_page_writeback fs/fuse/file.c:383 [inline] fuse_wait_on_page_writeback.isra.0+0x11b/0x170 fs/fuse/file.c:379 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_0 fuse_launder_page fs/fuse/file.c:2033 [inline] fuse_launder_page+0xb6/0xe0 fs/fuse/file.c:2026 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! do_launder_page mm/truncate.c:655 [inline] invalidate_inode_pages2_range+0x795/0x1110 mm/truncate.c:725 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! fuse_finish_open+0x2e2/0x590 fs/fuse/file.c:182 fuse_open_common+0x254/0x2c0 fs/fuse/file.c:222 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_0 do_dentry_open+0x4aa/0x1160 fs/open.c:796 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready batman_adv: batadv0: Interface activated: batadv_slave_0 do_last fs/namei.c:3421 [inline] path_openat+0x793/0x2df0 fs/namei.c:3537 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3f) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! do_filp_open+0x18c/0x3f0 fs/namei.c:3567 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3f) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! do_sys_open+0x3b3/0x520 fs/open.c:1085 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3f) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3f) already exists on: batadv_slave_1 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3f) already exists on: batadv_slave_1 entry_SYSCALL_64_after_hwframe+0x49/0xbe batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3f) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3f) already exists on: batadv_slave_1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready RIP: 0033:0x7f7571b360d9 batman_adv: batadv0: Interface activated: batadv_slave_1 Code: Bad RIP value. IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready RSP: 002b:00007f75700a8168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready RAX: ffffffffffffffda RBX: 00007f7571c55f80 RCX: 00007f7571b360d9 IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200001c0 RBP: 00007f7571b91ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcb6593cbf R14: 00007f75700a8300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1571: #0: 00000000613449a0 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 3 locks held by kworker/0:2/3688: #0: 00000000f43bd47d ((wq_completion)"%s"("ipv6_addrconf")){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready #1: 000000008b546804 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000cfe0296a (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #2: 00000000cfe0296a (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 1 lock held by in:imklog/7776: #0: 00000000d70a3f67 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by kworker/u4:6/9387: #0: 0000000086735d3c ((wq_completion)"events_unbound"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000613449a0 (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:428 [inline] #1: 00000000613449a0 (rcu_read_lock){....}, at: update_curr+0x2c3/0x870 kernel/sched/fair.c:857 4 locks held by kworker/u4:7/9390: #0: 00000000035b8ab1 ((wq_completion)"%s""netns"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000a31c3d32 (net_cleanup_work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000bb46ec1b (pernet_ops_rwsem){++++}, at: cleanup_net+0xa8/0x8b0 net/core/net_namespace.c:521 #3: 0000000015568842 (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #3: 0000000015568842 (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x4dc/0x6f0 kernel/rcu/tree_exp.h:667 1 lock held by syz-executor.4/12997: #0: 00000000987f1642 (&sb->s_type->i_mutex_key#22){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000987f1642 (&sb->s_type->i_mutex_key#22){+.+.}, at: fuse_flush+0x1fd/0x5b0 fs/fuse/file.c:421 2 locks held by syz-executor.4/13002: #0: 00000000cca4c6a0 (sb_writers#17){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000cca4c6a0 (sb_writers#17){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 00000000987f1642 (&sb->s_type->i_mutex_key#22){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000987f1642 (&sb->s_type->i_mutex_key#22){+.+.}, at: fuse_open_common+0x1bc/0x2c0 fs/fuse/file.c:215 1 lock held by kworker/u4:3/21013: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1571 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ieee80211 phy22: Selected rate control algorithm 'minstrel_ht' ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 59 Comm: kworker/u4:2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: phy13 ieee80211_iface_work RIP: 0010:__lock_is_held+0x2e/0x160 kernel/locking/lockdep.c:3721 Code: 00 00 00 fc ff df 41 57 65 4c 8b 3c 25 c0 df 01 00 41 56 49 89 fe 49 8d bf 80 08 00 00 41 55 48 89 fa 41 54 48 c1 ea 03 55 53 <48> 83 ec 08 0f b6 04 02 89 74 24 04 84 c0 74 08 3c 03 0f 8e ec 00 RSP: 0018:ffff8880b524f390 EFLAGS: 00000802 RAX: dffffc0000000000 RBX: 0000000000000286 RCX: 0000000000000000 RDX: 1ffff11016a48140 RSI: 00000000ffffffff RDI: ffff8880b5240a00 RBP: ffffffff89f85f20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 000000004470b61e R12: ffff8880b5240180 R13: 0000000000488020 R14: ffffffff89f85f20 R15: ffff8880b5240180 FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f47d3f92100 CR3: 000000008c7ff000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held_type+0x10d/0x210 kernel/locking/lockdep.c:3946 lock_is_held include/linux/lockdep.h:344 [inline] rcu_read_lock_sched_held+0x16c/0x1d0 kernel/rcu/update.c:118 trace_kmalloc include/trace/events/kmem.h:46 [inline] __do_kmalloc mm/slab.c:3728 [inline] __kmalloc+0x38e/0x3c0 mm/slab.c:3736 kmalloc include/linux/slab.h:520 [inline] kzalloc include/linux/slab.h:709 [inline] cfg80211_inform_bss_frame_data+0x200/0xeb0 net/wireless/scan.c:1255 ieee80211_bss_info_update+0x42d/0x1800 net/mac80211/scan.c:105 ieee80211_rx_bss_info net/mac80211/ibss.c:1125 [inline] ieee80211_rx_mgmt_probe_beacon+0xb4f/0x15c0 net/mac80211/ibss.c:1607 ieee80211_ibss_rx_queued_mgmt+0xe27/0x18b0 net/mac80211/ibss.c:1634 ieee80211_iface_work+0x5c4/0x8a0 net/mac80211/iface.c:1341 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415