BUG: scheduling while atomic: kworker/u4:22/26232/0x00000002 Modules linked in: Preemption disabled at: [] spin_lock include/linux/spinlock.h:350 [inline] [] start_unregistering fs/proc/proc_sysctl.c:317 [inline] [] drop_sysctl_table+0x179/0x450 fs/proc/proc_sysctl.c:1725 CPU: 0 PID: 26232 Comm: kworker/u4:22 Not tainted 6.1.75-syzkaller-00069-gfa87a072a7fc #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/0x1b lib/dump_stack.c:113 __schedule_bug+0x195/0x260 kernel/sched/core.c:5960 schedule_debug kernel/sched/core.c:5987 [inline] __schedule+0xcf7/0x1550 kernel/sched/core.c:6622 schedule+0xc3/0x180 kernel/sched/core.c:6805 synchronize_rcu_expedited+0x6fc/0x890 kernel/rcu/tree_exp.h:965 synchronize_net+0x28/0x40 net/core/dev.c:10787 ipv6_mc_down+0x9b/0x360 net/ipv6/mcast.c:2725 ipv6_mc_destroy_dev+0x2b/0x630 net/ipv6/mcast.c:2792 addrconf_ifdown+0x162c/0x1ab0 net/ipv6/addrconf.c:3930 addrconf_notify+0x32f/0xe10 notifier_call_chain kernel/notifier.c:87 [inline] raw_notifier_call_chain+0x8c/0xf0 kernel/notifier.c:455 call_netdevice_notifiers_info net/core/dev.c:1977 [inline] call_netdevice_notifiers_extack net/core/dev.c:2015 [inline] call_netdevice_notifiers net/core/dev.c:2029 [inline] unregister_netdevice_many+0xe2a/0x1740 net/core/dev.c:10885 xfrmi_exit_batch_net+0x262/0x2b0 net/xfrm/xfrm_interface_core.c:973 ops_exit_list net/core/net_namespace.c:174 [inline] cleanup_net+0x6c9/0xbf0 net/core/net_namespace.c:601 process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299 worker_thread+0xa60/0x1260 kernel/workqueue.c:2446 kthread+0x26d/0x300 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 device bridge_slave_1 left promiscuous mode bridge0: port 2(bridge_slave_1) entered disabled state device bridge_slave_0 left promiscuous mode bridge0: port 1(bridge_slave_0) entered disabled state device veth1_macvtap left promiscuous mode