BUG: scheduling while atomic: kworker/u4:2/45/0x00000002 Modules linked in: Preemption disabled at: [] spin_lock include/linux/spinlock.h:363 [inline] [] kernfs_put+0x325/0x520 fs/kernfs/dir.c:544 CPU: 1 PID: 45 Comm: kworker/u4:2 Tainted: G W 5.15.148-syzkaller-00013-gad06eaf051cd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: netns cleanup_net Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106 dump_stack+0x15/0x17 lib/dump_stack.c:113 __schedule_bug+0x195/0x260 kernel/sched/core.c:5707 schedule_debug kernel/sched/core.c:5734 [inline] __schedule+0xd19/0x1590 kernel/sched/core.c:6402 schedule+0x11f/0x1e0 kernel/sched/core.c:6595 synchronize_rcu_expedited+0x49d/0x600 kernel/rcu/tree_exp.h:946 synchronize_net+0x2d/0x40 net/core/dev.c:11009 ipv6_mc_down+0x9b/0x360 net/ipv6/mcast.c:2725 ipv6_mc_destroy_dev+0x2b/0x620 net/ipv6/mcast.c:2792 addrconf_ifdown+0x1652/0x1ae0 net/ipv6/addrconf.c:3924 addrconf_notify+0x37d/0xdd0 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0x8c/0xf0 kernel/notifier.c:391 call_netdevice_notifiers_info net/core/dev.c:2025 [inline] call_netdevice_notifiers_extack net/core/dev.c:2037 [inline] call_netdevice_notifiers net/core/dev.c:2051 [inline] unregister_netdevice_many+0xe0a/0x17c0 net/core/dev.c:11105 vti6_exit_batch_net+0x260/0x2a0 net/ipv6/ip6_vti.c:1190 ops_exit_list net/core/net_namespace.c:174 [inline] cleanup_net+0x6ce/0xc00 net/core/net_namespace.c:596 process_one_work+0x6bb/0xc10 kernel/workqueue.c:2325 worker_thread+0xad5/0x12a0 kernel/workqueue.c:2472 kthread+0x421/0x510 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298