INFO: task syz-executor.2:20490 blocked for more than 140 seconds. Not tainted 4.19.82 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28504 20490 16886 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/0x4a0 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:0x45a219 Code: Bad RIP value. RSP: 002b:00007f0367e07c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a219 RDX: 0000000000000001 RSI: 0000000000000003 RDI: 000000000000001d RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0367e086d4 R13: 00000000004c957c R14: 00000000004e0f18 R15: 00000000ffffffff INFO: task syz-executor.2:20522 blocked for more than 140 seconds. Not tainted 4.19.82 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D29496 20522 16886 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/0x4a0 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:0x45a219 Code: Bad RIP value. RSP: 002b:00007f0367dc5c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a219 RDX: 0000000000000001 RSI: 0000000000000003 RDI: 000000000000001d RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0367dc66d4 R13: 00000000004c957c R14: 00000000004e0f18 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1037: #0: 00000000adb16b02 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4438 1 lock held by rsyslogd/7371: #0: 000000004ad25098 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:767 2 locks held by getty/7494: #0: 00000000d088aac6 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 000000003c7be93e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7495: #0: 000000006ce0e9c5 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000051a4b0c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7496: #0: 000000003de13dba (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000354a5fe6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7497: #0: 000000003a1a1376 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000d6451a6a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7498: #0: 000000008f7c4f0c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000fae7f33e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7499: #0: 00000000c6618f0d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 000000002ce363d0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 2 locks held by getty/7500: #0: 00000000aa4dec64 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:362 #1: 000000005f38b9cd (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154 4 locks held by kworker/u4:2/13929: #0: 000000003c881d07 ((wq_completion)"%s""netns"){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline] #0: 000000003c881d07 ((wq_completion)"%s""netns"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 000000003c881d07 ((wq_completion)"%s""netns"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 000000003c881d07 ((wq_completion)"%s""netns"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 000000003c881d07 ((wq_completion)"%s""netns"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 000000003c881d07 ((wq_completion)"%s""netns"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 000000003c881d07 ((wq_completion)"%s""netns"){+.+.}, at: process_one_work+0x87e/0x1750 kernel/workqueue.c:2124 #1: 000000005f1fd6c3 (net_cleanup_work){+.+.}, at: process_one_work+0x8b4/0x1750 kernel/workqueue.c:2128 #2: 00000000f79dcf4f (pernet_ops_rwsem){++++}, at: cleanup_net+0xae/0x960 net/core/net_namespace.c:519 #3: 00000000fc4297b1 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:77 1 lock held by syz-executor.2/20490: #0: 00000000f79dcf4f (pernet_ops_rwsem){++++}, at: register_netdevice_notifier+0x7e/0x630 net/core/dev.c:1642 1 lock held by syz-executor.2/20522: #0: 00000000f79dcf4f (pernet_ops_rwsem){++++}, at: register_netdevice_notifier+0x7e/0x630 net/core/dev.c:1642 ============================================= kobject: 'batman_adv' (00000000252231d7): kobject_uevent_env NMI backtrace for cpu 1 CPU: 1 PID: 1037 Comm: khungtaskd Not tainted 4.19.82 #0 kobject: 'batman_adv' (00000000252231d7): kobject_uevent_env: filter function caused the event to drop! Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: kobject: 'batman_adv' (00000000252231d7): kobject_cleanup, parent (null) __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x172/0x1f0 lib/dump_stack.c:113 kobject: 'batman_adv' (00000000252231d7): calling ktype release 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 kobject: (00000000252231d7): dynamic_kobj_release 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 kobject: 'batman_adv': free name kthread+0x354/0x420 kernel/kthread.c:246 kobject: 'rx-0' (00000000ea0f484b): kobject_cleanup, parent 0000000056d9ffd2 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: kobject: 'rx-0' (00000000ea0f484b): auto cleanup 'remove' event INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.166 msecs NMI backtrace for cpu 0 CPU: 0 PID: 13929 Comm: kworker/u4:2 Not tainted 4.19.82 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:mark_lock+0xbb/0x1370 kernel/locking/lockdep.c:3102 Code: 89 48 8d 7b 30 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 61 0e 00 00 4c 85 6b 30 0f 84 c1 00 00 00 <41> bd 01 00 00 00 48 83 c4 20 44 89 e8 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffff8880ae8079a8 EFLAGS: 00000002 RAX: dffffc0000000000 RBX: ffffffff89e99400 RCX: 1ffff11009454dfd RDX: 1ffffffff13d3286 RSI: ffff88804a2a6fc8 RDI: ffffffff89e99430 RBP: ffff8880ae8079f0 R08: 0000000000000001 R09: ffff88804a2a6fe8 R10: ffff88804a2a6fc8 R11: 0000000000000031 R12: ffff88804a2a6fc8 R13: 0000000000000010 R14: 0000000000000004 R15: ffff88804a2a6680 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f486ff64000 CR3: 00000000a1273000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_irqflags kernel/locking/lockdep.c:3005 [inline] __lock_acquire+0xc62/0x49c0 kernel/locking/lockdep.c:3368 lock_acquire+0x16f/0x3f0 kernel/locking/lockdep.c:3903 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2f/0x40 kernel/locking/spinlock.c:144 spin_lock include/linux/spinlock.h:329 [inline] __queue_work+0x23d/0x10a0 kernel/workqueue.c:1417 delayed_work_timer_fn+0x5d/0x90 kernel/workqueue.c:1500 call_timer_fn+0x18d/0x720 kernel/time/timer.c:1326 expire_timers kernel/time/timer.c:1359 [inline] __run_timers kernel/time/timer.c:1684 [inline] __run_timers kernel/time/timer.c:1652 [inline] run_timer_softirq+0x449/0x16a0 kernel/time/timer.c:1697 __do_softirq+0x25c/0x921 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x180/0x1d0 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x13b/0x550 arch/x86/kernel/apic/apic.c:1094 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:893 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1689 [inline] RIP: 0010:vprintk_emit+0x5b8/0x690 kernel/printk/printk.c:1926 Code: 48 b8 00 00 00 00 00 fc ff df 41 80 7c 05 00 00 0f 85 a2 00 00 00 48 83 3d 0c 2c 1d 07 00 74 29 e8 bd ab 15 00 48 89 df 57 9d <0f> 1f 44 00 00 e9 79 fe ff ff e8 a9 ab 15 00 0f 0b e8 a2 ab 15 00 RSP: 0018:ffff8882127c7558 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: ffff88804a2a6680 RBX: 0000000000000293 RCX: 1ffff11009454df3 RDX: 0000000000000000 RSI: ffffffff81551b83 RDI: 0000000000000293 RBP: ffff8882127c75a0 R08: ffff88804a2a6680 R09: ffff88804a2a6f98 R10: 0000000000000000 R11: 0000000000000000 R12: 000000000000003f R13: 1ffffffff10e48f1 R14: 0000000000000200 R15: ffff8880a82005c0 vprintk_default+0x28/0x30 kernel/printk/printk.c:1968 vprintk_func+0x7e/0x189 kernel/printk/printk_safe.c:398 printk+0xba/0xed kernel/printk/printk.c:2001 kobject_cleanup lib/kobject.c:647 [inline] kobject_release lib/kobject.c:691 [inline] kref_put include/linux/kref.h:70 [inline] kobject_put.cold+0x16a/0x2e6 lib/kobject.c:708 net_rx_queue_update_kobjects+0x361/0x480 net/core/net-sysfs.c:979 remove_queue_kobjects net/core/net-sysfs.c:1567 [inline] netdev_unregister_kobject+0x155/0x1f0 net/core/net-sysfs.c:1718 rollback_registered_many+0x6bb/0xda0 net/core/dev.c:8029 unregister_netdevice_many.part.0+0x1b/0x1f0 net/core/dev.c:9115 unregister_netdevice_many+0x3b/0x50 net/core/dev.c:9114 ieee80211_remove_interfaces+0x3d0/0x820 net/mac80211/iface.c:1970 ieee80211_unregister_hw+0x4c/0x280 net/mac80211/main.c:1234 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+0x3fb/0x960 net/core/net_namespace.c:552 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