netlink: 240 bytes leftover after parsing attributes in process `syz-executor.0'. general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 5626 Comm: syz-executor.0 Not tainted 6.3.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:jhash+0x2d9/0x670 include/linux/jhash.h:95 Code: 41 5c 41 5d c3 83 fd 01 0f 84 7a ff ff ff eb ea 83 fd 05 74 35 48 8d 7b 05 48 b9 00 00 00 00 00 fc ff df 48 89 fe 48 c1 ee 03 <0f> b6 0c 0e 48 89 fe 83 e6 07 40 38 f1 7f 08 84 c9 0f 85 2e 03 00 RSP: 0018:ffffc90004dc72d0 EFLAGS: 00010202 RAX: 0000000032de2eca RBX: 0000000000000004 RCX: dffffc0000000000 RDX: 0000000032de2eca RSI: 0000000000000001 RDI: 0000000000000009 RBP: 0000000000000006 R08: 0000000000000001 R09: ffffffff905a8b87 R10: fffffbfff20b5170 R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000032de2eca R14: ffffc90004dc7818 R15: ffffc90004dc7710 FS: 00007f65773a4700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000640 CR3: 0000000027902000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rht_key_hashfn include/linux/rhashtable.h:159 [inline] __rhashtable_lookup include/linux/rhashtable.h:604 [inline] rhashtable_lookup include/linux/rhashtable.h:646 [inline] rhashtable_lookup_fast include/linux/rhashtable.h:672 [inline] get_hwsim_data_ref_from_addr+0x90/0x400 drivers/net/wireless/virtual/mac80211_hwsim.c:757 hwsim_pmsr_report_nl+0xe1/0xca0 drivers/net/wireless/virtual/mac80211_hwsim.c:3764 genl_family_rcv_msg_doit.isra.0+0x1b8/0x290 net/netlink/genetlink.c:968 genl_family_rcv_msg net/netlink/genetlink.c:1048 [inline] genl_rcv_msg+0x3c9/0x6c0 net/netlink/genetlink.c:1065 netlink_rcv_skb+0x12a/0x390 net/netlink/af_netlink.c:2572 genl_rcv+0x23/0x30 net/netlink/genetlink.c:1076 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0x437/0x710 net/netlink/af_netlink.c:1365 netlink_sendmsg+0x790/0xc50 net/netlink/af_netlink.c:1942 sock_sendmsg_nosec net/socket.c:724 [inline] sock_sendmsg+0xc0/0x150 net/socket.c:747 ____sys_sendmsg+0x5ff/0x8f0 net/socket.c:2501 ___sys_sendmsg+0xdb/0x160 net/socket.c:2555 __sys_sendmsg+0xc7/0x160 net/socket.c:2584 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f657668c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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:00007f65773a4168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f65767abf80 RCX: 00007f657668c0f9 RDX: 0000000000000000 RSI: 0000000020001ac0 RDI: 0000000000000004 RBP: 00007f65766e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe7f2e1eef R14: 00007f65773a4300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:jhash+0x2d9/0x670 include/linux/jhash.h:95 Code: 41 5c 41 5d c3 83 fd 01 0f 84 7a ff ff ff eb ea 83 fd 05 74 35 48 8d 7b 05 48 b9 00 00 00 00 00 fc ff df 48 89 fe 48 c1 ee 03 <0f> b6 0c 0e 48 89 fe 83 e6 07 40 38 f1 7f 08 84 c9 0f 85 2e 03 00 RSP: 0018:ffffc90004dc72d0 EFLAGS: 00010202 RAX: 0000000032de2eca RBX: 0000000000000004 RCX: dffffc0000000000 RDX: 0000000032de2eca RSI: 0000000000000001 RDI: 0000000000000009 RBP: 0000000000000006 R08: 0000000000000001 R09: ffffffff905a8b87 R10: fffffbfff20b5170 R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000032de2eca R14: ffffc90004dc7818 R15: ffffc90004dc7710 FS: 00007f65773a4700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000561a20188950 CR3: 0000000027902000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 41 5c pop %r12 2: 41 5d pop %r13 4: c3 retq 5: 83 fd 01 cmp $0x1,%ebp 8: 0f 84 7a ff ff ff je 0xffffff88 e: eb ea jmp 0xfffffffa 10: 83 fd 05 cmp $0x5,%ebp 13: 74 35 je 0x4a 15: 48 8d 7b 05 lea 0x5(%rbx),%rdi 19: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 20: fc ff df 23: 48 89 fe mov %rdi,%rsi 26: 48 c1 ee 03 shr $0x3,%rsi * 2a: 0f b6 0c 0e movzbl (%rsi,%rcx,1),%ecx <-- trapping instruction 2e: 48 89 fe mov %rdi,%rsi 31: 83 e6 07 and $0x7,%esi 34: 40 38 f1 cmp %sil,%cl 37: 7f 08 jg 0x41 39: 84 c9 test %cl,%cl 3b: 0f .byte 0xf 3c: 85 2e test %ebp,(%rsi) 3e: 03 00 add (%rax),%eax