general protection fault in dummy_set_selfpowered

Status: upstream: reported C repro on 2026/07/26 13:33
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+2b15f56c84869c71aba2@syzkaller.appspotmail.com
First crash: 53d, last: 4d22h
Bug presence (2)
Date Name Commit Repro Result
2026/08/11 lts (merge base) 228da13e907e C [report] general protection fault in dummy_set_selfpowered
2026/08/11 upstream (ToT) d58772d8520c C [report] general protection fault in dummy_set_selfpowered
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 5d13h 49d 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 142 17h49m 53d 0/1 premoderation: reported C repro on 2026/07/24 15:05
android-5-15 general protection fault in dummy_set_selfpowered origin:upstream 2 syz, C 94 20d 53d 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 19d 53d 0/3 upstream: reported C repro on 2026/07/24 22:03
linux-6.6 general protection fault in dummy_set_selfpowered 2 syz, C 55 20d 53d 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 19d 53d 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 20d 53d 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/11 03:33 12m retest repro android14-6.1 report job log log
2026/09/11 03:33 18m retest repro android14-6.1 report job log log
2026/09/11 03:33 14m retest repro android14-6.1 report job log log
2026/09/11 03:33 14m retest repro android14-6.1 report job log log
2026/09/11 03:33 12m retest repro android14-6.1 report job log log

