program: r0 = bpf$PROG_LOAD_XDP(0x5, &(0x7f0000000300)={0x6, 0x3, &(0x7f0000000140)=@framed, &(0x7f00000001c0)='syzkaller\x00', 0x0, 0x0, 0x0, 0x0, 0x0, '\x00', 0x0, 0x25, 0xffffffffffffffff, 0x8, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, @void, @value}, 0x90) r1 = socket$phonet_pipe(0x23, 0x5, 0x2) ioctl$sock_SIOCGIFINDEX(r1, 0x8933, &(0x7f0000000000)={'netdevsim0\x00', 0x0}) r3 = bpf$BPF_LINK_CREATE_XDP(0x1c, &(0x7f00000000c0)={r0, r2, 0x25, 0x0, @void}, 0x10) bpf$BPF_LINK_UPDATE(0x1d, &(0x7f00000002c0)={r3, 0xffffffffffffffff, 0x4, r0}, 0x10) [ 74.162342][ T5303] Bluetooth: hci0: command tx timeout [ 74.227078][ T5319] ------------[ cut here ]------------ [ 74.229665][ T5319] WARNING: CPU: 0 PID: 5319 at ./include/net/netdev_lock.h:54 dev_xdp_install+0x5e6/0x760 [ 74.233920][ T5319] Modules linked in: [ 74.235592][ T5319] CPU: 0 UID: 0 PID: 5319 Comm: syz.0.0 Not tainted 6.14.0-syzkaller-05877-g1a9239bb4253 #0 PREEMPT(full) [ 74.240128][ T5319] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 74.244759][ T5319] RIP: 0010:dev_xdp_install+0x5e6/0x760 [ 74.246984][ T5319] 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 fb dc e2 f7 90 <0f> 0b 90 e9 2d fc ff ff e8 ed dc e2 f7 c6 05 4c b5 66 06 01 90 48 [ 74.254983][ T5319] RSP: 0018:ffffc9000d37f980 EFLAGS: 00010283 [ 74.257421][ T5319] RAX: ffffffff89e09a05 RBX: 0000000000000000 RCX: 0000000000100000 [ 74.260655][ T5319] RDX: ffffc9000e232000 RSI: 000000000000014e RDI: 000000000000014f [ 74.264287][ T5319] RBP: ffffc9000d37fa80 R08: ffffffff89e095e9 R09: 0000000000000000 [ 74.267496][ T5319] R10: ffffc9000d37f9e0 R11: fffff52001a6ff40 R12: ffffc9000197e000 [ 74.270819][ T5319] R13: 1ffff92001a6ff38 R14: dffffc0000000000 R15: ffff88804d60c000 [ 74.274313][ T5319] FS: 00007f27aabaa6c0(0000) GS:ffff88808c60f000(0000) knlGS:0000000000000000 [ 74.278148][ T5319] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 74.280829][ T5319] CR2: 00007f27a9f94570 CR3: 000000004303e000 CR4: 0000000000352ef0 [ 74.284158][ T5319] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 74.287415][ T5319] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 74.290813][ T5319] Call Trace: [ 74.292419][ T5319] [ 74.293588][ T5319] ? __warn+0x165/0x4d0 [ 74.295189][ T5319] ? dev_xdp_install+0x5e6/0x760 [ 74.297039][ T5319] ? report_bug+0x2b3/0x500 [ 74.298757][ T5319] ? dev_xdp_install+0x5e6/0x760 [ 74.300595][ T5319] ? dev_xdp_install+0x5e6/0x760 [ 74.302636][ T5319] ? dev_xdp_install+0x5e8/0x760 [ 74.304465][ T5319] ? handle_bug+0x89/0x170 [ 74.306173][ T5319] ? exc_invalid_op+0x1a/0x50 [ 74.308083][ T5319] ? asm_exc_invalid_op+0x1a/0x20 [ 74.310470][ T5319] ? dev_xdp_install+0x1c9/0x760 [ 74.312934][ T5319] ? dev_xdp_install+0x5e5/0x760 [ 74.314766][ T5319] ? dev_xdp_install+0x5e6/0x760 [ 74.317300][ T5319] ? __pfx_nsim_bpf+0x10/0x10 [ 74.319191][ T5319] ? __pfx_dev_xdp_install+0x10/0x10 [ 74.321143][ T5319] ? __pfx_nsim_bpf+0x10/0x10 [ 74.323444][ T5319] dev_xdp_attach+0xc5d/0xfe0 [ 74.325408][ T5319] bpf_xdp_link_attach+0x3a2/0x760 [ 74.327490][ T5319] ? __pfx_bpf_xdp_link_attach+0x10/0x10 [ 74.329826][ T5319] ? __fget_files+0x39d/0x420 [ 74.331834][ T5319] ? __fget_files+0x2a/0x420 [ 74.333985][ T5319] ? attach_type_to_prog_type+0x316/0x460 [ 74.336276][ T5319] ? bpf_prog_attach_check_attach_type+0x2cb/0x4f0 [ 74.338917][ T5319] link_create+0x440/0x870 [ 74.340972][ T5319] __sys_bpf+0x559/0x850 [ 74.342899][ T5319] ? __pfx___sys_bpf+0x10/0x10 [ 74.344834][ T5319] ? __rseq_handle_notify_resume+0x3c8/0x15d0 [ 74.347324][ T5319] __x64_sys_bpf+0x7c/0x90 [ 74.349120][ T5319] do_syscall_64+0xf3/0x230 [ 74.350917][ T5319] ? clear_bhb_loop+0x45/0xa0 [ 74.352933][ T5319] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 74.355316][ T5319] RIP: 0033:0x7f27a9d8d169 [ 74.357153][ T5319] 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 [ 74.364842][ T5319] RSP: 002b:00007f27aabaa038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 74.368168][ T5319] RAX: ffffffffffffffda RBX: 00007f27a9fa5fa0 RCX: 00007f27a9d8d169 [ 74.371327][ T5319] RDX: 0000000000000010 RSI: 00002000000000c0 RDI: 000000000000001c [ 74.374571][ T5319] RBP: 00007f27a9e0e2a0 R08: 0000000000000000 R09: 0000000000000000 [ 74.377714][ T5319] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 74.380943][ T5319] R13: 0000000000000000 R14: 00007f27a9fa5fa0 R15: 00007ffdc63ceab8 [ 74.384240][ T5319] [ 74.385496][ T5319] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 74.388369][ T5319] CPU: 0 UID: 0 PID: 5319 Comm: syz.0.0 Not tainted 6.14.0-syzkaller-05877-g1a9239bb4253 #0 PREEMPT(full) [ 74.392741][ T5319] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 74.396898][ T5319] Call Trace: [ 74.398487][ T5319] [ 74.399946][ T5319] dump_stack_lvl+0x241/0x360 [ 74.402037][ T5319] ? __pfx_dump_stack_lvl+0x10/0x10 [ 74.404155][ T5319] ? __pfx__printk+0x10/0x10 [ 74.406133][ T5319] ? vscnprintf+0x5d/0x90 [ 74.407905][ T5319] panic+0x349/0x880 [ 74.409515][ T5319] ? __warn+0x174/0x4d0 [ 74.411207][ T5319] ? __pfx_panic+0x10/0x10 [ 74.413023][ T5319] __warn+0x344/0x4d0 [ 74.414614][ T5319] ? dev_xdp_install+0x5e6/0x760 [ 74.416514][ T5319] report_bug+0x2b3/0x500 [ 74.418278][ T5319] ? dev_xdp_install+0x5e6/0x760 [ 74.420289][ T5319] ? dev_xdp_install+0x5e6/0x760 [ 74.422313][ T5319] ? dev_xdp_install+0x5e8/0x760 [ 74.424322][ T5319] handle_bug+0x89/0x170 [ 74.426064][ T5319] exc_invalid_op+0x1a/0x50 [ 74.427899][ T5319] asm_exc_invalid_op+0x1a/0x20 [ 74.429857][ T5319] RIP: 0010:dev_xdp_install+0x5e6/0x760 [ 74.432236][ T5319] 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 fb dc e2 f7 90 <0f> 0b 90 e9 2d fc ff ff e8 ed dc e2 f7 c6 05 4c b5 66 06 01 90 48 [ 74.440022][ T5319] RSP: 0018:ffffc9000d37f980 EFLAGS: 00010283 [ 74.442456][ T5319] RAX: ffffffff89e09a05 RBX: 0000000000000000 RCX: 0000000000100000 [ 74.445522][ T5319] RDX: ffffc9000e232000 RSI: 000000000000014e RDI: 000000000000014f [ 74.448450][ T5319] RBP: ffffc9000d37fa80 R08: ffffffff89e095e9 R09: 0000000000000000 [ 74.451475][ T5319] R10: ffffc9000d37f9e0 R11: fffff52001a6ff40 R12: ffffc9000197e000 [ 74.454294][ T5319] R13: 1ffff92001a6ff38 R14: dffffc0000000000 R15: ffff88804d60c000 [ 74.457348][ T5319] ? dev_xdp_install+0x1c9/0x760 [ 74.459325][ T5319] ? dev_xdp_install+0x5e5/0x760 [ 74.461264][ T5319] ? __pfx_nsim_bpf+0x10/0x10 [ 74.462979][ T5319] ? __pfx_dev_xdp_install+0x10/0x10 [ 74.465033][ T5319] ? __pfx_nsim_bpf+0x10/0x10 [ 74.466941][ T5319] dev_xdp_attach+0xc5d/0xfe0 [ 74.468861][ T5319] bpf_xdp_link_attach+0x3a2/0x760 [ 74.470988][ T5319] ? __pfx_bpf_xdp_link_attach+0x10/0x10 [ 74.473149][ T5319] ? __fget_files+0x39d/0x420 [ 74.474996][ T5319] ? __fget_files+0x2a/0x420 [ 74.476767][ T5319] ? attach_type_to_prog_type+0x316/0x460 [ 74.479017][ T5319] ? bpf_prog_attach_check_attach_type+0x2cb/0x4f0 [ 74.481570][ T5319] link_create+0x440/0x870 [ 74.483327][ T5319] __sys_bpf+0x559/0x850 [ 74.485017][ T5319] ? __pfx___sys_bpf+0x10/0x10 [ 74.486880][ T5319] ? __rseq_handle_notify_resume+0x3c8/0x15d0 [ 74.489238][ T5319] __x64_sys_bpf+0x7c/0x90 [ 74.491032][ T5319] do_syscall_64+0xf3/0x230 [ 74.492797][ T5319] ? clear_bhb_loop+0x45/0xa0 [ 74.494682][ T5319] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 74.496918][ T5319] RIP: 0033:0x7f27a9d8d169 [ 74.498665][ T5319] 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 [ 74.507858][ T5319] RSP: 002b:00007f27aabaa038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 74.511172][ T5319] RAX: ffffffffffffffda RBX: 00007f27a9fa5fa0 RCX: 00007f27a9d8d169 [ 74.514133][ T5319] RDX: 0000000000000010 RSI: 00002000000000c0 RDI: 000000000000001c [ 74.517047][ T5319] RBP: 00007f27a9e0e2a0 R08: 0000000000000000 R09: 0000000000000000 [ 74.519993][ T5319] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 74.522969][ T5319] R13: 0000000000000000 R14: 00007f27a9fa5fa0 R15: 00007ffdc63ceab8 [ 74.525886][ T5319] [ 74.527420][ T5319] Kernel Offset: disabled [ 74.529147][ T5319] Rebooting in 86400 seconds..