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: 24284 Comm: syz-executor.5 Not tainted 5.18.0-rc2-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+0xafc/0x13e0 net/smc/smc_pnet.c:558 Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 8c e8 11 f8 4c 8b 3b 49 8d 5f 50 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 66 e8 11 f8 48 8b 1b 48 85 db 74 07 RSP: 0018:ffffc90004e27440 EFLAGS: 00010206 RAX: 000000000000000a RBX: 0000000000000050 RCX: dffffc0000000000 RDX: ffff88801b869d00 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90004e27550 R08: ffffffff89c4da25 R09: fffff520009c4e45 R10: fffff520009c4e45 R11: 1ffff920009c4e44 R12: ffff88801b9ac000 R13: ffff88801b9ac010 R14: 1ffff11003735802 R15: 0000000000000000 FS: 00007f45eb880700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe0ed76cdd8 CR3: 000000004d13d000 CR4: 00000000003506f0 Call Trace: genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline] genl_family_rcv_msg net/netlink/genetlink.c:775 [inline] genl_rcv_msg+0xfbc/0x1490 net/netlink/genetlink.c:792 netlink_rcv_skb+0x1f0/0x460 net/netlink/af_netlink.c:2496 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x7e7/0x9c0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x9b3/0xcd0 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg net/socket.c:725 [inline] ____sys_sendmsg+0x597/0x8e0 net/socket.c:2413 ___sys_sendmsg net/socket.c:2467 [inline] __sys_sendmsg+0x27e/0x370 net/socket.c:2496 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f45ea689049 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:00007f45eb880168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f45ea79bf60 RCX: 00007f45ea689049 RDX: 0000000000000000 RSI: 0000000020000540 RDI: 0000000000000004 RBP: 00007f45ea6e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd2c57eedf R14: 00007f45eb880300 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+0xafc/0x13e0 net/smc/smc_pnet.c:558 Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 8c e8 11 f8 4c 8b 3b 49 8d 5f 50 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 66 e8 11 f8 48 8b 1b 48 85 db 74 07 RSP: 0018:ffffc90004e27440 EFLAGS: 00010206 RAX: 000000000000000a RBX: 0000000000000050 RCX: dffffc0000000000 RDX: ffff88801b869d00 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90004e27550 R08: ffffffff89c4da25 R09: fffff520009c4e45 R10: fffff520009c4e45 R11: 1ffff920009c4e44 R12: ffff88801b9ac000 R13: ffff88801b9ac010 R14: 1ffff11003735802 R15: 0000000000000000 FS: 00007f45eb880700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f14a0f691b8 CR3: 000000004d13d000 CR4: 00000000003506f0 ---------------- Code disassembly (best guess), 3 bytes skipped: 0: df 80 3c 08 00 74 filds 0x7400083c(%rax) 6: 08 48 89 or %cl,-0x77(%rax) 9: df e8 fucomip %st(0),%st b: 8c e8 mov %gs,%eax d: 11 f8 adc %edi,%eax f: 4c 8b 3b mov (%rbx),%r15 12: 49 8d 5f 50 lea 0x50(%r15),%rbx 16: 48 89 d8 mov %rbx,%rax 19: 48 c1 e8 03 shr $0x3,%rax 1d: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 24: fc ff df * 27: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2b: 74 08 je 0x35 2d: 48 89 df mov %rbx,%rdi 30: e8 66 e8 11 f8 callq 0xf811e89b 35: 48 8b 1b mov (%rbx),%rbx 38: 48 85 db test %rbx,%rbx 3b: 74 07 je 0x44