general protection fault in dummy_set_selfpowered

Status: upstream: reported C repro on 2026/07/25 00:06
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+62f480062aaab954ddc4@syzkaller.appspotmail.com
First crash: 9d23h, last: 2d17h
Bug presence (2)
Date Name Commit Repro Result
2026/07/28 lts (merge base) c86c4726e7f0 C [report] lost connection to test machine
2026/07/28 upstream (ToT) 3b5f4b83c4ab C [report] lost connection to test machine
Similar bugs (7)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in dummy_set_selfpowered usb prio:low 10 syz, C error 491 11m 6d09h 0/29 upstream: reported C repro on 2026/07/28 13:53
android-6-12 general protection fault in dummy_set_selfpowered 2 syz, C 43 1d02h 10d 0/1 premoderation: reported C repro on 2026/07/24 15:05
linux-5.15 general protection fault in dummy_set_selfpowered 2 6 5d15h 10d 0/3 upstream: reported on 2026/07/24 22:03
android-6-1 general protection fault in dummy_set_selfpowered 2 syz, C 19 19h44m 8d09h 0/2 upstream: reported C repro on 2026/07/26 13:33
linux-6.6 general protection fault in dummy_set_selfpowered 2 17 7h57m 9d22h 0/2 upstream: reported on 2026/07/25 01:11
android-5-10 general protection fault in dummy_set_selfpowered 2 syz, C 39 6h45m 10d 0/2 upstream: reported C repro on 2026/07/24 18:49
linux-6.1 BUG: unable to handle kernel paging request in dummy_set_selfpowered 8 15 19h11m 10d 0/3 upstream: reported on 2026/07/24 22:26

Sample crash report:
usb usb1: USB disconnect, device number 1
dummy_hcd dummy_hcd.0: stopped
dummy_hcd dummy_hcd.0: USB bus 1 deregistered
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 PID: 303 Comm: syz-executor105 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:dummy_set_selfpowered+0xbc/0x150 drivers/usb/gadget/udc/dummy_hcd.c:884
Code: 94 c0 4d 8d b4 c6 d0 04 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 1e 81 7f fe 4d 8b 3e 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 05 81 7f fe 41 be 58 11 00 00 4d
RSP: 0018:ffffc900009979e0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff88811da32780
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffffc90000997a00 R08: ffff88810005916f R09: 1ffff1102000b22d
R10: dffffc0000000000 R11: ffffed102000b22e R12: dffffc0000000000
R13: ffff8881059ec478 R14: ffff88810b70d160 R15: 0000000000000000
FS:  000055556309d3c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000000 CR3: 00000001255d0000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 usb_gadget_set_selfpowered+0x6c/0x180 drivers/usb/gadget/udc/core.c:534
 composite_dev_prepare+0x2e7/0x310 drivers/usb/gadget/composite.c:2277
 configfs_composite_bind+0xb4/0x13a0 drivers/usb/gadget/configfs.c:1342
 udc_bind_to_driver+0x1fb/0x770 drivers/usb/gadget/udc/core.c:1511
 usb_gadget_probe_driver+0x1fc/0x380 drivers/usb/gadget/udc/core.c:1589
 gadget_dev_desc_UDC_store+0x217/0x330 drivers/usb/gadget/configfs.c:321
 flush_write_buffer fs/configfs/file.c:207 [inline]
 configfs_write_iter+0x312/0x400 fs/configfs/file.c:229
 call_write_iter include/linux/fs.h:2212 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0x831/0xfd0 fs/read_write.c:594
 ksys_write+0x14a/0x260 fs/read_write.c:647
 __do_sys_write fs/read_write.c:659 [inline]
 __se_sys_write fs/read_write.c:656 [inline]
 __x64_sys_write+0x7b/0x90 fs/read_write.c:656
 x64_sys_call+0x8ef/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f235a5fad79
Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 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 d8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd3c2e99a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000200000000000 RCX: 00007f235a5fad79
RDX: 000000000000000c RSI: 0000200000000600 RDI: 0000000000000004
RBP: 6769666e6f632f2e R08: 00007ffd3c2e9ae8 R09: 00007ffd3c2e9ae8
R10: 00007ffd3c2e9ae8 R11: 0000000000000246 R12: 00007ffd3c2e9ad8
R13: 0000000000000002 R14: 0000200000000008 R15: 0000000000000002
 </TASK>
