protocol 88fb is buggy, dev hsr_slave_1 protocol 88fb is buggy, dev hsr_slave_1 protocol 88fb is buggy, dev hsr_slave_0 protocol 88fb is buggy, dev hsr_slave_1 protocol 88fb is buggy, dev hsr_slave_0 INFO: task syz-executor.5:9492 blocked for more than 140 seconds. Not tainted 4.19.88-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D29496 9492 8112 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x866/0x1dc0 kernel/sched/core.c:3515 schedule+0x92/0x1c0 kernel/sched/core.c:3559 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x774/0xc30 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x53/0x90 kernel/locking/rwsem.c:72 register_netdevice_notifier+0x7e/0x630 net/core/dev.c:1642 raw_init+0x299/0x340 net/can/raw.c:343 can_create+0x288/0x4b0 net/can/af_can.c:184 __sock_create+0x3d8/0x730 net/socket.c:1276 sock_create net/socket.c:1316 [inline] __sys_socket+0x103/0x220 net/socket.c:1346 __do_sys_socket net/socket.c:1355 [inline] __se_sys_socket net/socket.c:1353 [inline] __x64_sys_socket+0x73/0xb0 net/socket.c:1353 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a6f9 Code: Bad RIP value. RSP: 002b:00007fe7d0c05c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a6f9 RDX: 0000000000000001 RSI: 0000000000000003 RDI: 000000000000001d RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe7d0c066d4 R13: 00000000004ca624 R14: 00000000004e37b8 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1065: kobject: 'wlan1828' (000000006323a1d2): kobject_cleanup, parent (null) #0: 00000000f5024aab (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4438 1 lock held by rsyslogd/7473: 2 locks held by getty/7596: #0: 000000008a61efc1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 kobject: 'wlan1828' (000000006323a1d2): calling ktype release #1: 00000000aa56e22b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7597: kobject: 'wlan1828': free name #0: 00000000f9177c9f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 kobject: 'rfkill1849' (00000000e20fd783): kobject_uevent_env #1: 00000000e72a8363 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 kobject: 'rfkill1849' (00000000e20fd783): fill_kobj_path: path = '/devices/virtual/mac80211_hwsim/hwsim1840/ieee80211/phy1840/rfkill1849' 2 locks held by getty/7598: #0: 000000002d93cbad (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 0000000041be9572 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7599: #0: 0000000085046385 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 0000000030e9e30a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7600: #0: 000000006379a0d5 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000e709067d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7601: #0: 00000000e596e52c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 0000000000f01b8a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7602: #0: 00000000e43cfafa (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000976aefa6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 4 locks held by kworker/u4:9/13142: #0: 000000006cd5a159 ((wq_completion)"%s""netns"){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline] #0: 000000006cd5a159 ((wq_completion)"%s""netns"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 000000006cd5a159 ((wq_completion)"%s""netns"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 000000006cd5a159 ((wq_completion)"%s""netns"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 000000006cd5a159 ((wq_completion)"%s""netns"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 000000006cd5a159 ((wq_completion)"%s""netns"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 000000006cd5a159 ((wq_completion)"%s""netns"){+.+.}, at: process_one_work+0x87e/0x1750 kernel/workqueue.c:2124 #1: 00000000cd2dd2ab (net_cleanup_work){+.+.}, at: process_one_work+0x8b4/0x1750 kernel/workqueue.c:2128 #2: 00000000708b4f4f (pernet_ops_rwsem){++++}, at: cleanup_net+0xae/0x960 net/core/net_namespace.c:520 #3: 00000000ea4d627f (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:77 1 lock held by syz-executor.5/9492: #0: 00000000708b4f4f (pernet_ops_rwsem){++++}, at: register_netdevice_notifier+0x7e/0x630 net/core/dev.c:1642 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1065 Comm: khungtaskd Not tainted 4.19.88-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x197/0x210 lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b0/0x1f8 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x9df/0xee0 kernel/hung_task.c:287 kthread+0x354/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 13142 Comm: kworker/u4:9 Not tainted 4.19.88-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:match_held_lock+0xa/0x500 kernel/locking/lockdep.c:3471 Code: ff ff e8 69 2e 51 00 e9 b3 fe ff ff 48 c7 c7 68 5c f2 88 e8 b8 2d 51 00 e9 1d ff ff ff 0f 1f 00 48 b8 00 00 00 00 00 fc ff df <55> 48 89 e5 41 57 41 56 41 55 41 54 53 48 89 fb 48 83 c7 10 48 89 RSP: 0018:ffff888211327540 EFLAGS: 00000002 RAX: dffffc0000000000 RBX: ffff8880954901c0 RCX: ffff888095490a40 RDX: 0000000000000000 RSI: ffffffff88f971a0 RDI: ffff888095490a90 RBP: ffff888211327588 R08: ffffffff81cfb6b0 R09: fffffbfff1210205 R10: ffff8882113277c8 R11: ffffffff89081027 R12: ffffffff88f971a0 R13: ffffed1012a92147 R14: 0000000000000002 R15: ffff888095490a90 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f32cbe0d000 CR3: 000000009240d000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held_type+0x110/0x210 kernel/locking/lockdep.c:3941 lock_is_held include/linux/lockdep.h:344 [inline] ___might_sleep+0x1f4/0x2b0 kernel/sched/core.c:6156 __might_sleep+0x95/0x190 kernel/sched/core.c:6144 __mutex_lock_common kernel/locking/mutex.c:908 [inline] __mutex_lock+0xc8/0x1300 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 kernfs_remove_by_name_ns+0x30/0xb0 fs/kernfs/dir.c:1507 kernfs_remove_by_name include/linux/kernfs.h:538 [inline] sysfs_unmerge_group+0xea/0x170 fs/sysfs/group.c:343 rpm_sysfs_remove drivers/base/power/sysfs.c:725 [inline] dpm_sysfs_remove+0x3a/0x60 drivers/base/power/sysfs.c:732 device_del+0x132/0xb70 drivers/base/core.c:2134 wiphy_unregister+0x2f7/0xfd0 net/wireless/core.c:964 ieee80211_unregister_hw+0x1f2/0x280 net/mac80211/main.c:1256 mac80211_hwsim_del_radio+0x280/0x3b0 drivers/net/wireless/mac80211_hwsim.c:2995 hwsim_exit_net+0x553/0xc50 drivers/net/wireless/mac80211_hwsim.c:3666 ops_exit_list.isra.0+0xaa/0x150 net/core/net_namespace.c:153 cleanup_net+0x404/0x960 net/core/net_namespace.c:553 process_one_work+0x989/0x1750 kernel/workqueue.c:2153 worker_thread+0x98/0xe40 kernel/workqueue.c:2296 kthread+0x354/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415