BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 0 P4D 0 Oops: 0010 [#1] PREEMPT SMP KASAN CPU: 0 PID: 1180 Comm: syz-executor Not tainted 5.4.292-syzkaller-00021-gcd8e74fa0fa3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:0x0 Code: Bad RIP value. RSP: 0018:ffff8881f6e09cf0 EFLAGS: 00010206 RAX: ffffffff8150a590 RBX: 0000000000000100 RCX: ffff8881e04cde80 RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffff8881e893b1c0 RBP: ffff8881f6e09d30 R08: 0000000000000004 R09: 0000000000000003 R10: ffffed103edc1398 R11: 1ffff1103edc1398 R12: 00000000ffff9c08 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881e893b1c0 FS: 000055555f45c500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000001df370000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: call_timer_fn+0x3c/0x380 kernel/time/timer.c:1448 expire_timers kernel/time/timer.c:1493 [inline] __run_timers+0x81d/0xb60 kernel/time/timer.c:1817 run_timer_softirq+0x6a/0xf0 kernel/time/timer.c:1830 __do_softirq+0x236/0x660 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x197/0x1c0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:539 [inline] smp_apic_timer_interrupt+0x11d/0x490 arch/x86/kernel/apic/apic.c:1161 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834 RIP: 0010:update_stack_state+0x9b/0x4c0 arch/x86/kernel/unwind_frame.c:204 Code: 48 8b 07 48 85 c0 74 08 48 05 a8 00 00 00 eb 21 4c 8d 73 38 4c 89 f0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 f7 e8 65 d5 5f 00 <49> 8b 06 48 83 c0 10 48 89 45 88 44 89 f8 83 e0 01 48 f7 d8 4c 89 RSP: 0018:ffff8881e4fee558 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 1ffff1103c9fdce0 RBX: ffff8881e4fee6c8 RCX: 0000000000000000 RDX: ffff8881e04cde80 RSI: ffff8881e4feed28 RDI: ffff8881e4fee720 RBP: ffff8881e4fee628 R08: dffffc0000000000 R09: ffff8881e4fee6c8 R10: ffffed103c9fdce5 R11: 1ffff1103c9fdcd9 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8881e4fee700 R15: ffff8881e4feed28 unwind_next_frame+0x3f7/0x760 arch/x86/kernel/unwind_frame.c:311 arch_stack_walk+0x10c/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xaa/0xf0 kernel/stacktrace.c:123 save_stack mm/kasan/common.c:70 [inline] set_track mm/kasan/common.c:78 [inline] __kasan_kmalloc+0x162/0x200 mm/kasan/common.c:529 kasan_slab_alloc+0x12/0x20 mm/kasan/common.c:537 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc_node mm/slub.c:2829 [inline] slab_alloc mm/slub.c:2837 [inline] __kmalloc_track_caller+0x10d/0x2d0 mm/slub.c:4449 kmemdup+0x26/0x60 mm/util.c:127 neigh_sysctl_register+0xaf/0xa70 net/core/neighbour.c:3652 addrconf_sysctl_register+0xb3/0x1a0 net/ipv6/addrconf.c:7020 ipv6_add_dev+0xbea/0x10f0 net/ipv6/addrconf.c:444 addrconf_notify+0x5a8/0xeb0 net/ipv6/addrconf.c:3556 notifier_call_chain kernel/notifier.c:98 [inline] __raw_notifier_call_chain kernel/notifier.c:399 [inline] raw_notifier_call_chain+0xa0/0x120 kernel/notifier.c:406 call_netdevice_notifiers_info net/core/dev.c:1670 [inline] call_netdevice_notifiers_extack net/core/dev.c:1682 [inline] call_netdevice_notifiers net/core/dev.c:1696 [inline] register_netdevice+0xeb9/0x12a0 net/core/dev.c:9240 veth_newlink+0x84f/0xb70 drivers/net/veth.c:1329 __rtnl_newlink net/core/rtnetlink.c:3255 [inline] rtnl_newlink+0x104c/0x15f0 net/core/rtnetlink.c:3314 rtnetlink_rcv_msg+0xa23/0xbe0 net/core/rtnetlink.c:5290 netlink_rcv_skb+0x1e6/0x430 net/netlink/af_netlink.c:2467 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:5308 netlink_unicast_kernel net/netlink/af_netlink.c:1306 [inline] netlink_unicast+0x88b/0xa40 net/netlink/af_netlink.c:1332 netlink_sendmsg+0x88d/0xb30 net/netlink/af_netlink.c:1900 sock_sendmsg_nosec net/socket.c:638 [inline] __sock_sendmsg net/socket.c:650 [inline] __sys_sendto+0x414/0x570 net/socket.c:1961 __do_sys_sendto net/socket.c:1973 [inline] __se_sys_sendto net/socket.c:1969 [inline] __x64_sys_sendto+0xe5/0x100 net/socket.c:1969 do_syscall_64+0xcf/0x170 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7f720314f7a3 Code: 64 89 02 48 c7 c0 ff ff ff ff eb b7 66 2e 0f 1f 84 00 00 00 00 00 90 80 3d a1 3d 1f 00 00 41 89 ca 74 14 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 75 c3 0f 1f 40 00 55 48 83 ec 30 44 89 4c 24 RSP: 002b:00007fff863acfc8 EFLAGS: 00000202 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f7203ea3620 RCX: 00007f720314f7a3 RDX: 0000000000000068 RSI: 00007f7203ea3670 RDI: 0000000000000003 RBP: 0000000000000001 R08: 00007fff863acfe4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f7203ea3670 R15: 0000000000000000 Modules linked in: CR2: 0000000000000000 ---[ end trace 405e13872414517a ]--- RIP: 0010:0x0 Code: Bad RIP value. RSP: 0018:ffff8881f6e09cf0 EFLAGS: 00010206 RAX: ffffffff8150a590 RBX: 0000000000000100 RCX: ffff8881e04cde80 RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffff8881e893b1c0 RBP: ffff8881f6e09d30 R08: 0000000000000004 R09: 0000000000000003 R10: ffffed103edc1398 R11: 1ffff1103edc1398 R12: 00000000ffff9c08 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881e893b1c0 FS: 000055555f45c500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000001df370000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: 48 8b 07 mov (%rdi),%rax 3: 48 85 c0 test %rax,%rax 6: 74 08 je 0x10 8: 48 05 a8 00 00 00 add $0xa8,%rax e: eb 21 jmp 0x31 10: 4c 8d 73 38 lea 0x38(%rbx),%r14 14: 4c 89 f0 mov %r14,%rax 17: 48 c1 e8 03 shr $0x3,%rax 1b: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 20: 74 08 je 0x2a 22: 4c 89 f7 mov %r14,%rdi 25: e8 65 d5 5f 00 call 0x5fd58f * 2a: 49 8b 06 mov (%r14),%rax <-- trapping instruction 2d: 48 83 c0 10 add $0x10,%rax 31: 48 89 45 88 mov %rax,-0x78(%rbp) 35: 44 89 f8 mov %r15d,%eax 38: 83 e0 01 and $0x1,%eax 3b: 48 f7 d8 neg %rax 3e: 4c rex.WR 3f: 89 .byte 0x89