general protection fault in dummy_set_selfpowered

Status: premoderation: reported C repro on 2026/07/24 15:05
Reported-by: syzbot+7e0361fe56dc383a3277@syzkaller.appspotmail.com
First crash: 54d, last: 2d01h
Similar bugs (7)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in dummy_set_selfpowered prio:low usb 10 syz, C error 1486 6d21h 50d 0/29 upstream: reported C repro on 2026/07/28 13:53
android-5-15 general protection fault in dummy_set_selfpowered origin:upstream 2 syz, C 94 21d 54d 0/2 upstream: reported C repro on 2026/07/25 00:06
linux-5.15 general protection fault in dummy_set_selfpowered 2 syz, C 51 21d 54d 0/3 upstream: reported C repro on 2026/07/24 22:03
android-6-1 general protection fault in dummy_set_selfpowered origin:upstream 2 syz, C 95 6d06h 52d 0/2 upstream: reported C repro on 2026/07/26 13:33
linux-6.6 general protection fault in dummy_set_selfpowered 2 syz, C 55 21d 54d 0/2 upstream: reported C repro on 2026/07/25 01:11
android-5-10 general protection fault in dummy_set_selfpowered 2 syz, C 145 21d 54d 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 origin:upstream 8 syz, C 95 21d 54d 0/3 upstream: reported C repro on 2026/07/24 22:26
Last patch testing requests (5)
Created Duration User Patch Repo Result
2026/09/15 08:35 10m retest repro android16-6.12 report job log log
2026/09/15 08:35 10m retest repro android16-6.12 report job log log
2026/09/15 08:35 12m retest repro android16-6.12 report job log log
2026/09/15 08:35 11m retest repro android16-6.12 report job log log
2026/09/15 08:35 10m retest repro android16-6.12 report job log log

Sample crash report:
dummy_hcd dummy_hcd.0: stopped
dummy_hcd dummy_hcd.0: USB bus 1 deregistered
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 UID: 0 PID: 313 Comm: syz-executor423 Not tainted syzkaller #0 b8659436e0263bf3bdd99d8db567fd2a3f6145e5
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:dummy_set_selfpowered+0xc0/0x160 drivers/usb/gadget/udc/dummy_hcd.c:887
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 6a a0 26 fe 4d 8b 3e 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 51 a0 26 fe 41 be 58 11 00 00 4d
RSP: 0018:ffffc900011df738 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff888106773900 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffffc900011df758 R08: ffff888101653867 R09: 1ffff110202ca70c
R10: 0000000000000000 R11: ffffffff83b9af60 R12: dffffc0000000000
R13: ffff88810ca514f0 R14: ffff888102f61160 R15: 0000000000000000
FS:  0000555557be03c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005610a9b9f6d0 CR3: 00000001077e2000 CR4: 00000000003526b0
Call Trace:
 <TASK>
 usb_gadget_set_selfpowered+0x81/0x1a0 drivers/usb/gadget/udc/core.c:578
 composite_dev_prepare+0x2f8/0x3e0 drivers/usb/gadget/composite.c:2491
 configfs_composite_bind+0xa8/0x15f0 drivers/usb/gadget/configfs.c:1707
 gadget_bind_driver+0x304/0x9c0 drivers/usb/gadget/udc/core.c:1641
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x2e1/0x8b0 drivers/base/dd.c:657
 __driver_probe_device+0x193/0x280 drivers/base/dd.c:799
 driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829
 __driver_attach+0x422/0x5e0 drivers/base/dd.c:1215
 bus_for_each_dev+0x249/0x2d0 drivers/base/bus.c:370
 driver_attach+0x46/0x50 drivers/base/dd.c:1233
 bus_add_driver+0x393/0x730 drivers/base/bus.c:675
 driver_register+0x2b7/0x3c0 drivers/base/driver.c:246
 usb_gadget_register_driver_owner+0xfc/0x270 drivers/usb/gadget/udc/core.c:1731
 gadget_dev_desc_UDC_store+0x224/0x350 drivers/usb/gadget/configfs.c:305
 flush_write_buffer fs/configfs/file.c:207 [inline]
 configfs_write_iter+0x32f/0x490 fs/configfs/file.c:229
 new_sync_write fs/read_write.c:591 [inline]
 vfs_write+0x75f/0xfd0 fs/read_write.c:684
 ksys_write+0x145/0x260 fs/read_write.c:737
 __do_sys_write fs/read_write.c:749 [inline]
 __se_sys_write fs/read_write.c:746 [inline]
 __x64_sys_write+0x7f/0x90 fs/read_write.c:746
 x64_sys_call+0x271c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:2
 do_syscall_x64 arch/x86/entry/common.c:47 [inline]
 do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f2df047cd79
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:00007fff1177b8f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 6769666e6f632f2e RCX: 00007f2df047cd79
RDX: 000000000000000b RSI: 0000200000000680 RDI: 0000000000000004
RBP: 00737973796d2f2e R08: 00000000000a8c88 R09: 00000000000a8c88
R10: 00000000000a8c88 R11: 0000000000000246 R12: 00007fff1177ba28
R13: 0000000000000002 R14: 00007f2df050dca0 R15: 0000000000000002
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dummy_set_selfpowered+0xc0/0x160 drivers/usb/gadget/udc/dummy_hcd.c:887
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 6a a0 26 fe 4d 8b 3e 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 51 a0 26 fe 41 be 58 11 00 00 4d
RSP: 0018:ffffc900011df738 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff888106773900 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffffc900011df758 R08: ffff888101653867 R09: 1ffff110202ca70c
R10: 0000000000000000 R11: ffffffff83b9af60 R12: dffffc0000000000
R13: ffff88810ca514f0 R14: ffff888102f61160 R15: 0000000000000000
FS:  0000555557be03c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005610a9b9f6d0 CR3: 00000001077e2000 CR4: 00000000003526b0
----------------
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 6a a0 26 fe       	call   0xfe26a088
  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 51 a0 26 fe       	call   0xfe26a088
  37:	41 be 58 11 00 00    	mov    $0x1158,%r14d
  3d:	4d                   	rex.WRB

