cgroup: fork rejected by pids controller in /syz2 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3743 at net/core/dev.c:10876 unregister_netdevice_many_notify+0xb34/0xbb0 net/core/dev.c:10876 Modules linked in: CPU: 1 PID: 3743 Comm: syz-executor.2 Not tainted 6.5.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:unregister_netdevice_many_notify+0xb34/0xbb0 net/core/dev.c:10876 Code: b0 16 00 00 48 c7 c6 19 f4 f9 83 48 c7 c7 48 09 fe 83 c6 05 08 70 c4 01 01 e8 98 ab 5e fe 0f 0b e9 40 f7 ff ff e8 3c 1f 75 fe <0f> 0b e9 9e fa ff ff e8 30 1f 75 fe 0f b6 1d dc 6f c4 01 31 ff 89 RSP: 0018:ffffc90001237cd8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000020189c01 RCX: 0000000000000000 RDX: ffff88810d6f9b80 RSI: ffffffff82bd23d4 RDI: 0000000000000001 RBP: ffff88811c2ac000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88811472a0c0 R13: ffffc90001237d58 R14: dead000000000122 R15: ffff888237d307c0 FS: 0000000000000000(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fed18bc6108 CR3: 0000000114434000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unregister_netdevice_many net/core/dev.c:10906 [inline] unregister_netdevice_queue+0x13c/0x190 net/core/dev.c:10786 unregister_netdevice include/linux/netdevice.h:3112 [inline] __tun_detach+0x782/0x810 drivers/net/tun.c:684 tun_detach drivers/net/tun.c:700 [inline] tun_chr_close+0x45/0x110 drivers/net/tun.c:3491 __fput+0x1cb/0x4b0 fs/file_table.c:384 task_work_run+0x8f/0xe0 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x514/0x11c0 kernel/exit.c:874 do_group_exit+0x55/0xf0 kernel/exit.c:1024 __do_sys_exit_group kernel/exit.c:1035 [inline] __se_sys_exit_group kernel/exit.c:1033 [inline] __x64_sys_exit_group+0x1c/0x20 kernel/exit.c:1033 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f1b2fec9ae9 Code: Unable to access opcode bytes at 0x7f1b2fec9abf. RSP: 002b:00007ffdb00f3d58 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1b2fec9ae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000043 RBP: 00007f1b2ff154e0 R08: 00007ffdb00f1af6 R09: 0000000000000000 R10: 000000000000000a R11: 0000000000000246 R12: 000000000000000b R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000