Modules linked in:
---[ end trace 4ea192a700d22858 ]---
RIP: 0010:dummy_set_selfpowered+0xbc/0x150 drivers/usb/gadget/udc/dummy_hcd.c:884
Code: 94 c0 4d 8d b4 c6 d0 04 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 1e 81 7f fe 4d 8b 3e 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 05 81 7f fe 41 be 58 11 00 00 4d
RSP: 0018:ffffc900009979e0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff88811da32780
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffffc90000997a00 R08: ffff88810005916f R09: 1ffff1102000b22d
R10: dffffc0000000000 R11: ffffed102000b22e R12: dffffc0000000000
R13: ffff8881059ec478 R14: ffff88810b70d160 R15: 0000000000000000
FS:  000055556309d3c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000000 CR3: 00000001255d0000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	4d 8d b4 c6 d0 04 00 	lea    0x4d0(%r14,%rax,8),%r14
   7:	00
   8:	4c 89 f0             	mov    %r14,%rax
   b:	48 c1 e8 03          	shr    $0x3,%rax
   f:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1)
  14:	74 08                	je     0x1e
  16:	4c 89 f7             	mov    %r14,%rdi
  19:	e8 1e 81 7f fe       	call   0xfe7f813c
  1e:	4d 8b 3e             	mov    (%r14),%r15
  21:	4c 89 f8             	mov    %r15,%rax
  24:	48 c1 e8 03          	shr    $0x3,%rax
* 28:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1) <-- trapping instruction
  2d:	74 08                	je     0x37
  2f:	4c 89 ff             	mov    %r15,%rdi
  32:	e8 05 81 7f fe       	call   0xfe7f813c
  37:	41 be 58 11 00 00    	mov    $0x1158,%r14d
  3d:	4d                   	rex.WRB

Crashes (28):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/01 05:47 android13-5.15-lts 61d896ee2a80 e611ffe1 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/31 17:41 android13-5.15-lts 61d896ee2a80 7664cf44 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/30 07:00 android13-5.15-lts 61d896ee2a80 6ef5c1e2 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/29 17:23 android13-5.15-lts 61d896ee2a80 6ef5c1e2 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/28 18:37 android13-5.15-lts 61d896ee2a80 edc8a875 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/28 06:05 android13-5.15-lts 61d896ee2a80 45ae1df4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/28 05:34 android13-5.15-lts 61d896ee2a80 45ae1df4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/25 05:12 android13-5.15-lts 61d896ee2a80 492bab15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/25 04:44 android13-5.15-lts 61d896ee2a80 492bab15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/25 00:05 android13-5.15-lts 61d896ee2a80 dd737a83 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/30 10:50 android13-5.15-lts 61d896ee2a80 2377cd3d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/29 03:27 android13-5.15-lts 61d896ee2a80 19622d9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/28 14:57 android13-5.15-lts 61d896ee2a80 edc8a875 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/28 14:57 android13-5.15-lts 61d896ee2a80 edc8a875 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/28 14:22 android13-5.15-lts 61d896ee2a80 edc8a875 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/28 12:40 android13-5.15-lts 61d896ee2a80 45ae1df4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/28 12:39 android13-5.15-lts 61d896ee2a80 45ae1df4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/28 01:51 android13-5.15-lts 61d896ee2a80 45ae1df4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/28 01:51 android13-5.15-lts 61d896ee2a80 45ae1df4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/27 19:00 android13-5.15-lts 61d896ee2a80 aae9036b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/27 12:37 android13-5.15-lts 61d896ee2a80 aae9036b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/26 00:29 android13-5.15-lts 61d896ee2a80 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/26 00:28 android13-5.15-lts 61d896ee2a80 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/25 18:31 android13-5.15-lts 61d896ee2a80 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/25 13:19 android13-5.15-lts 61d896ee2a80 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/25 13:19 android13-5.15-lts 61d896ee2a80 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/25 12:27 android13-5.15-lts 61d896ee2a80 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
2026/07/25 12:26 android13-5.15-lts 61d896ee2a80 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dummy_set_selfpowered
* Struck through repros no longer work on HEAD.