Crashes (142):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/26 20:31 android16-6.12 7ee04de323f7 a2b77b9e .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/23 15:20 android16-6.12 e8c85685a629 1e72964b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/20 11:45 android16-6.12 7aa7a88586d9 1e72964b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/15 20:31 android16-6.12 26014f6c6077 746171ee .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/04 00:59 android16-6.12 5098494bc7f3 9451e17e .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/07/31 18:22 android16-6.12 1a138e24e292 7664cf44 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/07/31 11:21 android16-6.12 7d66c8550304 aaffb173 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/07/30 10:48 android16-6.12 f1c9c21d1c2f 2377cd3d .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/07/30 00:12 android16-6.12 f1c9c21d1c2f 6ef5c1e2 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/07/29 04:44 android16-6.12 6f69867ef141 19622d9d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/07/28 00:24 android16-6.12 a12ab5a23a35 aae9036b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/07/27 23:54 android16-6.12 a12ab5a23a35 aae9036b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/07/27 01:07 android16-6.12 579215f16d4e 492bab15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/07/27 00:36 android16-6.12 579215f16d4e 492bab15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/07/24 17:03 android16-6.12 41c3d4eb44a7 dd737a83 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/26 22:20 android16-6.12 7ee04de323f7 a2b77b9e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/25 17:42 android16-6.12 e8191d250396 a9a1fc32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/25 02:44 android16-6.12 7f32621dc7d3 614e416a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/24 18:56 android16-6.12 7f32621dc7d3 b55bd4c3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/24 13:16 android16-6.12 e8c85685a629 b55bd4c3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/24 11:58 android16-6.12 e8c85685a629 b55bd4c3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/24 06:35 android16-6.12 e8c85685a629 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/24 00:33 android16-6.12 e8c85685a629 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/23 20:13 android16-6.12 e8c85685a629 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/23 18:23 android16-6.12 e8c85685a629 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/23 12:24 android16-6.12 e8c85685a629 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/23 03:55 android16-6.12 e8c85685a629 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/23 01:53 android16-6.12 e8c85685a629 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/22 22:44 android16-6.12 e8c85685a629 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/22 20:21 android16-6.12 e8c85685a629 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/22 17:32 android16-6.12 e8c85685a629 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/22 09:44 android16-6.12 e8c85685a629 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/22 00:03 android16-6.12 e8c85685a629 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/21 18:30 android16-6.12 3ab5872299d5 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/21 14:10 android16-6.12 3ab5872299d5 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/21 12:45 android16-6.12 3ab5872299d5 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/21 04:01 android16-6.12 11fb45c3d713 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/20 10:54 android16-6.12 7aa7a88586d9 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/20 04:31 android16-6.12 d47db5b1e129 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/18 15:49 android16-6.12 8dc5b20ad3ea 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/17 21:27 android16-6.12 b21af26d1628 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/17 18:37 android16-6.12 b21af26d1628 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/17 17:09 android16-6.12 b21af26d1628 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/17 13:26 android16-6.12 b21af26d1628 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/17 12:10 android16-6.12 26014f6c6077 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/17 07:57 android16-6.12 26014f6c6077 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/17 07:57 android16-6.12 26014f6c6077 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/17 02:32 android16-6.12 26014f6c6077 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/17 00:58 android16-6.12 26014f6c6077 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/15 22:24 android16-6.12 26014f6c6077 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/14 12:08 android16-6.12 c3360dde0a9e 6f9b3e89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/14 09:02 android16-6.12 c3360dde0a9e b13552fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/14 04:07 android16-6.12 7c466513655f b13552fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/14 00:10 android16-6.12 7c466513655f b13552fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/12 14:35 android16-6.12 0db85ff78f60 f8d35649 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/12 04:03 android16-6.12 0db85ff78f60 f8d35649 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
2026/08/11 09:42 android16-6.12 42b03373f376 508909ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in dummy_set_selfpowered
* Struck through repros no longer work on HEAD.