BUG: unable to handle kernel paging request in dummy_set_selfpowered

Status: upstream: reported on 2026/07/24 22:26
Reported-by: syzbot+221ed22d6b6d69b8f53f@syzkaller.appspotmail.com
First crash: 6d17h, last: 2d06h
Similar bugs (7)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in dummy_set_selfpowered usb prio:low 10 syz, C error 389 24m 3d01h 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 37 4h25m 7d00h 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 26 1d04h 6d15h 0/2 upstream: reported C repro on 2026/07/25 00:06
linux-5.15 general protection fault in dummy_set_selfpowered 2 6 2d07h 6d17h 0/3 upstream: reported on 2026/07/24 22:03
android-6-1 general protection fault in dummy_set_selfpowered 2 syz, C 18 1d02h 5d02h 0/2 upstream: reported C repro on 2026/07/26 13:33
linux-6.6 general protection fault in dummy_set_selfpowered 2 12 16h07m 6d14h 0/2 upstream: reported on 2026/07/25 01:11
android-5-10 general protection fault in dummy_set_selfpowered 2 syz, C 34 1d17h 6d20h 0/2 upstream: reported C repro on 2026/07/24 18:49

Sample crash report:
Unable to handle kernel paging request at virtual address dfff800000000000
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
Mem abort info:
  ESR = 0x0000000096000006
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x06: level 2 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000006
  CM = 0, WnR = 0
[dfff800000000000] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 13729 Comm: syz.5.1650 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/02/2026
pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--)
pc : dummy_set_selfpowered+0xb0/0x158 drivers/usb/gadget/udc/dummy_hcd.c:887
lr : gadget_to_dummy_hcd drivers/usb/gadget/udc/dummy_hcd.c:316 [inline]
lr : dummy_set_selfpowered+0x80/0x158 drivers/usb/gadget/udc/dummy_hcd.c:887
sp : ffff800021b77570
x29: ffff800021b77570 x28: 1fffe0001ab0ac95 x27: 1fffe0001a3e918b
x26: dfff800000000000 x25: ffff0000e8d74110 x24: ffff0000e8d74148
x23: ffff0000d5856510 x22: dfff800000000000 x21: 0000000000000003
x20: 0000000000000000 x19: 0000000000000001 x18: 0000000000000000
x17: ffff8000089b57b8 x16: ffff800011b90540 x15: ffff8000089b6114
x14: 0000000000000001 x13: 1fffe0001800461b x12: 0000000000080000
x11: ff0080000dceb90c x10: 0000000000000002 x9 : 0000000000000658
x8 : 0000000000000000 x7 : ffff800008bdbb1c x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000082d66b0
x2 : 0000000000000001 x1 : 0000000000000003 x0 : 0000000000000005
Call trace:
 dummy_set_selfpowered+0xb0/0x158 drivers/usb/gadget/udc/dummy_hcd.c:887
 usb_gadget_set_selfpowered+0x70/0x388 drivers/usb/gadget/udc/core.c:578
 composite_dev_prepare+0x28c/0x2bc drivers/usb/gadget/composite.c:2338
 configfs_composite_bind+0xa0/0xce4 drivers/usb/gadget/configfs.c:1302
 gadget_bind_driver+0x26c/0x684 drivers/usb/gadget/udc/core.c:1651
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x3a0/0xac4 drivers/base/dd.c:638
 __driver_probe_device+0x1c8/0x368 drivers/base/dd.c:804
 driver_probe_device+0x78/0x324 drivers/base/dd.c:834
 __driver_attach+0x3bc/0x614 drivers/base/dd.c:1220
 bus_for_each_dev+0x148/0x1d0 drivers/base/bus.c:303
 driver_attach+0x50/0x60 drivers/base/dd.c:1237
 bus_add_driver+0x2c0/0x518 drivers/base/bus.c:620
 driver_register+0x200/0x37c drivers/base/driver.c:246
 usb_gadget_register_driver_owner+0xf0/0x25c drivers/usb/gadget/udc/core.c:1730
 gadget_dev_desc_UDC_store+0x168/0x268 drivers/usb/gadget/configfs.c:290
 flush_write_buffer fs/configfs/file.c:207 [inline]
 configfs_write_iter+0x260/0x338 fs/configfs/file.c:229
 call_write_iter include/linux/fs.h:2265 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x3c8/0x7c8 fs/read_write.c:584
 ksys_write+0x12c/0x228 fs/read_write.c:637
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __arm64_sys_write+0x7c/0x90 fs/read_write.c:646
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
Code: aa1403e0 96b0252e f9400294 d343fe88 (38766908) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	aa1403e0 	mov	x0, x20
   4:	96b0252e 	bl	0xfffffffffac094bc
   8:	f9400294 	ldr	x20, [x20]
   c:	d343fe88 	lsr	x8, x20, #3
* 10:	38766908 	ldrb	w8, [x8, x22] <-- trapping instruction

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/29 09:38 linux-6.1.y dc5c83b7f5f8 19622d9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in dummy_set_selfpowered
2026/07/26 08:06 linux-6.1.y dc5c83b7f5f8 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in dummy_set_selfpowered
2026/07/25 11:50 linux-6.1.y dc5c83b7f5f8 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in dummy_set_selfpowered
2026/07/25 11:50 linux-6.1.y dc5c83b7f5f8 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in dummy_set_selfpowered
2026/07/24 22:26 linux-6.1.y dc5c83b7f5f8 dd737a83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in dummy_set_selfpowered
2026/07/28 12:29 linux-6.1.y dc5c83b7f5f8 45ae1df4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in dummy_set_selfpowered
2026/07/28 08:13 linux-6.1.y dc5c83b7f5f8 45ae1df4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in dummy_set_selfpowered
2026/07/26 13:53 linux-6.1.y dc5c83b7f5f8 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in dummy_set_selfpowered
2026/07/25 14:50 linux-6.1.y dc5c83b7f5f8 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in dummy_set_selfpowered
* Struck through repros no longer work on HEAD.