general protection fault, probably for non-canonical address 0xdffffc00000000b3: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000598-0x000000000000059f] CPU: 0 PID: 12567 Comm: syz-executor.2 Not tainted 5.14.0-rc3-next-20210730-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:read_pnet include/net/net_namespace.h:329 [inline] RIP: 0010:dev_net include/linux/netdevice.h:2434 [inline] RIP: 0010:add_del_if+0x57/0x140 net/bridge/br_ioctl.c:85 Code: 03 80 3c 02 00 0f 85 fd 00 00 00 48 8b 9d 88 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bb 98 05 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ca 00 00 00 4c 8b ab 98 05 00 00 48 b8 00 00 00 RSP: 0018:ffffc9001739fa80 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000dcff000 RDX: 00000000000000b3 RSI: ffffffff87f79d86 RDI: 0000000000000598 RBP: ffff88803d160c00 R08: 00000000000089a2 R09: ffffffff87f7b506 R10: ffffffff87f7b601 R11: 00000000000089a3 R12: 0000000000000000 R13: ffffc9001739fd60 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f184cc95700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000007d627000 CR4: 00000000001506f0 Call Trace: br_ioctl_stub+0x1c6/0x7f0 net/bridge/br_ioctl.c:397 br_ioctl_call+0x5e/0xa0 net/socket.c:1092 dev_ifsioc+0xc1f/0xf60 net/core/dev_ioctl.c:382 dev_ioctl+0x1b9/0xee0 net/core/dev_ioctl.c:580 sock_do_ioctl+0x18b/0x210 net/socket.c:1129 sock_ioctl+0x2f1/0x640 net/socket.c:1232 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:866 [inline] __se_sys_ioctl fs/ioctl.c:852 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:852 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f184cc95188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 00000000200000c0 RSI: 00000000000089a3 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffe4b02d7df R14: 00007f184cc95300 R15: 0000000000022000 Modules linked in: ---[ end trace 3c42ec330edd836f ]--- RIP: 0010:read_pnet include/net/net_namespace.h:329 [inline] RIP: 0010:dev_net include/linux/netdevice.h:2434 [inline] RIP: 0010:add_del_if+0x57/0x140 net/bridge/br_ioctl.c:85 Code: 03 80 3c 02 00 0f 85 fd 00 00 00 48 8b 9d 88 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bb 98 05 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ca 00 00 00 4c 8b ab 98 05 00 00 48 b8 00 00 00 RSP: 0018:ffffc9001739fa80 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000dcff000 RDX: 00000000000000b3 RSI: ffffffff87f79d86 RDI: 0000000000000598 RBP: ffff88803d160c00 R08: 00000000000089a2 R09: ffffffff87f7b506 R10: ffffffff87f7b601 R11: 00000000000089a3 R12: 0000000000000000 R13: ffffc9001739fd60 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f184cc95700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f072a7a9000 CR3: 000000007d627000 CR4: 00000000001506f0