BUG: kernel NULL pointer dereference, address: 0000000000000c8d #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 800000016959d067 P4D 800000016959d067 PUD 0 Oops: Oops: 0000 [#1] SMP PTI CPU: 1 UID: 0 PID: 5590 Comm: syz.2.16 Not tainted 6.14.0-syzkaller #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:netdev_need_ops_lock include/net/netdev_lock.h:30 [inline] RIP: 0010:netdev_lock_ops include/net/netdev_lock.h:41 [inline] RIP: 0010:addrconf_add_ifaddr+0xf6/0x240 net/ipv6/addrconf.c:3157 Code: bb ff ff ff ff e9 37 01 00 00 4c 89 34 24 8b 44 24 40 89 44 24 08 e8 89 08 b4 ff 8b 74 24 44 4c 89 ff e8 8d a1 b0 ff 49 89 c6 <0f> b6 98 8d 0c 00 00 31 ff 89 de e8 6a ac c0 fd 85 db 74 0c e8 61 RSP: 0018:ffffc90002183ce0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888109305340 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881791cd7c0 RBP: 0000000000008916 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff86a8c020 R13: ffffffff86a8c020 R14: 0000000000000000 R15: ffff8881791cd7c0 FS: 00007fbe0bbff6c0(0000) GS:ffff8882b1288000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000c8d CR3: 0000000165ada000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inet6_ioctl+0xab/0x1c0 net/ipv6/af_inet6.c:580 sock_do_ioctl+0x7a/0x220 net/socket.c:1190 sock_ioctl+0x45e/0x5e0 net/socket.c:1311 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xb9/0x130 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x8d/0x1a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbe0c18d169 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:00007fbe0bbff038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fbe0c3a5fa0 RCX: 00007fbe0c18d169 RDX: 00002000000000c0 RSI: 0000000000008916 RDI: 0000000000000003 RBP: 00007fbe0c20e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fbe0c3a5fa0 R15: 00007ffefa86b8f8 Modules linked in: CR2: 0000000000000c8d ---[ end trace 0000000000000000 ]--- RIP: 0010:netdev_need_ops_lock include/net/netdev_lock.h:30 [inline] RIP: 0010:netdev_lock_ops include/net/netdev_lock.h:41 [inline] RIP: 0010:addrconf_add_ifaddr+0xf6/0x240 net/ipv6/addrconf.c:3157 Code: bb ff ff ff ff e9 37 01 00 00 4c 89 34 24 8b 44 24 40 89 44 24 08 e8 89 08 b4 ff 8b 74 24 44 4c 89 ff e8 8d a1 b0 ff 49 89 c6 <0f> b6 98 8d 0c 00 00 31 ff 89 de e8 6a ac c0 fd 85 db 74 0c e8 61 RSP: 0018:ffffc90002183ce0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888109305340 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881791cd7c0 RBP: 0000000000008916 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff86a8c020 R13: ffffffff86a8c020 R14: 0000000000000000 R15: ffff8881791cd7c0 FS: 00007fbe0bbff6c0(0000) GS:ffff8882b1288000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000c8d CR3: 0000000165ada000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: bb ff ff ff ff mov $0xffffffff,%ebx 5: e9 37 01 00 00 jmp 0x141 a: 4c 89 34 24 mov %r14,(%rsp) e: 8b 44 24 40 mov 0x40(%rsp),%eax 12: 89 44 24 08 mov %eax,0x8(%rsp) 16: e8 89 08 b4 ff call 0xffb408a4 1b: 8b 74 24 44 mov 0x44(%rsp),%esi 1f: 4c 89 ff mov %r15,%rdi 22: e8 8d a1 b0 ff call 0xffb0a1b4 27: 49 89 c6 mov %rax,%r14 * 2a: 0f b6 98 8d 0c 00 00 movzbl 0xc8d(%rax),%ebx <-- trapping instruction 31: 31 ff xor %edi,%edi 33: 89 de mov %ebx,%esi 35: e8 6a ac c0 fd call 0xfdc0aca4 3a: 85 db test %ebx,%ebx 3c: 74 0c je 0x4a 3e: e8 .byte 0xe8 3f: 61 (bad)