general protection fault in dummy_set_selfpowered

Status: upstream: reported C repro on 2026/07/24 18:49
Reported-by: syzbot+dffe5ed79f58d9c490d3@syzkaller.appspotmail.com
First crash: 50d, last: 16d
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 2d10h 46d 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 17d 50d 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 17d 50d 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 16d 50d 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 1d20h 48d 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 17d 49d 0/2 upstream: reported C repro on 2026/07/25 01:11
linux-6.1 BUG: unable to handle kernel paging request in dummy_set_selfpowered origin:upstream 8 syz, C 95 17d 50d 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: 297 Comm: syz-executor229 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:900
Code: 94 c0 4d 8d b4 c6 f0 04 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 6e 75 92 fe 4d 8b 3e 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 55 75 92 fe 41 be 78 11 00 00 4d
RSP: 0018:ffffc90000b779f0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff88812186e2c0 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffffc90000b77a10 R08: ffff88810005926f R09: 1ffff1102000b24d
R10: dffffc0000000000 R11: ffffed102000b24e R12: dffffc0000000000
R13: ffff888106593478 R14: ffff88810b851180 R15: 0000000000000000
FS:  00005555606183c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffffaf50698 CR3: 00000001218b2000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 usb_gadget_set_selfpowered+0x6c/0x180 drivers/usb/gadget/udc/core.c:536
 composite_dev_prepare+0x2e7/0x310 drivers/usb/gadget/composite.c:2274
 configfs_composite_bind+0xb4/0x13a0 drivers/usb/gadget/configfs.c:1336
 udc_bind_to_driver+0x24e/0x6d0 drivers/usb/gadget/udc/core.c:1573
 usb_gadget_probe_driver+0x1fc/0x380 drivers/usb/gadget/udc/core.c:1639
 gadget_dev_desc_UDC_store+0x217/0x330 drivers/usb/gadget/configfs.c:321
 flush_write_buffer fs/configfs/file.c:251 [inline]
 configfs_write_file+0x320/0x3d0 fs/configfs/file.c:283
 vfs_write+0x344/0xd70 fs/read_write.c:603
 ksys_write+0x14a/0x260 fs/read_write.c:658
 __do_sys_write fs/read_write.c:670 [inline]
 __se_sys_write fs/read_write.c:667 [inline]
 __x64_sys_write+0x7b/0x90 fs/read_write.c:667
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7ff58e645d79
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:00007ffdfab27bb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 6769666e6f632f2e RCX: 00007ff58e645d79
RDX: 000000000000000b RSI: 0000200000000680 RDI: 0000000000000004
RBP: 00737973796d2f2e R08: 00000000000a8c88 R09: 00000000000a8c88
R10: 00000000000a8c88 R11: 0000000000000246 R12: 00007ffdfab27ce8
R13: 0000000000000002 R14: 00007ff58e6d6ca0 R15: 0000000000000002
Modules linked in:
---[ end trace 223c734bb6491174 ]---
RIP: 0010:dummy_set_selfpowered+0xbc/0x150 drivers/usb/gadget/udc/dummy_hcd.c:900
Code: 94 c0 4d 8d b4 c6 f0 04 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 6e 75 92 fe 4d 8b 3e 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 55 75 92 fe 41 be 78 11 00 00 4d
RSP: 0018:ffffc90000b779f0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff88812186e2c0 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffffc90000b77a10 R08: ffff88810005926f R09: 1ffff1102000b24d
R10: dffffc0000000000 R11: ffffed102000b24e R12: dffffc0000000000
R13: ffff888106593478 R14: ffff88810b851180 R15: 0000000000000000
FS:  00005555606183c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffffaf50698 CR3: 00000001218b2000 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 f0 04 00 	lea    0x4f0(%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 6e 75 92 fe       	call   0xfe92758c
  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 55 75 92 fe       	call   0xfe92758c
  37:	41 be 78 11 00 00    	mov    $0x1178,%r14d
  3d:	4d                   	rex.WRB

Crashes (145):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/26 04:55 android13-5.10-lts f01343e230a3 6a91adb4 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/23 03:42 android13-5.10-lts e334a66065d3 1e72964b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/22 06:40 android13-5.10-lts e334a66065d3 1e72964b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/18 14:57 android13-5.10-lts e334a66065d3 1e72964b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/15 12:19 android13-5.10-lts e334a66065d3 746171ee .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/01 12:34 android13-5.10-lts 50b3a256e550 e611ffe1 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/07/29 22:28 android13-5.10-lts 50b3a256e550 6ef5c1e2 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/07/29 12:01 android13-5.10-lts 50b3a256e550 19622d9d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/07/29 00:50 android13-5.10-lts 50b3a256e550 edc8a875 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/07/28 11:06 android13-5.10-lts 50b3a256e550 45ae1df4 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/07/27 03:30 android13-5.10-lts 50b3a256e550 492bab15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/07/26 04:29 android13-5.10-lts 50b3a256e550 492bab15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/07/25 22:09 android13-5.10-lts 50b3a256e550 492bab15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/07/25 19:09 android13-5.10-lts 50b3a256e550 492bab15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/07/24 22:47 android13-5.10-lts 50b3a256e550 dd737a83 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/07/24 21:10 android13-5.10-lts 50b3a256e550 dd737a83 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/07/24 19:37 android13-5.10-lts 50b3a256e550 dd737a83 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/07/24 18:42 android13-5.10-lts 50b3a256e550 dd737a83 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/27 09:26 android13-5.10-lts 174d3ccb72b8 a2b77b9e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/26 21:55 android13-5.10-lts 174d3ccb72b8 a2b77b9e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/26 20:36 android13-5.10-lts 174d3ccb72b8 a2b77b9e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/26 18:16 android13-5.10-lts 174d3ccb72b8 a2b77b9e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/26 13:11 android13-5.10-lts 174d3ccb72b8 a2b77b9e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/26 01:07 android13-5.10-lts f01343e230a3 6a91adb4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/25 20:42 android13-5.10-lts f01343e230a3 a9a1fc32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/25 19:09 android13-5.10-lts f01343e230a3 a9a1fc32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/25 16:16 android13-5.10-lts f01343e230a3 a9a1fc32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/25 13:49 android13-5.10-lts f01343e230a3 a9a1fc32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/25 08:37 android13-5.10-lts f01343e230a3 614e416a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/25 06:32 android13-5.10-lts f01343e230a3 614e416a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/25 04:48 android13-5.10-lts f01343e230a3 614e416a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/24 20:43 android13-5.10-lts 7fd25e02391a b55bd4c3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/24 18:52 android13-5.10-lts 7fd25e02391a b55bd4c3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/24 15:18 android13-5.10-lts 7fd25e02391a b55bd4c3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/24 11:28 android13-5.10-lts 7fd25e02391a b55bd4c3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/24 07:39 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/24 00:11 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/23 22:43 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/23 12:36 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/23 10:14 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/23 05:51 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/23 01:17 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/22 17:41 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/22 11:35 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/21 19:00 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/21 15:53 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/21 10:06 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/20 18:52 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/20 15:58 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/19 09:26 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/19 04:49 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/18 19:28 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/18 17:54 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/18 12:21 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/18 07:07 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/18 06:02 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/18 04:56 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/18 02:19 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/18 00:15 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/17 19:33 android13-5.10-lts e334a66065d3 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/17 18:00 android13-5.10-lts e334a66065d3 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
2026/08/17 14:52 android13-5.10-lts e334a66065d3 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in dummy_set_selfpowered
* Struck through repros no longer work on HEAD.