general protection fault in dummy_set_selfpowered

Status: upstream: reported C repro on 2026/07/24 22:03
Reported-by: syzbot+9e82e63d823b71764eb6@syzkaller.appspotmail.com
First crash: 58d, last: 25d
Bug presence (1)
Date Name Commit Repro Result
2026/08/23 upstream (ToT) 2709dd5ae32f C Failed due to an error; will retry later
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 10d 54d 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 6d01h 58d 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 2d11h 58d 0/2 upstream: reported C repro on 2026/07/25 00:06
android-6-1 general protection fault in dummy_set_selfpowered origin:upstream 2 syz, C 95 10d 56d 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 25d 58d 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 25d 58d 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 25d 58d 0/3 upstream: reported C repro on 2026/07/24 22:26

Sample crash report:
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: 4323 Comm: syz.0.18 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:dummy_set_selfpowered+0xb7/0x150 drivers/usb/gadget/udc/dummy_hcd.c:902
Code: 94 c0 4d 8d b4 c6 f8 06 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 63 96 87 fb 4d 8b 3e 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 4a 96 87 fb 41 be f0 12 00 00 4d
RSP: 0018:ffffc90002f8fa38 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff88802291bb80
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000005
RBP: 0000000000000003 R08: ffffffff8c44fc27 R09: 1ffffffff1889f84
R10: dffffc0000000000 R11: fffffbfff1889f85 R12: dffffc0000000000
R13: ffff88807e6ec4b8 R14: ffff888023db12f8 R15: 0000000000000000
FS:  00005555594b9500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32163fff CR3: 000000007e1c8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 usb_gadget_set_selfpowered+0x6a/0x230 drivers/usb/gadget/udc/core.c:561
 composite_dev_prepare+0x2f3/0x310 drivers/usb/gadget/composite.c:2323
 configfs_composite_bind+0xa1/0xf60 drivers/usb/gadget/configfs.c:1310
 udc_bind_to_driver+0x203/0x5f0 drivers/usb/gadget/udc/core.c:1574
 usb_gadget_probe_driver+0x1fb/0x380 drivers/usb/gadget/udc/core.c:1637
 gadget_dev_desc_UDC_store+0x1ba/0x2e0 drivers/usb/gadget/configfs.c:289
 flush_write_buffer fs/configfs/file.c:207 [inline]
 configfs_write_iter+0x30b/0x400 fs/configfs/file.c:229
 call_write_iter include/linux/fs.h:2173 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0x748/0xd70 fs/read_write.c:594
 ksys_write+0x153/0x260 fs/read_write.c:647
 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:0x7f5fbb8f10d9
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:00007ffffd0a8668 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f5fbbb78fa0 RCX: 00007f5fbb8f10d9
RDX: 000000000000000b RSI: 0000200000000740 RDI: 0000000000000003
RBP: 00007f5fbb988024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5fbbb78fac R14: 00007f5fbbb78fa0 R15: 00007f5fbbb78fa0
 </TASK>
Modules linked in:
---[ end trace 7e43e33dfeff6875 ]---
RIP: 0010:dummy_set_selfpowered+0xb7/0x150 drivers/usb/gadget/udc/dummy_hcd.c:902
Code: 94 c0 4d 8d b4 c6 f8 06 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 63 96 87 fb 4d 8b 3e 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 4a 96 87 fb 41 be f0 12 00 00 4d
RSP: 0018:ffffc90002f8fa38 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff88802291bb80
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000005
RBP: 0000000000000003 R08: ffffffff8c44fc27 R09: 1ffffffff1889f84
R10: dffffc0000000000 R11: fffffbfff1889f85 R12: dffffc0000000000
R13: ffff88807e6ec4b8 R14: ffff888023db12f8 R15: 0000000000000000
FS:  00005555594b9500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000035fc06725000 CR3: 000000007e1c8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	94                   	xchg   %eax,%esp
   1:	c0 4d 8d b4          	rorb   $0xb4,-0x73(%rbp)
   5:	c6 f8 06             	xabort $0x6
   8:	00 00                	add    %al,(%rax)
   a:	4c 89 f0             	mov    %r14,%rax
   d:	48 c1 e8 03          	shr    $0x3,%rax
  11:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1)
  16:	74 08                	je     0x20
  18:	4c 89 f7             	mov    %r14,%rdi
  1b:	e8 63 96 87 fb       	call   0xfb879683
  20:	4d 8b 3e             	mov    (%r14),%r15
  23:	4c 89 f8             	mov    %r15,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 ff             	mov    %r15,%rdi
  34:	e8 4a 96 87 fb       	call   0xfb879683
  39:	41 be f0 12 00 00    	mov    $0x12f0,%r14d
  3f:	4d                   	rex.WRB

