8021q: adding VLAN 0 to HW filter on device bond0 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000021: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000108-0x000000000000010f] CPU: 0 UID: 0 PID: 15032 Comm: syz-executor Not tainted 6.15.0-rc7-syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:read_pnet include/net/net_namespace.h:409 [inline] RIP: 0010:dev_net include/linux/netdevice.h:2708 [inline] RIP: 0010:__inet_insert_ifa+0xe6/0xcd0 net/ipv4/devinet.c:496 Code: 85 70 0b 00 00 48 8b 44 24 30 48 8b 18 e8 12 65 81 01 48 b8 00 00 00 00 00 fc ff df 48 8d bb 08 01 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 8a 0b 00 00 48 8b 83 08 01 00 00 48 c7 84 24 90 RSP: 0018:ffffc90005e5f660 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90005e5fa40 RDX: 0000000000000021 RSI: ffffffff89ebc136 RDI: 0000000000000108 RBP: ffff888052b6ab00 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: ffff888025a47400 R14: ffff888042882140 R15: 0000000000000000 FS: 00005555754d8500(0000) GS:ffff8880d69da000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3b0a50 CR3: 000000004643f000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 3a810b1eb6134bdc DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: inet_rtm_newaddr+0xd87/0x1540 net/ipv4/devinet.c:1002 rtnetlink_rcv_msg+0x95b/0xe90 net/core/rtnetlink.c:6955 netlink_rcv_skb+0x16a/0x440 net/netlink/af_netlink.c:2534 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline] netlink_unicast+0x53d/0x7f0 net/netlink/af_netlink.c:1339 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1883 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg net/socket.c:727 [inline] __sys_sendto+0x498/0x510 net/socket.c:2180 __do_sys_sendto net/socket.c:2187 [inline] __se_sys_sendto net/socket.c:2183 [inline] __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2183 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f31f43907fc Code: 2a 5f 02 00 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 70 5f 02 00 48 8b RSP: 002b:00007fff138e5600 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f31f50e4620 RCX: 00007f31f43907fc RDX: 0000000000000028 RSI: 00007f31f50e4670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007fff138e5654 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f31f50e4670 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:read_pnet include/net/net_namespace.h:409 [inline] RIP: 0010:dev_net include/linux/netdevice.h:2708 [inline] RIP: 0010:__inet_insert_ifa+0xe6/0xcd0 net/ipv4/devinet.c:496 Code: 85 70 0b 00 00 48 8b 44 24 30 48 8b 18 e8 12 65 81 01 48 b8 00 00 00 00 00 fc ff df 48 8d bb 08 01 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 8a 0b 00 00 48 8b 83 08 01 00 00 48 c7 84 24 90 RSP: 0018:ffffc90005e5f660 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90005e5fa40 RDX: 0000000000000021 RSI: ffffffff89ebc136 RDI: 0000000000000108 RBP: ffff888052b6ab00 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: ffff888025a47400 R14: ffff888042882140 R15: 0000000000000000 FS: 00005555754d8500(0000) GS:ffff8880d6bda000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc7ea362f98 CR3: 000000004643f000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 85 70 0b test %esi,0xb(%rax) 3: 00 00 add %al,(%rax) 5: 48 8b 44 24 30 mov 0x30(%rsp),%rax a: 48 8b 18 mov (%rax),%rbx d: e8 12 65 81 01 call 0x1816524 12: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 19: fc ff df 1c: 48 8d bb 08 01 00 00 lea 0x108(%rbx),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 8a 0b 00 00 jne 0xbbe 34: 48 8b 83 08 01 00 00 mov 0x108(%rbx),%rax 3b: 48 rex.W 3c: c7 .byte 0xc7 3d: 84 24 90 test %ah,(%rax,%rdx,4)