BTRFS info (device loop9): turning on flush-on-commit
BTRFS info (device loop9): enabling free space tree
BTRFS info (device loop9): force zlib compression, level 3
BTRFS info (device loop9): max_inline set to 4096
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 UID: 0 PID: 25437 Comm: syz.9.4733 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:dummy_set_selfpowered+0xbe/0x160
Code: 8d 34 c6 49 81 c6 90 06 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 ec 4c 7f fa 4d 8b 3e 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 d3 4c 7f fa 41 be 88 12 00 00 4d
RSP: 0018:ffffc90004c17780 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000002
RDX: ffff88816c059e00 RSI: 0000000000000003 RDI: 0000000000000005
RBP: 0000000000000003 R08: ffff8881012d491f R09: 1ffff1102025a923
R10: dffffc0000000000 R11: ffffffff87b5a3f0 R12: dffffc0000000000
R13: ffff888111b20530 R14: ffff8881066c5290 R15: 0000000000000000
FS:  00007f6cd55ce6c0(0000) GS:ffff88818d95c000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcf99a64000 CR3: 0000000119636000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 usb_gadget_set_selfpowered+0x75/0x260
 composite_dev_prepare+0x2fa/0x320
 configfs_composite_bind+0xa5/0x1410
 gadget_bind_driver+0x2ca/0x9e0
 really_probe+0x254/0xae0
 __driver_probe_device+0x1e8/0x360
 driver_probe_device+0x4f/0x240
 __driver_attach+0x339/0x600
 bus_for_each_dev+0x23b/0x2c0
 bus_add_driver+0x345/0x670
 driver_register+0x23a/0x320
 usb_gadget_register_driver_owner+0xf9/0x270
 gadget_dev_desc_UDC_store+0x1c9/0x2f0
 configfs_write_iter+0x337/0x430
 vfs_write+0x612/0xba0
 ksys_write+0x150/0x270
 do_syscall_64+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6cd479e0d9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f6cd55ce028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f6cd4a25fa0 RCX: 00007f6cd479e0d9
RDX: 000000000000000b RSI: 00002000000003c0 RDI: 0000000000000007
RBP: 00007f6cd4835024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6cd4a26038 R14: 00007f6cd4a25fa0 R15: 00007ffc6eecf6d8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dummy_set_selfpowered+0xbe/0x160
Code: 8d 34 c6 49 81 c6 90 06 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 ec 4c 7f fa 4d 8b 3e 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 d3 4c 7f fa 41 be 88 12 00 00 4d
RSP: 0018:ffffc90004c17780 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000002
RDX: ffff88816c059e00 RSI: 0000000000000003 RDI: 0000000000000005
RBP: 0000000000000003 R08: ffff8881012d491f R09: 1ffff1102025a923
R10: dffffc0000000000 R11: ffffffff87b5a3f0 R12: dffffc0000000000
R13: ffff888111b20530 R14: ffff8881066c5290 R15: 0000000000000000
FS:  00007f6cd55ce6c0(0000) GS:ffff88818d95c000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000000c380 CR3: 0000000119636000 CR4: 00000000000006f0
