general protection fault in dummy_set_selfpowered

Status: upstream: reported C repro on 2026/07/25 01:11
Reported-by: syzbot+e6aa07b89235491b9670@syzkaller.appspotmail.com
First crash: 53d, last: 20d
Bug presence (1)
Date Name Commit Repro Result
2026/09/08 upstream (ToT) 28924df2a08f 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 5d15h 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 19h55m 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 20d 53d 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 5d00h 51d 0/2 upstream: reported C repro on 2026/07/26 13:33
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

Sample crash report:
dummy_hcd dummy_hcd.0: remove, state 4
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: 1 PID: 5928 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:dummy_set_selfpowered+0xbb/0x150 drivers/usb/gadget/udc/dummy_hcd.c:905
Code: 94 c0 4d 8d b4 c6 80 06 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 1f d3 23 fb 4d 8b 3e 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 06 d3 23 fb 41 be 78 12 00 00 4d
RSP: 0018:ffffc900033277e0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff888050dada00 RSI: 0000000000000003 RDI: 0000000000000005
RBP: 0000000000000003 R08: ffff888019e458df R09: 1ffff110033c8b1b
R10: dffffc0000000000 R11: ffffed10033c8b1c R12: dffffc0000000000
R13: ffff88802de90530 R14: ffff8881416b5280 R15: 0000000000000000
FS:  00005555709c1500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f25b2e70000 CR3: 00000000770be000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 usb_gadget_set_selfpowered+0x6e/0x230 drivers/usb/gadget/udc/core.c:578
 composite_dev_prepare+0x2fa/0x320 drivers/usb/gadget/composite.c:2464
 configfs_composite_bind+0xa1/0x13f0 drivers/usb/gadget/configfs.c:1699
 gadget_bind_driver+0x2b3/0x770 drivers/usb/gadget/udc/core.c:1651
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x247/0xae0 drivers/base/dd.c:717
 __driver_probe_device+0x1f5/0x390 drivers/base/dd.c:879
 driver_probe_device+0x4f/0x420 drivers/base/dd.c:909
 __driver_attach+0x444/0x6d0 drivers/base/dd.c:1295
 bus_for_each_dev+0x235/0x2b0 drivers/base/bus.c:370
 bus_add_driver+0x340/0x630 drivers/base/bus.c:723
 driver_register+0x23a/0x310 drivers/base/driver.c:246
 usb_gadget_register_driver_owner+0xf9/0x270 drivers/usb/gadget/udc/core.c:1730
 gadget_dev_desc_UDC_store+0x1c7/0x2e0 drivers/usb/gadget/configfs.c:300
 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:2018 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x474/0x9a0 fs/read_write.c:584
 ksys_write+0x151/0x260 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f25b2f9e0d9
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:00007ffebbf72278 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f25b3225fa0 RCX: 00007f25b2f9e0d9
RDX: 000000000000000b RSI: 0000200000000680 RDI: 0000000000000004
RBP: 00007f25b3035024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f25b3225fac R14: 00007f25b3225fa0 R15: 00007f25b3225fa0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dummy_set_selfpowered+0xbb/0x150 drivers/usb/gadget/udc/dummy_hcd.c:905
Code: 94 c0 4d 8d b4 c6 80 06 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 1f d3 23 fb 4d 8b 3e 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 06 d3 23 fb 41 be 78 12 00 00 4d
RSP: 0018:ffffc900033277e0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff888050dada00 RSI: 0000000000000003 RDI: 0000000000000005
RBP: 0000000000000003 R08: ffff888019e458df R09: 1ffff110033c8b1b
R10: dffffc0000000000 R11: ffffed10033c8b1c R12: dffffc0000000000
R13: ffff88802de90530 R14: ffff8881416b5280 R15: 0000000000000000
FS:  00005555709c1500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f25b2e70000 CR3: 00000000770be000 CR4: 00000000003506e0
----------------
Code disassembly (best guess):
   0:	94                   	xchg   %eax,%esp
   1:	c0 4d 8d b4          	rorb   $0xb4,-0x73(%rbp)
   5:	c6 80 06 00 00 4c 89 	movb   $0x89,0x4c000006(%rax)
   c:	f0 48 c1 e8 03       	lock 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 1f d3 23 fb       	call   0xfb23d33f
  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 06 d3 23 fb       	call   0xfb23d33f
  39:	41 be 78 12 00 00    	mov    $0x1278,%r14d
  3f:	4d                   	rex.WRB

