WARNING: CPU: 1 PID: 23106 at ./include/net/netdev_lock.h:54 netdev_ops_assert_locked include/net/netdev_lock.h:54 [inline] WARNING: CPU: 1 PID: 23106 at ./include/net/netdev_lock.h:54 ipv6_add_dev+0xcf0/0x15f0 net/ipv6/addrconf.c:381 Modules linked in: CPU: 1 UID: 0 PID: 23106 Comm: syz.4.8111 Not tainted 6.15.0-rc1-syzkaller-00060-ga24588245776 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:netdev_ops_assert_locked include/net/netdev_lock.h:54 [inline] RIP: 0010:ipv6_add_dev+0xcf0/0x15f0 net/ipv6/addrconf.c:381 Code: 8d bc 24 30 0d 00 00 be ff ff ff ff e8 39 2b 58 01 31 ff 89 c3 89 c6 e8 ae 3e a1 f7 85 db 0f 85 12 f4 ff ff e8 61 43 a1 f7 90 <0f> 0b 90 e9 04 f4 ff ff e8 53 43 a1 f7 49 8d 7c 24 08 48 b8 00 00 RSP: 0018:ffffc9000d807090 EFLAGS: 00010283 RAX: 000000000000a35d RBX: 0000000000000000 RCX: ffffc900075f2000 RDX: 0000000000080000 RSI: ffffffff8a19fa2f RDI: 0000000000000005 RBP: ffffc9000d8070d8 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888104b5e000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 FS: 00007f641d3f46c0(0000) GS:ffff8880d6ab3000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3113f823b0 CR3: 000000005b0d2000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ipv6_find_idev+0x192/0x220 net/ipv6/addrconf.c:496 addrconf_add_dev+0x31/0x1c0 net/ipv6/addrconf.c:2560 addrconf_dev_config net/ipv6/addrconf.c:3479 [inline] addrconf_init_auto_addrs+0x380/0x820 net/ipv6/addrconf.c:3567 addrconf_notify+0x6e2/0x19e0 net/ipv6/addrconf.c:3740 notifier_call_chain+0xb9/0x410 kernel/notifier.c:85 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2183 netdev_state_change net/core/dev.c:1536 [inline] netdev_state_change+0x113/0x150 net/core/dev.c:1529 rtnl_linkprop.isra.0+0x400/0x750 net/core/rtnetlink.c:4286 rtnetlink_rcv_msg+0x3c6/0xe90 net/core/rtnetlink.c:6964 netlink_rcv_skb+0x16a/0x440 net/netlink/af_netlink.c:2534 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline] netlink_unicast+0x53a/0x7f0 net/netlink/af_netlink.c:1339 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1883 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg net/socket.c:727 [inline] ____sys_sendmsg+0xa95/0xc70 net/socket.c:2566 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2620 __sys_sendmsg+0x16d/0x220 net/socket.c:2652 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f641c58d169 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:00007f641d3f4038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f641c7a5fa0 RCX: 00007f641c58d169 RDX: 0000000000000000 RSI: 0000200000000140 RDI: 0000000000000003 RBP: 00007f641c60e730 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f641c7a5fa0 R15: 00007ffffd94b2f8