Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 13696 Comm: syz.2.2076 Not tainted 6.10.0-syzkaller-09703-gd7e78951a8b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:smc_diag_msg_common_fill net/smc/smc_diag.c:44 [inline] RIP: 0010:__smc_diag_dump net/smc/smc_diag.c:89 [inline] RIP: 0010:smc_diag_dump_proto+0x709/0x3270 net/smc/smc_diag.c:217 Code: 08 48 89 df e8 e8 92 c1 f6 48 8b 44 24 28 4c 8d 68 14 48 8b 1b 48 83 c3 0e 48 89 d8 48 c1 e8 03 49 bf 00 00 00 00 00 fc ff df <42> 0f b6 04 38 84 c0 0f 85 46 1b 00 00 0f b7 1b 66 c1 c3 08 4c 89 RSP: 0018:ffffc90008bd6b00 EFLAGS: 00010203 RAX: 0000000000000001 RBX: 000000000000000e RCX: ffff88802b479e00 RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000 RBP: ffffc90008bd6f90 R08: ffffffff896c4072 R09: 1ffff11005d38b0b R10: dffffc0000000000 R11: ffffed1005d38b0c R12: 1ffff11005d38ba0 R13: ffff888068e48014 R14: ffff88802e9c5800 R15: dffffc0000000000 FS: 00007ff8edf016c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d4907b0600 CR3: 000000002fac0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: smc_diag_dump+0x59/0xa0 net/smc/smc_diag.c:236 netlink_dump+0x647/0xd80 net/netlink/af_netlink.c:2325 __netlink_dump_start+0x59f/0x780 net/netlink/af_netlink.c:2440 netlink_dump_start include/linux/netlink.h:339 [inline] smc_diag_handler_dump+0x1ab/0x250 net/smc/smc_diag.c:251 sock_diag_rcv_msg+0x3dc/0x5f0 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 sock_sendmsg+0x134/0x200 net/socket.c:768 splice_to_socket+0xa13/0x10b0 fs/splice.c:889 do_splice_from fs/splice.c:941 [inline] do_splice+0xd77/0x1900 fs/splice.c:1354 __do_splice fs/splice.c:1436 [inline] __do_sys_splice fs/splice.c:1652 [inline] __se_sys_splice+0x331/0x4a0 fs/splice.c:1634 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff8ed175f19 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff8edf01048 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00007ff8ed306110 RCX: 00007ff8ed175f19 RDX: 0000000000000007 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007ff8ed1e4e68 R08: 0000000080000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff8ed306110 R15: 00007ffdaa769da8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:smc_diag_msg_common_fill net/smc/smc_diag.c:44 [inline] RIP: 0010:__smc_diag_dump net/smc/smc_diag.c:89 [inline] RIP: 0010:smc_diag_dump_proto+0x709/0x3270 net/smc/smc_diag.c:217 Code: 08 48 89 df e8 e8 92 c1 f6 48 8b 44 24 28 4c 8d 68 14 48 8b 1b 48 83 c3 0e 48 89 d8 48 c1 e8 03 49 bf 00 00 00 00 00 fc ff df <42> 0f b6 04 38 84 c0 0f 85 46 1b 00 00 0f b7 1b 66 c1 c3 08 4c 89 RSP: 0018:ffffc90008bd6b00 EFLAGS: 00010203 RAX: 0000000000000001 RBX: 000000000000000e RCX: ffff88802b479e00 RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000 RBP: ffffc90008bd6f90 R08: ffffffff896c4072 R09: 1ffff11005d38b0b R10: dffffc0000000000 R11: ffffed1005d38b0c R12: 1ffff11005d38ba0 R13: ffff888068e48014 R14: ffff88802e9c5800 R15: dffffc0000000000 FS: 00007ff8edf016c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d4907b0600 CR3: 000000002fac0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 08 48 89 or %cl,-0x77(%rax) 3: df e8 fucomip %st(0),%st 5: e8 92 c1 f6 48 call 0x48f6c19c a: 8b 44 24 28 mov 0x28(%rsp),%eax e: 4c 8d 68 14 lea 0x14(%rax),%r13 12: 48 8b 1b mov (%rbx),%rbx 15: 48 83 c3 0e add $0xe,%rbx 19: 48 89 d8 mov %rbx,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 27: fc ff df * 2a: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 46 1b 00 00 jne 0x1b7d 37: 0f b7 1b movzwl (%rbx),%ebx 3a: 66 c1 c3 08 rol $0x8,%bx 3e: 4c rex.WR 3f: 89 .byte 0x89