netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 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: 1109 Comm: kworker/u8:6 Not tainted 6.13.0-rc3-syzkaller-00136-g8faabc041a00 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 Workqueue: netns cleanup_net 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 17 37 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:ffffc9000444f330 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88801ebeaf80 RCX: ffffffff8a681838 RDX: ffff888027389e00 RSI: ffffffff8a6817d9 RDI: 0000000000000003 RBP: ffffc9000444f3a0 R08: 0000000000000003 R09: 000000000000000a R10: 0000000000000000 R11: 0000000000000007 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888030b2d400 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f79b82a7d60 CR3: 00000000337ea000 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_dev_reload_down+0x6e/0xd0 drivers/net/netdevsim/dev.c:968 devlink_reload+0x17f/0x760 net/devlink/dev.c:461 devlink_pernet_pre_exit+0x1a1/0x2b0 net/devlink/core.c:509 ops_pre_exit_list net/core/net_namespace.c:162 [inline] cleanup_net+0x488/0xbd0 net/core/net_namespace.c:628 process_one_work+0x958/0x1b30 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 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 17 37 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:ffffc9000444f330 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88801ebeaf80 RCX: ffffffff8a681838 RDX: ffff888027389e00 RSI: ffffffff8a6817d9 RDI: 0000000000000003 RBP: ffffc9000444f3a0 R08: 0000000000000003 R09: 000000000000000a R10: 0000000000000000 R11: 0000000000000007 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888030b2d400 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f79b82a7d60 CR3: 00000000337ea000 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 17 37 31 f7 call 0xf731372f 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