general protection fault, probably for non-canonical address 0xdffffc000000000a: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000050-0x0000000000000057] CPU: 0 PID: 11569 Comm: syz-executor.5 Not tainted 5.18.0-rc1-next-20220411-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:dev_name include/linux/device.h:636 [inline] RIP: 0010:smc_pnet_find_ib net/smc/smc_pnet.c:314 [inline] RIP: 0010:smc_pnet_add_ib net/smc/smc_pnet.c:416 [inline] RIP: 0010:smc_pnet_enter net/smc/smc_pnet.c:515 [inline] RIP: 0010:smc_pnet_add+0xc4b/0x17a0 net/smc/smc_pnet.c:558 Code: 8d be 48 07 00 00 48 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 40 09 00 00 4d 8b a6 48 07 00 00 49 8d 7c 24 50 48 89 f8 48 c1 e8 03 <80> 3c 28 00 0f 85 19 09 00 00 4d 8b 74 24 50 4d 85 f6 0f 85 21 ff RSP: 0018:ffffc9000ee87540 EFLAGS: 00010206 RAX: 000000000000000a RBX: ffff88807abd5000 RCX: ffffc90004181000 RDX: 0000000000040000 RSI: ffffffff88dd8170 RDI: 0000000000000050 RBP: dffffc0000000000 R08: 0000000000000000 R09: ffffffff8db78497 R10: ffffffff88dd8162 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8880232c5024 R14: ffff888076c38000 R15: ffff88807abd5010 FS: 00007f371243e700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d623000 CR3: 000000002305d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: genl_family_rcv_msg_doit+0x228/0x320 net/netlink/genetlink.c:731 genl_family_rcv_msg net/netlink/genetlink.c:775 [inline] genl_rcv_msg+0x328/0x580 net/netlink/genetlink.c:792 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2495 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x904/0xe00 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:725 ____sys_sendmsg+0x6e2/0x800 net/socket.c:2413 ___sys_sendmsg+0xf3/0x170 net/socket.c:2467 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2496 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:0x7f3711289049 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f371243e168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f371139bf60 RCX: 00007f3711289049 RDX: 0000000000000000 RSI: 0000000020000540 RDI: 0000000000000004 RBP: 00007f37112e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffee906412f R14: 00007f371243e300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dev_name include/linux/device.h:636 [inline] RIP: 0010:smc_pnet_find_ib net/smc/smc_pnet.c:314 [inline] RIP: 0010:smc_pnet_add_ib net/smc/smc_pnet.c:416 [inline] RIP: 0010:smc_pnet_enter net/smc/smc_pnet.c:515 [inline] RIP: 0010:smc_pnet_add+0xc4b/0x17a0 net/smc/smc_pnet.c:558 Code: 8d be 48 07 00 00 48 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 40 09 00 00 4d 8b a6 48 07 00 00 49 8d 7c 24 50 48 89 f8 48 c1 e8 03 <80> 3c 28 00 0f 85 19 09 00 00 4d 8b 74 24 50 4d 85 f6 0f 85 21 ff RSP: 0018:ffffc9000ee87540 EFLAGS: 00010206 RAX: 000000000000000a RBX: ffff88807abd5000 RCX: ffffc90004181000 RDX: 0000000000040000 RSI: ffffffff88dd8170 RDI: 0000000000000050 RBP: dffffc0000000000 R08: 0000000000000000 R09: ffffffff8db78497 R10: ffffffff88dd8162 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8880232c5024 R14: ffff888076c38000 R15: ffff88807abd5010 FS: 00007f371243e700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb26356c058 CR3: 000000002305d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 8d be 48 07 00 00 lea 0x748(%rsi),%edi 6: 48 89 f8 mov %rdi,%rax 9: 48 c1 e8 03 shr $0x3,%rax d: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) 11: 0f 85 40 09 00 00 jne 0x957 17: 4d 8b a6 48 07 00 00 mov 0x748(%r14),%r12 1e: 49 8d 7c 24 50 lea 0x50(%r12),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) <-- trapping instruction 2e: 0f 85 19 09 00 00 jne 0x94d 34: 4d 8b 74 24 50 mov 0x50(%r12),%r14 39: 4d 85 f6 test %r14,%r14 3c: 0f .byte 0xf 3d: 85 21 test %esp,(%rcx) 3f: ff .byte 0xff