------------[ cut here ]------------ WARNING: CPU: 0 PID: 6053 at ./include/net/netdev_lock.h:54 netdev_ops_assert_locked include/net/netdev_lock.h:54 [inline] WARNING: CPU: 0 PID: 6053 at ./include/net/netdev_lock.h:54 dev_xdp_install+0x5e6/0x760 net/core/dev.c:9911 Modules linked in: CPU: 0 UID: 0 PID: 6053 Comm: syz.3.57 Not tainted 6.14.0-next-20250328-syzkaller #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 8b 63 d7 f7 90 <0f> 0b 90 e9 2d fc ff ff e8 7d 63 d7 f7 c6 05 f3 e9 5c 06 01 90 48 RSP: 0018:ffffc90004677980 EFLAGS: 00010287 RAX: ffffffff89ebed45 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc9000d10b000 RSI: 000000000000014a RDI: 000000000000014b RBP: ffffc90004677a80 R08: ffffffff89ebe929 R09: 0000000000000000 R10: ffffc900046779e0 R11: fffff520008cef40 R12: ffffc90004753000 R13: 1ffff920008cef38 R14: dffffc0000000000 R15: ffff8880740d4000 FS: 00007f26e23896c0(0000) GS:ffff888124fb9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3a8a41 CR3: 0000000034502000 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:5418 __sys_bpf+0x5ba/0x8b0 kernel/bpf/syscall.c:5904 __do_sys_bpf kernel/bpf/syscall.c:5941 [inline] __se_sys_bpf kernel/bpf/syscall.c:5939 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5939 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:0x7f26e158d169 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:00007f26e2389038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f26e17a5fa0 RCX: 00007f26e158d169 RDX: 0000000000000010 RSI: 0000200000000240 RDI: 000000000000001c RBP: 00007f26e160e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f26e17a5fa0 R15: 00007ffeb9771348