------------[ cut here ]------------ WARNING: CPU: 1 PID: 7115 at ./include/net/netdev_lock.h:54 netdev_ops_assert_locked include/net/netdev_lock.h:54 [inline] WARNING: CPU: 1 PID: 7115 at ./include/net/netdev_lock.h:54 dev_xdp_install+0x5e6/0x760 net/core/dev.c:9911 Modules linked in: CPU: 1 UID: 0 PID: 7115 Comm: syz.0.322 Not tainted 6.14.0-syzkaller-10514-g7f2ff7b62617 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:netdev_ops_assert_locked include/net/netdev_lock.h:54 [inline] RIP: 0010:dev_xdp_install+0x5e6/0x760 net/core/dev.c:9911 Code: 06 48 3b 84 24 a0 00 00 00 0f 85 8e 01 00 00 89 d8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 1b c3 df f7 90 <0f> 0b 90 e9 2d fc ff ff e8 0d c3 df f7 c6 05 bf 6c 64 06 01 90 48 RSP: 0018:ffffc9000bb37980 EFLAGS: 00010287 RAX: ffffffff89e39735 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc90004e09000 RSI: 000000000000043e RDI: 000000000000043f RBP: ffffc9000bb37a80 R08: ffffffff89e39319 R09: 0000000000000000 R10: ffffc9000bb379e0 R11: fffff52001766f40 R12: ffffc9000b7ed000 R13: 1ffff92001766f38 R14: dffffc0000000000 R15: ffff88805dccc000 FS: 00007f91b79206c0(0000) GS:ffff8881250ed000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000002e000 CR3: 000000007bb62000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dev_xdp_attach+0xc5d/0xfe0 net/core/dev.c:10094 dev_xdp_attach_link net/core/dev.c:10113 [inline] bpf_xdp_link_attach+0x3a2/0x760 net/core/dev.c:10287 link_create+0x440/0x870 kernel/bpf/syscall.c:5379 __sys_bpf+0x54c/0x850 kernel/bpf/syscall.c:5865 __do_sys_bpf kernel/bpf/syscall.c:5902 [inline] __se_sys_bpf kernel/bpf/syscall.c:5900 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5900 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f91b6b8d169 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:00007f91b7920038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f91b6da5fa0 RCX: 00007f91b6b8d169 RDX: 0000000000000010 RSI: 0000200000000000 RDI: 000000000000001c RBP: 00007f91b6c0e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f91b6da5fa0 R15: 00007ffd108a6238