Crashes (51):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/20 19:20 linux-5.15.y 0eb903b5b519 1e72964b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/12 14:51 linux-5.15.y aabd761612db f8d35649 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/27 03:53 linux-5.15.y 945fa863f02c a2b77b9e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/26 09:48 linux-5.15.y 945fa863f02c 6a91adb4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/26 05:39 linux-5.15.y 945fa863f02c 6a91adb4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/25 16:34 linux-5.15.y 945fa863f02c a9a1fc32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/24 16:03 linux-5.15.y 945fa863f02c b55bd4c3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/23 19:02 linux-5.15.y 945fa863f02c 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/21 04:05 linux-5.15.y 0eb903b5b519 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/20 00:26 linux-5.15.y 0eb903b5b519 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/20 00:25 linux-5.15.y 0eb903b5b519 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/20 00:22 linux-5.15.y 0eb903b5b519 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/20 00:22 linux-5.15.y 0eb903b5b519 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/19 22:14 linux-5.15.y 0eb903b5b519 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/19 20:49 linux-5.15.y 0eb903b5b519 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/18 05:03 linux-5.15.y aabd761612db 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/18 05:01 linux-5.15.y aabd761612db 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/18 05:00 linux-5.15.y aabd761612db 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/17 16:06 linux-5.15.y aabd761612db 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/17 16:06 linux-5.15.y aabd761612db 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/16 03:13 linux-5.15.y aabd761612db 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/16 03:12 linux-5.15.y aabd761612db 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/15 11:31 linux-5.15.y aabd761612db 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/15 07:49 linux-5.15.y aabd761612db 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/15 07:48 linux-5.15.y aabd761612db 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/15 07:45 linux-5.15.y aabd761612db 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/15 07:12 linux-5.15.y aabd761612db 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/15 07:12 linux-5.15.y aabd761612db 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/14 18:25 linux-5.15.y aabd761612db 6f9b3e89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/14 18:24 linux-5.15.y aabd761612db 6f9b3e89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/14 18:21 linux-5.15.y aabd761612db 6f9b3e89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/14 14:53 linux-5.15.y aabd761612db 6f9b3e89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/14 05:42 linux-5.15.y aabd761612db b13552fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/13 22:39 linux-5.15.y aabd761612db b13552fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/13 22:38 linux-5.15.y aabd761612db b13552fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/12 22:53 linux-5.15.y aabd761612db 359b2492 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/12 08:42 linux-5.15.y aabd761612db f8d35649 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/12 05:07 linux-5.15.y aabd761612db f8d35649 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/12 05:04 linux-5.15.y aabd761612db f8d35649 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/12 00:04 linux-5.15.y aabd761612db 71790083 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/11 01:34 linux-5.15.y aabd761612db 508909ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/08/10 22:37 linux-5.15.y aabd761612db 508909ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/07/29 07:54 linux-5.15.y 674f684f7c61 19622d9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/07/27 20:40 linux-5.15.y 674f684f7c61 aae9036b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/07/27 20:38 linux-5.15.y 674f684f7c61 aae9036b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/07/26 09:09 linux-5.15.y 674f684f7c61 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/07/24 22:03 linux-5.15.y 674f684f7c61 dd737a83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
2026/07/24 22:02 linux-5.15.y 674f684f7c61 dd737a83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in dummy_set_selfpowered
* Struck through repros no longer work on HEAD.