program:
r0 = bpf$PROG_LOAD(0x5, &(0x7f0000000340)={0x3, 0x7, &(0x7f0000000400)=ANY=[@ANYRES64=0x0], &(0x7f0000000440)='GPL\x00', 0x0, 0x0, 0x0, 0x0, 0x0, '\x00', 0x0, @sched_cls=0x37, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4}, 0x94) (async)
r1 = openat$tun(0xffffffffffffff9c, &(0x7f0000000080), 0x2, 0x0)
ioctl$TUNSETIFF(r1, 0x400454ca, &(0x7f00000000c0)={'syzkaller0\x00', 0x4001}) (async)
r2 = socket$inet(0x2, 0x2, 0x0) (async)
mkdirat(0xffffffffffffff9c, &(0x7f0000000680)='./sys\x00', 0x1ed)
mount(0x0, &(0x7f00000006c0)='./sys\x00', &(0x7f0000000700)='sysfs\x00', 0x0, 0x0) (async)
r3 = openat(0xffffffffffffff9c, &(0x7f0000000740)='./sys/class/fcloop/ctl/add_remote_port\x00', 0x1, 0x0)
write(r3, &(0x7f0000000780)="77776e6e3d30f83333b333333333333333333333333333", 0x17) (async)
ioctl$sock_inet_SIOCSIFADDR(r2, 0x8916, &(0x7f0000000100)={'syzkaller0\x00', {0x2, 0x0, @rand_addr=0xac140001}}) (async)
ioctl$sock_inet_SIOCSIFFLAGS(r2, 0x8914, &(0x7f0000000140)={'syzkaller0\x00', 0x1})
r4 = socket$inet_sctp(0x2, 0x1, 0x84)
bind(r4, &(0x7f0000000180)=@in={0x2, 0x3210, @rand_addr=0xac140001}, 0x10)
listen(r4, 0x5)
write$tun(r1, &(0x7f0000000200)=ANY=[@ANYBLOB="00000800010000000000140008004500003c000000004084ca2502020202ac14000104d232101c000000000000000100001c"], 0x4a)
mkdirat(0xffffffffffffff9c, &(0x7f0000000240)='./my_configfs\x00', 0x1ff) (async)
mount(0x0, &(0x7f0000000280)='./my_configfs\x00', &(0x7f00000002c0)='configfs\x00', 0x0, 0x0)
mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./my_configfs/usb_gadget/g1\x00', 0x1ff) (async)
mkdirat(0xffffffffffffff9c, &(0x7f0000000540)='./my_configfs/usb_gadget/g1/functions/midi2.usb0\x00', 0x1ff) (async)
mkdirat(0xffffffffffffff9c, &(0x7f0000000580)='./my_configfs/usb_gadget/g1/functions/midi2.usb0/ep.0/block.1\x00', 0x1ff)
r5 = openat(0xffffffffffffff9c, &(0x7f00000005c0)='./my_configfs/usb_gadget/g1/functions/midi2.usb0/ep.0/block.1/first_group\x00', 0x1, 0x0)
write$khugepaged_scan(r5, &(0x7f0000000640), 0x8) (async)
syz_usb_connect$hid(0x3, 0x36, 0x0, 0x0) (async)
syz_emit_vhci(&(0x7f0000000000)=ANY=[@ANYBLOB="043e1f0a"], 0x22)
syz_emit_vhci(&(0x7f0000000040)=ANY=[@ANYBLOB="0406"], 0x7) (async)
bpf$BPF_PROG_TEST_RUN(0xa, &(0x7f0000000480)={r0, 0x0, 0xe, 0x0, &(0x7f0000000500)="000000007cb7b8b0000000000000", 0x0, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0}, 0x50)
[ 105.321487][ T4667] Bluetooth: hci0: command tx timeout
[ 105.565213][ T5301] Bluetooth: hci0: unexpected event 0x06 length: 4 > 3
[ 107.391968][ T5301] Bluetooth: hci0: command tx timeout
[ 107.634087][ T4667] ------------[ cut here ]------------
[ 107.634103][ T4667] refcnt < 0
[ 107.634108][ T4667] WARNING: net/bluetooth/hci_conn.c:655 at hci_conn_timeout+0xff/0x2c0, CPU#0: kworker/u5:1/4667
[ 107.643144][ T4667] Modules linked in:
[ 107.645352][ T4667] CPU: 0 UID: 0 PID: 4667 Comm: kworker/u5:1 Not tainted syzkaller #0 PREEMPT(full)
[ 107.649675][ T4667] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 107.654540][ T4667] Workqueue: hci0 hci_conn_timeout
[ 107.657280][ T4667] RIP: 0010:hci_conn_timeout+0xff/0x2c0
[ 107.660376][ T4667] Code: 48 89 df e8 d3 20 0a 00 eb 07 e8 1c d3 ce f6 b0 13 0f b6 f0 48 89 df 5b 41 5c 41 5e 41 5f 5d e9 c7 9e fe ff e8 02 d3 ce f6 90 <0f> 0b 90 eb 8c 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 31 ff ff ff
[ 107.668992][ T4667] RSP: 0018:ffffc9000fc07ab0 EFLAGS: 00010293
[ 107.672266][ T4667] RAX: ffffffff8afa64ce RBX: ffff888013ea4000 RCX: ffff888034e38000
[ 107.676422][ T4667] RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000
[ 107.680648][ T4667] RBP: 00000000ffffffff R08: ffff888013ea4013 R09: 1ffff110027d4802
[ 107.684363][ T4667] R10: dffffc0000000000 R11: ffffed10027d4803 R12: dffffc0000000000
[ 107.688341][ T4667] R13: ffffffff819070fa R14: ffff888013ea4a50 R15: ffff888013ea4010
[ 107.692826][ T4667] FS: 0000000000000000(0000) GS:ffff88808a9f1000(0000) knlGS:0000000000000000
[ 107.698345][ T4667] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 107.702414][ T4667] CR2: 00007ffdd5151460 CR3: 00000000141b6000 CR4: 0000000000352ef0
[ 107.706944][ T4667] Call Trace:
[ 107.708759][ T4667]
[ 107.710440][ T4667] process_scheduled_works+0xc3d/0x1630
[ 107.714092][ T4667] ? __pfx_process_scheduled_works+0x10/0x10
[ 107.717409][ T4667] ? assign_work+0x3cf/0x5d0
[ 107.720299][ T4667] worker_thread+0xa47/0xfb0
[ 107.723046][ T4667] ? __kthread_parkme+0x71/0x1f0
[ 107.725513][ T4667] kthread+0x38b/0x480
[ 107.728275][ T4667] ? __pfx_worker_thread+0x10/0x10
[ 107.731765][ T4667] ? __pfx_kthread+0x10/0x10
[ 107.734388][ T4667] ret_from_fork+0x514/0xb70
[ 107.737128][ T4667] ? __pfx_ret_from_fork+0x10/0x10
[ 107.740081][ T4667] ? __switch_to+0xc78/0x1410
[ 107.742861][ T4667] ? __pfx_kthread+0x10/0x10
[ 107.745868][ T4667] ret_from_fork_asm+0x1a/0x30
[ 107.748670][ T4667]
[ 107.750506][ T4667] Kernel panic - not syncing: kernel: panic_on_warn set ...
[ 107.754307][ T4667] CPU: 0 UID: 0 PID: 4667 Comm: kworker/u5:1 Not tainted syzkaller #0 PREEMPT(full)
[ 107.759345][ T4667] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 107.764181][ T4667] Workqueue: hci0 hci_conn_timeout
[ 107.766738][ T4667] Call Trace:
[ 107.768313][ T4667]
[ 107.769882][ T4667] vpanic+0x26f/0x710
[ 107.772296][ T4667] panic+0xc5/0xd0
[ 107.774291][ T4667] ? __pfx_panic+0x10/0x10
[ 107.776285][ T4667] ? ret_from_fork_asm+0x1a/0x30
[ 107.778691][ T4667] __warn+0x315/0x4c0
[ 107.780580][ T4667] ? hci_conn_timeout+0xff/0x2c0
[ 107.782829][ T4667] ? hci_conn_timeout+0xff/0x2c0
[ 107.785181][ T4667] __report_bug+0x276/0x570
[ 107.787330][ T4667] ? hci_conn_timeout+0xff/0x2c0
[ 107.789794][ T4667] ? __pfx___report_bug+0x10/0x10
[ 107.792157][ T4667] ? add_lock_to_list+0xc7/0x100
[ 107.794602][ T4667] ? lockdep_unlock+0x5c/0xd0
[ 107.796919][ T4667] ? __lock_acquire+0x1511/0x2de0
[ 107.799506][ T4667] ? hci_conn_timeout+0xff/0x2c0
[ 107.801870][ T4667] report_bug+0x16b/0x220
[ 107.803846][ T4667] ? hci_conn_timeout+0xff/0x2c0
[ 107.806115][ T4667] ? hci_conn_timeout+0x101/0x2c0
[ 107.808420][ T4667] handle_bug+0x9c/0x200
[ 107.810496][ T4667] exc_invalid_op+0x1a/0x50
[ 107.812603][ T4667] asm_exc_invalid_op+0x1a/0x20
[ 107.814958][ T4667] RIP: 0010:hci_conn_timeout+0xff/0x2c0
[ 107.817516][ T4667] Code: 48 89 df e8 d3 20 0a 00 eb 07 e8 1c d3 ce f6 b0 13 0f b6 f0 48 89 df 5b 41 5c 41 5e 41 5f 5d e9 c7 9e fe ff e8 02 d3 ce f6 90 <0f> 0b 90 eb 8c 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 31 ff ff ff
[ 107.826779][ T4667] RSP: 0018:ffffc9000fc07ab0 EFLAGS: 00010293
[ 107.829909][ T4667] RAX: ffffffff8afa64ce RBX: ffff888013ea4000 RCX: ffff888034e38000
[ 107.833703][ T4667] RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000
[ 107.837488][ T4667] RBP: 00000000ffffffff R08: ffff888013ea4013 R09: 1ffff110027d4802
[ 107.841419][ T4667] R10: dffffc0000000000 R11: ffffed10027d4803 R12: dffffc0000000000
[ 107.845304][ T4667] R13: ffffffff819070fa R14: ffff888013ea4a50 R15: ffff888013ea4010
[ 107.848786][ T4667] ? process_scheduled_works+0x97a/0x1630
[ 107.851661][ T4667] ? hci_conn_timeout+0xfe/0x2c0
[ 107.854069][ T4667] process_scheduled_works+0xc3d/0x1630
[ 107.856582][ T4667] ? __pfx_process_scheduled_works+0x10/0x10
[ 107.859280][ T4667] ? assign_work+0x3cf/0x5d0
[ 107.861428][ T4667] worker_thread+0xa47/0xfb0
[ 107.863633][ T4667] ? __kthread_parkme+0x71/0x1f0
[ 107.865715][ T4667] kthread+0x38b/0x480
[ 107.867582][ T4667] ? __pfx_worker_thread+0x10/0x10
[ 107.869900][ T4667] ? __pfx_kthread+0x10/0x10
[ 107.872542][ T4667] ret_from_fork+0x514/0xb70
[ 107.874777][ T4667] ? __pfx_ret_from_fork+0x10/0x10
[ 107.876932][ T4667] ? __switch_to+0xc78/0x1410
[ 107.878960][ T4667] ? __pfx_kthread+0x10/0x10
[ 107.880953][ T4667] ret_from_fork_asm+0x1a/0x30
[ 107.883227][ T4667]
[ 107.885036][ T4667] Kernel Offset: disabled
[ 107.887216][ T4667] Rebooting in 86400 seconds..