Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 UID: 0 PID: 20738 Comm: syz-executor Not tainted 6.13.0-rc4-syzkaller-00110-g4099a71718b0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:sctp_inet6addr_event+0x175/0x900 net/sctp/ipv6.c:100 Code: 00 00 00 00 fc ff df 48 89 04 24 48 c1 e8 03 4c 01 e8 48 89 44 24 18 eb 31 e8 d7 15 31 f7 4c 89 e0 48 c1 e8 03 4c 89 64 24 38 <42> 80 3c 28 00 0f 85 88 05 00 00 4c 39 64 24 40 4c 89 e3 49 8b 04 RSP: 0018:ffffc9000dddf310 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888026c3f080 RCX: ffffffff8a683a48 RDX: ffff88807edc9e00 RSI: ffffffff8a6839e9 RDI: 0000000000000003 RBP: ffffc9000dddf380 R08: 0000000000000003 R09: 000000000000000a R10: 0000000000000000 R11: 000000000000003c R12: 0000000000000000 R13: dffffc0000000000 R14: ffff88803389f000 R15: 0000000000000000 FS: 00005555664b6500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f427261cb47 CR3: 00000000672ac000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: notifier_call_chain+0xb7/0x410 kernel/notifier.c:85 atomic_notifier_call_chain+0x71/0x1c0 kernel/notifier.c:223 addrconf_ifdown.isra.0+0xf06/0x1a20 net/ipv6/addrconf.c:4002 addrconf_notify+0x220/0x19c0 net/ipv6/addrconf.c:3800 notifier_call_chain+0xb7/0x410 kernel/notifier.c:85 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:1996 call_netdevice_notifiers_extack net/core/dev.c:2034 [inline] call_netdevice_notifiers net/core/dev.c:2048 [inline] dev_close_many+0x333/0x6a0 net/core/dev.c:1589 unregister_netdevice_many_notify+0x489/0x1e60 net/core/dev.c:11500 unregister_netdevice_many net/core/dev.c:11590 [inline] unregister_netdevice_queue+0x307/0x3f0 net/core/dev.c:11462 unregister_netdevice include/linux/netdevice.h:3192 [inline] nsim_destroy+0x107/0x6b0 drivers/net/netdevsim/netdev.c:821 __nsim_dev_port_del+0x189/0x240 drivers/net/netdevsim/dev.c:1428 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1440 [inline] nsim_dev_reload_destroy+0x108/0x4d0 drivers/net/netdevsim/dev.c:1661 nsim_drv_remove+0x52/0x1d0 drivers/net/netdevsim/dev.c:1676 device_remove+0xc8/0x170 drivers/base/dd.c:567 __device_release_driver drivers/base/dd.c:1273 [inline] device_release_driver_internal+0x44a/0x610 drivers/base/dd.c:1296 bus_remove_device+0x22f/0x420 drivers/base/bus.c:576 device_del+0x396/0x9f0 drivers/base/core.c:3854 device_unregister+0x1d/0xc0 drivers/base/core.c:3895 nsim_bus_dev_del drivers/net/netdevsim/bus.c:462 [inline] del_device_store+0x346/0x4b0 drivers/net/netdevsim/bus.c:226 bus_attr_store+0x71/0xb0 drivers/base/bus.c:172 sysfs_kf_write+0x117/0x170 fs/sysfs/file.c:139 kernfs_fop_write_iter+0x33d/0x500 fs/kernfs/file.c:334 new_sync_write fs/read_write.c:586 [inline] vfs_write+0x5ae/0x1150 fs/read_write.c:679 ksys_write+0x12b/0x250 fs/read_write.c:731 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7eff567847df Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007ffdd9a58e20 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007eff567847df RDX: 0000000000000001 RSI: 00007ffdd9a58e70 RDI: 0000000000000005 RBP: 00007eff56802d15 R08: 0000000000000000 R09: 00007ffdd9a58c77 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 R13: 00007ffdd9a58e70 R14: 00007eff574a4620 R15: 0000000000000003 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:sctp_inet6addr_event+0x175/0x900 net/sctp/ipv6.c:100 Code: 00 00 00 00 fc ff df 48 89 04 24 48 c1 e8 03 4c 01 e8 48 89 44 24 18 eb 31 e8 d7 15 31 f7 4c 89 e0 48 c1 e8 03 4c 89 64 24 38 <42> 80 3c 28 00 0f 85 88 05 00 00 4c 39 64 24 40 4c 89 e3 49 8b 04 RSP: 0018:ffffc9000dddf310 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888026c3f080 RCX: ffffffff8a683a48 RDX: ffff88807edc9e00 RSI: ffffffff8a6839e9 RDI: 0000000000000003 RBP: ffffc9000dddf380 R08: 0000000000000003 R09: 000000000000000a R10: 0000000000000000 R11: 000000000000003c R12: 0000000000000000 R13: dffffc0000000000 R14: ffff88803389f000 R15: 0000000000000000 FS: 00005555664b6500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f427261cb47 CR3: 00000000672ac000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 6 bytes skipped: 0: df 48 89 fisttps -0x77(%rax) 3: 04 24 add $0x24,%al 5: 48 c1 e8 03 shr $0x3,%rax 9: 4c 01 e8 add %r13,%rax c: 48 89 44 24 18 mov %rax,0x18(%rsp) 11: eb 31 jmp 0x44 13: e8 d7 15 31 f7 call 0xf73115ef 18: 4c 89 e0 mov %r12,%rax 1b: 48 c1 e8 03 shr $0x3,%rax 1f: 4c 89 64 24 38 mov %r12,0x38(%rsp) * 24: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 29: 0f 85 88 05 00 00 jne 0x5b7 2f: 4c 39 64 24 40 cmp %r12,0x40(%rsp) 34: 4c 89 e3 mov %r12,%rbx 37: 49 rex.WB 38: 8b .byte 0x8b 39: 04 .byte 0x4