Sample crash report:
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: 305 Comm: syz-executor383 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:887
Code: 94 c0 4d 8d b4 c6 e0 04 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 5e 8f 6a fe 4d 8b 3e 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 45 8f 6a fe 41 be 68 11 00 00 4d
RSP: 0018:ffffc90000e77738 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff88810fe16540 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffffc90000e77758 R08: ffff8881001b0a67 R09: 1ffff1102003614c
R10: 0000000000000000 R11: ffffed102003614d R12: dffffc0000000000
R13: ffff88810f42b468 R14: ffff88810dac1170 R15: 0000000000000000
FS:  000055557a0923c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c4123dd6f0 CR3: 0000000109323000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 usb_gadget_set_selfpowered+0x7a/0x190 drivers/usb/gadget/udc/core.c:554
 composite_dev_prepare+0x2e7/0x310 drivers/usb/gadget/composite.c:2279
 configfs_composite_bind+0xb4/0x13b0 drivers/usb/gadget/configfs.c:1339
 gadget_bind_driver+0x2eb/0x990 drivers/usb/gadget/udc/core.c:1623
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x2d7/0x9a0 drivers/base/dd.c:639
 __driver_probe_device+0x193/0x270 drivers/base/dd.c:808
 driver_probe_device+0x54/0x3e0 drivers/base/dd.c:838
 __driver_attach+0x41a/0x5d0 drivers/base/dd.c:1224
 bus_for_each_dev+0x18c/0x200 drivers/base/bus.c:303
 driver_attach+0x42/0x50 drivers/base/dd.c:1241
 bus_add_driver+0x322/0x560 drivers/base/bus.c:620
 driver_register+0x335/0x440 drivers/base/driver.c:246
 usb_gadget_register_driver_owner+0xf8/0x270 drivers/usb/gadget/udc/core.c:1713
 gadget_dev_desc_UDC_store+0x220/0x340 drivers/usb/gadget/configfs.c:327
 flush_write_buffer fs/configfs/file.c:207 [inline]
 configfs_write_iter+0x323/0x410 fs/configfs/file.c:229
 call_write_iter include/linux/fs.h:2282 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x5ef/0xd00 fs/read_write.c:584
 ksys_write+0x14a/0x260 fs/read_write.c:637
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __x64_sys_write+0x7b/0x90 fs/read_write.c:646
 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f394f101d79
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:00007ffd7e98e1f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000200000000200 RCX: 00007f394f101d79
RDX: 000000000000000b RSI: 0000200000000b00 RDI: 0000000000000004
RBP: 6769666e6f632f2e R08: 00000000000a8c88 R09: 00000000000a8c88
R10: 00000000000a8c88 R11: 0000000000000246 R12: 00007ffd7e98e328
R13: 0000000000000002 R14: 00007f394f192ca0 R15: 0000000000000002
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dummy_set_selfpowered+0xbc/0x150 drivers/usb/gadget/udc/dummy_hcd.c:887
Code: 94 c0 4d 8d b4 c6 e0 04 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 5e 8f 6a fe 4d 8b 3e 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 45 8f 6a fe 41 be 68 11 00 00 4d
RSP: 0018:ffffc90000e77738 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff88810fe16540 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffffc90000e77758 R08: ffff8881001b0a67 R09: 1ffff1102003614c
R10: 0000000000000000 R11: ffffed102003614d R12: dffffc0000000000
R13: ffff88810f42b468 R14: ffff88810dac1170 R15: 0000000000000000
FS:  000055557a0923c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c4123dd6f0 CR3: 0000000109323000 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 e0 04 00 	lea    0x4e0(%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 5e 8f 6a fe       	call   0xfe6a8f7c
  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 45 8f 6a fe       	call   0xfe6a8f7c
  37:	41 be 68 11 00 00    	mov    $0x1168,%r14d
  3d:	4d                   	rex.WRB

Crashes (95):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/22 11:40 android14-6.1 92668decd5e0 1e72964b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/21 15:29 android14-6.1 92668decd5e0 1e72964b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/21 03:56 android14-6.1 92668decd5e0 1e72964b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/20 05:47 android14-6.1 92668decd5e0 1e72964b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/19 21:10 android14-6.1 92668decd5e0 1e72964b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/19 20:39 android14-6.1 92668decd5e0 1e72964b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/19 10:10 android14-6.1 92668decd5e0 1e72964b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/19 09:38 android14-6.1 92668decd5e0 1e72964b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/19 06:37 android14-6.1 92668decd5e0 1e72964b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/07/26 13:22 android14-6.1 92668decd5e0 492bab15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/23 20:16 android14-6.1 92668decd5e0 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/23 08:49 android14-6.1 92668decd5e0 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/23 00:32 android14-6.1 92668decd5e0 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/22 02:49 android14-6.1 92668decd5e0 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/21 23:35 android14-6.1 92668decd5e0 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/21 19:32 android14-6.1 92668decd5e0 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/21 12:09 android14-6.1 92668decd5e0 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/21 05:07 android14-6.1 92668decd5e0 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/21 03:58 android14-6.1 92668decd5e0 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/20 23:15 android14-6.1 92668decd5e0 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/20 21:11 android14-6.1 92668decd5e0 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/20 16:59 android14-6.1 92668decd5e0 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/20 00:23 android14-6.1 92668decd5e0 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/18 17:29 android14-6.1 92668decd5e0 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/18 15:46 android14-6.1 92668decd5e0 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/18 08:12 android14-6.1 92668decd5e0 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/18 00:36 android14-6.1 92668decd5e0 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/17 14:34 android14-6.1 92668decd5e0 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/17 12:18 android14-6.1 92668decd5e0 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/17 09:48 android14-6.1 92668decd5e0 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/17 07:37 android14-6.1 92668decd5e0 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/16 22:39 android14-6.1 92668decd5e0 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/16 20:04 android14-6.1 92668decd5e0 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/16 12:18 android14-6.1 92668decd5e0 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/16 09:24 android14-6.1 92668decd5e0 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/16 05:53 android14-6.1 92668decd5e0 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/16 01:47 android14-6.1 92668decd5e0 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/15 07:44 android14-6.1 92668decd5e0 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/15 02:04 android14-6.1 92668decd5e0 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/15 02:03 android14-6.1 92668decd5e0 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/14 14:34 android14-6.1 92668decd5e0 6f9b3e89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/14 14:34 android14-6.1 92668decd5e0 6f9b3e89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/14 06:56 android14-6.1 92668decd5e0 b13552fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/14 03:06 android14-6.1 92668decd5e0 b13552fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/13 19:10 android14-6.1 92668decd5e0 b13552fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/13 15:07 android14-6.1 92668decd5e0 359b2492 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/13 11:57 android14-6.1 92668decd5e0 359b2492 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/13 04:48 android14-6.1 92668decd5e0 359b2492 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/12 19:36 android14-6.1 92668decd5e0 359b2492 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/12 15:20 android14-6.1 92668decd5e0 f8d35649 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/12 15:20 android14-6.1 92668decd5e0 f8d35649 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/12 07:49 android14-6.1 92668decd5e0 f8d35649 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/12 07:40 android14-6.1 92668decd5e0 f8d35649 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
2026/08/12 07:40 android14-6.1 92668decd5e0 f8d35649 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in dummy_set_selfpowered
* Struck through repros no longer work on HEAD.