Crashes (55):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/15 21:15 linux-6.6.y d27334b2888c 746171ee .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/26 23:34 linux-6.6.y dc6160265ffc a2b77b9e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/26 11:00 linux-6.6.y dc6160265ffc 6a91adb4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/26 05:55 linux-6.6.y dc6160265ffc 6a91adb4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/25 23:00 linux-6.6.y dc6160265ffc a9a1fc32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/25 21:46 linux-6.6.y dc6160265ffc a9a1fc32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/24 18:22 linux-6.6.y dc6160265ffc b55bd4c3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/24 03:38 linux-6.6.y dc6160265ffc 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/23 19:51 linux-6.6.y dc6160265ffc 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/21 22:46 linux-6.6.y c610b395b0a5 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/20 15:23 linux-6.6.y c610b395b0a5 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/20 00:05 linux-6.6.y c610b395b0a5 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/19 21:22 linux-6.6.y c610b395b0a5 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/17 21:28 linux-6.6.y d27334b2888c 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/17 21:28 linux-6.6.y d27334b2888c 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/17 19:36 linux-6.6.y d27334b2888c 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/17 18:58 linux-6.6.y d27334b2888c 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/17 18:39 linux-6.6.y d27334b2888c 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/17 10:28 linux-6.6.y d27334b2888c 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/16 23:02 linux-6.6.y d27334b2888c 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/16 00:58 linux-6.6.y d27334b2888c 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/15 11:33 linux-6.6.y d27334b2888c 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/12 21:47 linux-6.6.y d27334b2888c 359b2492 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/12 21:45 linux-6.6.y d27334b2888c 359b2492 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/12 08:50 linux-6.6.y d27334b2888c f8d35649 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/12 08:50 linux-6.6.y d27334b2888c f8d35649 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/11 18:04 linux-6.6.y d27334b2888c 71790083 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/10 22:51 linux-6.6.y d27334b2888c 508909ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/10 22:45 linux-6.6.y d27334b2888c 508909ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/10 03:08 linux-6.6.y d27334b2888c 5d63f80b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/10 02:04 linux-6.6.y d27334b2888c 5d63f80b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/10 00:42 linux-6.6.y d27334b2888c 5d63f80b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/10 00:40 linux-6.6.y d27334b2888c 5d63f80b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/04 18:54 linux-6.6.y aa0e49877a2e d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/04 18:54 linux-6.6.y aa0e49877a2e d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/04 04:58 linux-6.6.y aa0e49877a2e 9451e17e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/03 15:16 linux-6.6.y aa0e49877a2e 6b7c9f71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/02 08:59 linux-6.6.y a1153c0deb44 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/08/01 19:03 linux-6.6.y a1153c0deb44 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/07/31 17:13 linux-6.6.y a1153c0deb44 7664cf44 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/07/31 17:13 linux-6.6.y a1153c0deb44 7664cf44 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/07/30 23:39 linux-6.6.y a1153c0deb44 aaffb173 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/07/29 05:49 linux-6.6.y c5596480c50e 19622d9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/07/29 05:49 linux-6.6.y c5596480c50e 19622d9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/07/29 00:41 linux-6.6.y c5596480c50e edc8a875 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/07/29 00:40 linux-6.6.y c5596480c50e edc8a875 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/07/29 00:39 linux-6.6.y c5596480c50e edc8a875 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/07/28 00:44 linux-6.6.y c5596480c50e aae9036b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/07/28 00:43 linux-6.6.y c5596480c50e aae9036b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/07/28 00:40 linux-6.6.y c5596480c50e aae9036b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/07/28 00:40 linux-6.6.y c5596480c50e aae9036b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/07/28 00:40 linux-6.6.y c5596480c50e aae9036b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
2026/07/25 01:10 linux-6.6.y da47cbc25466 dd737a83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in dummy_set_selfpowered
* Struck through repros no longer work on HEAD.