RDX: 0000000000000000 RSI: 0000000020001ac0 RDI: 0000000000000004 RBP: 00007fb8cf548120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007fb8ce99bf80 R15: 00007ffc18fc4998 BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 112c43067 P4D 112c43067 PUD 121b30067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 1 PID: 5650 Comm: syz-executor.0 Not tainted 6.5.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:strchr+0x4/0x30 lib/string.c:329 Code: c0 eb 0d 84 c9 74 18 48 83 c0 01 48 39 d0 74 0f 0f b6 0c 07 3a 0c 06 74 ea 19 c0 83 c8 01 c3 31 c0 c3 0f 1f 40 00 f3 0f 1e fa <0f> b6 07 89 f2 40 38 f0 75 0e eb 13 0f b6 47 01 48 83 c7 01 38 d0 RSP: 0018:ffffc900042f77c0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888121acb880 RSI: 0000000000000025 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000004 R12: ffffc900042f7810 R13: 0000000000000cc0 R14: 0000000000000000 R15: ffff888121ad06c0 FS: 00007fb8cf5486c0(0000) GS:ffff88813bd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000112e2e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kvasprintf_const+0x25/0x110 lib/kasprintf.c:45 kobject_set_name_vargs+0x40/0xd0 lib/kobject.c:272 kobject_add_varg lib/kobject.c:366 [inline] kobject_add+0xaf/0x140 lib/kobject.c:424 device_add+0x153/0xd40 drivers/base/core.c:3562 wpan_phy_register+0x33/0xe0 net/ieee802154/core.c:146 ieee802154_register_hw+0x255/0x320 net/mac802154/main.c:239 hwsim_add_one+0x19a/0x620 drivers/net/ieee802154/mac802154_hwsim.c:965 genl_family_rcv_msg_doit.isra.0+0x108/0x170 net/netlink/genetlink.c:970 genl_family_rcv_msg net/netlink/genetlink.c:1050 [inline] genl_rcv_msg+0x2fa/0x440 net/netlink/genetlink.c:1067 netlink_rcv_skb+0x91/0x1d0 net/netlink/af_netlink.c:2549 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1078 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0x2f5/0x450 net/netlink/af_netlink.c:1365 netlink_sendmsg+0x3a7/0x730 net/netlink/af_netlink.c:1914 sock_sendmsg_nosec net/socket.c:725 [inline] sock_sendmsg+0x56/0xb0 net/socket.c:748 ____sys_sendmsg+0x337/0x3e0 net/socket.c:2494 ___sys_sendmsg+0xc9/0x130 net/socket.c:2548 __sys_sendmsg+0xa6/0x120 net/socket.c:2577 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb8ce87cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb8cf5480c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fb8ce99bf80 RCX: 00007fb8ce87cae9 RDX: 0000000000000000 RSI: 0000000020001ac0 RDI: 0000000000000004 RBP: 00007fb8cf548120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007fb8ce99bf80 R15: 00007ffc18fc4998 Modules linked in: CR2: 0000000000000000 ---[ end trace 0000000000000000 ]--- RIP: 0010:strchr+0x4/0x30 lib/string.c:329 Code: c0 eb 0d 84 c9 74 18 48 83 c0 01 48 39 d0 74 0f 0f b6 0c 07 3a 0c 06 74 ea 19 c0 83 c8 01 c3 31 c0 c3 0f 1f 40 00 f3 0f 1e fa <0f> b6 07 89 f2 40 38 f0 75 0e eb 13 0f b6 47 01 48 83 c7 01 38 d0 RSP: 0018:ffffc900042f77c0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888121acb880 RSI: 0000000000000025 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000004 R12: ffffc900042f7810 R13: 0000000000000cc0 R14: 0000000000000000 R15: ffff888121ad06c0 FS: 00007fb8cf5486c0(0000) GS:ffff88813bd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000112e2e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c0 eb 0d shr $0xd,%bl 3: 84 c9 test %cl,%cl 5: 74 18 je 0x1f 7: 48 83 c0 01 add $0x1,%rax b: 48 39 d0 cmp %rdx,%rax e: 74 0f je 0x1f 10: 0f b6 0c 07 movzbl (%rdi,%rax,1),%ecx 14: 3a 0c 06 cmp (%rsi,%rax,1),%cl 17: 74 ea je 0x3 19: 19 c0 sbb %eax,%eax 1b: 83 c8 01 or $0x1,%eax 1e: c3 ret 1f: 31 c0 xor %eax,%eax 21: c3 ret 22: 0f 1f 40 00 nopl 0x0(%rax) 26: f3 0f 1e fa endbr64 * 2a: 0f b6 07 movzbl (%rdi),%eax <-- trapping instruction 2d: 89 f2 mov %esi,%edx 2f: 40 38 f0 cmp %sil,%al 32: 75 0e jne 0x42 34: eb 13 jmp 0x49 36: 0f b6 47 01 movzbl 0x1(%rdi),%eax 3a: 48 83 c7 01 add $0x1,%rdi 3e: 38 d0 cmp %dl,%al