R13: 000000000000000b R14: 00007fbe2879bf80 R15: 00007ffcd8269448 general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 32269 Comm: syz-executor.0 Not tainted 6.6.0-rc1-syzkaller-00196-g57d88e8a5974 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:strchr+0x21/0x90 lib/string.c:329 Code: 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 55 41 57 41 56 53 41 89 f6 48 89 fb 49 bf 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 75 4f 0f b6 03 44 38 f0 74 3d 48 8d 6b 01 84 RSP: 0018:ffffc90003fe6b90 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc90004439000 RSI: 0000000000000025 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff8abe7929 R09: 0000000000000000 R10: ffffc90003fe6c80 R11: fffff520007fcd93 R12: dffffc0000000000 R13: 1ffff1100f7cb8d5 R14: 0000000000000025 R15: dffffc0000000000 FS: 00007fbe294656c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5cb9ec66e4 CR3: 000000007770f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kvasprintf_const+0x29/0x170 lib/kasprintf.c:45 kobject_set_name_vargs+0x61/0x120 lib/kobject.c:272 kobject_add_varg lib/kobject.c:366 [inline] kobject_add+0x113/0x210 lib/kobject.c:424 device_add+0x449/0xc90 drivers/base/core.c:3560 netdev_register_kobject+0x17a/0x310 net/core/net-sysfs.c:2044 register_netdevice+0xcd6/0x1510 net/core/dev.c:10136 macvlan_common_newlink+0x1251/0x1a40 drivers/net/macvlan.c:1545 macvtap_newlink+0x154/0x1d0 drivers/net/macvtap.c:108 rtnl_newlink_create net/core/rtnetlink.c:3485 [inline] __rtnl_newlink net/core/rtnetlink.c:3705 [inline] rtnl_newlink+0x1579/0x2070 net/core/rtnetlink.c:3718 rtnetlink_rcv_msg+0x82b/0xf50 net/core/rtnetlink.c:6444 netlink_rcv_skb+0x1df/0x430 net/netlink/af_netlink.c:2545 netlink_unicast_kernel net/netlink/af_netlink.c:1342 [inline] netlink_unicast+0x7dc/0x970 net/netlink/af_netlink.c:1368 netlink_sendmsg+0xa37/0xd70 net/netlink/af_netlink.c:1910 sock_sendmsg_nosec net/socket.c:730 [inline] sock_sendmsg net/socket.c:753 [inline] ____sys_sendmsg+0x592/0x890 net/socket.c:2541 ___sys_sendmsg net/socket.c:2595 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2624 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fbe2867cae9 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:00007fbe294650c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fbe2879bf80 RCX: 00007fbe2867cae9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 000000000000000c RBP: 00007fbe29465120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 000000000000000b R14: 00007fbe2879bf80 R15: 00007ffcd8269448 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:strchr+0x21/0x90 lib/string.c:329 Code: 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 55 41 57 41 56 53 41 89 f6 48 89 fb 49 bf 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 75 4f 0f b6 03 44 38 f0 74 3d 48 8d 6b 01 84 RSP: 0018:ffffc90003fe6b90 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc90004439000 RSI: 0000000000000025 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff8abe7929 R09: 0000000000000000 R10: ffffc90003fe6c80 R11: fffff520007fcd93 R12: dffffc0000000000 R13: 1ffff1100f7cb8d5 R14: 0000000000000025 R15: dffffc0000000000 FS: 00007fbe294656c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000040 CR3: 000000007770f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 00 00 add %al,(%rax) 2: 00 00 add %al,(%rax) 4: 0f 1f 40 00 nopl 0x0(%rax) 8: f3 0f 1e fa endbr64 c: 55 push %rbp d: 41 57 push %r15 f: 41 56 push %r14 11: 53 push %rbx 12: 41 89 f6 mov %esi,%r14d 15: 48 89 fb mov %rdi,%rbx 18: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 1f: fc ff df 22: 48 89 f8 mov %rdi,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 75 4f jne 0x81 32: 0f b6 03 movzbl (%rbx),%eax 35: 44 38 f0 cmp %r14b,%al 38: 74 3d je 0x77 3a: 48 8d 6b 01 lea 0x1(%rbx),%rbp 3e: 84 .byte 0x84