[Android 5.10] general protection fault in dummy_set_selfpowered

2 views
Skip to first unread message

syzbot

unread,
Jul 24, 2026, 2:49:36 PM (21 hours ago) Jul 24
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 50b3a256e550 Merge 5.10.260 into android13-5.10-lts
git tree: android13-5.10-lts
console output: https://syzkaller.appspot.com/x/log.txt?x=143122a9580000
kernel config: https://syzkaller.appspot.com/x/.config?x=57bdfa4a173e5087
dashboard link: https://syzkaller.appspot.com/bug?extid=dffe5ed79f58d9c490d3
compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11b0a6b9580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=155dc232580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/34994db436ce/disk-50b3a256.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/7855257a6b73/vmlinux-50b3a256.xz
kernel image: https://storage.googleapis.com/syzbot-assets/6367ad2e120a/bzImage-50b3a256.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+dffe5e...@syzkaller.appspotmail.com

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: 0 PID: 369 Comm: syz.2.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026
RIP: 0010:dummy_set_selfpowered+0xbc/0x150 drivers/usb/gadget/udc/dummy_hcd.c:882
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 0e 64 92 fe 4d 8b 3e 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 f5 63 92 fe 41 be 78 11 00 00 4d
RSP: 0018:ffffc90000c679f0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff88812adfa780 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffffc90000c67a10 R08: ffff888100059a6f R09: 1ffff1102000b34d
R10: dffffc0000000000 R11: ffffed102000b34e R12: dffffc0000000000
R13: ffff8881113d5478 R14: ffff888103fb9180 R15: 0000000000000000
FS: 00005555579c4500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000556eaf7d7550 CR3: 0000000110a4e000 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:2273
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:0x7f382888be99
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:00007ffce8e7ab58 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f3828b13fa0 RCX: 00007f382888be99
RDX: 000000000000000c RSI: 0000200000000400 RDI: 0000000000000004
RBP: 00007f3828921eaf R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3828b13fac R14: 00007f3828b13fa0 R15: 00007f3828b13fa0
Modules linked in:
---[ end trace 3c111dfe869d031b ]---
RIP: 0010:dummy_set_selfpowered+0xbc/0x150 drivers/usb/gadget/udc/dummy_hcd.c:882
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 0e 64 92 fe 4d 8b 3e 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 f5 63 92 fe 41 be 78 11 00 00 4d
RSP: 0018:ffffc90000c679f0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff88812adfa780 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffffc90000c67a10 R08: ffff888100059a6f R09: 1ffff1102000b34d
R10: dffffc0000000000 R11: ffffed102000b34e R12: dffffc0000000000
R13: ffff8881113d5478 R14: ffff888103fb9180 R15: 0000000000000000
FS: 00005555579c4500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000556eaf7d7550 CR3: 0000000110a4e000 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 0e 64 92 fe call 0xfe92642c
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 f5 63 92 fe call 0xfe92642c
37: 41 be 78 11 00 00 mov $0x1178,%r14d
3d: 4d rex.WRB


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Jul 24, 2026, 8:06:47 PM (16 hours ago) Jul 24
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 61d896ee2a80 Revert "hdlc_ppp: sync per-proto timers befor..
git tree: android13-5.15-lts
console output: https://syzkaller.appspot.com/x/log.txt?x=17bcc7b1580000
kernel config: https://syzkaller.appspot.com/x/.config?x=43676e801f1929a9
dashboard link: https://syzkaller.appspot.com/bug?extid=62f480062aaab954ddc4
compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=17efc232580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=14bf588e580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/bcb85cf50754/disk-61d896ee.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/7e4ac22ab0e5/vmlinux-61d896ee.xz
kernel image: https://storage.googleapis.com/syzbot-assets/14b47a248e31/bzImage-61d896ee.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+62f480...@syzkaller.appspotmail.com

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: 371 Comm: syz.2.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026
RIP: 0010:dummy_set_selfpowered+0xbc/0x150 drivers/usb/gadget/udc/dummy_hcd.c:884
Code: 94 c0 4d 8d b4 c6 d0 04 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 1e 81 7f fe 4d 8b 3e 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 05 81 7f fe 41 be 58 11 00 00 4d
RSP: 0018:ffffc90002b979e0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff88810bea2780
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffffc90002b97a00 R08: ffff888100059d6f R09: 1ffff1102000b3ad
R10: dffffc0000000000 R11: ffffed102000b3ae R12: dffffc0000000000
R13: ffff88811188f478 R14: ffff8881017a9160 R15: 0000000000000000
FS: 0000555590806500(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001000 CR3: 0000000129c28000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
usb_gadget_set_selfpowered+0x6c/0x180 drivers/usb/gadget/udc/core.c:534
composite_dev_prepare+0x2e7/0x310 drivers/usb/gadget/composite.c:2277
configfs_composite_bind+0xb4/0x13a0 drivers/usb/gadget/configfs.c:1342
udc_bind_to_driver+0x1fb/0x770 drivers/usb/gadget/udc/core.c:1511
usb_gadget_probe_driver+0x1fc/0x380 drivers/usb/gadget/udc/core.c:1589
gadget_dev_desc_UDC_store+0x217/0x330 drivers/usb/gadget/configfs.c:321
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:2212 [inline]
new_sync_write fs/read_write.c:507 [inline]
vfs_write+0x831/0xfd0 fs/read_write.c:594
ksys_write+0x14a/0x260 fs/read_write.c:647
__do_sys_write fs/read_write.c:659 [inline]
__se_sys_write fs/read_write.c:656 [inline]
__x64_sys_write+0x7b/0x90 fs/read_write.c:656
x64_sys_call+0x8ef/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2
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:0x7ff6fcb9ee99
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:00007ffc386b38c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ff6fce26fa0 RCX: 00007ff6fcb9ee99
RDX: 000000000000000c RSI: 0000200000001000 RDI: 0000000000000004
RBP: 00007ff6fcc34eaf R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ff6fce26fac R14: 00007ff6fce26fa0 R15: 00007ff6fce26fa0
</TASK>
Modules linked in:
---[ end trace 2d63b810bb440e15 ]---
RIP: 0010:dummy_set_selfpowered+0xbc/0x150 drivers/usb/gadget/udc/dummy_hcd.c:884
Code: 94 c0 4d 8d b4 c6 d0 04 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 1e 81 7f fe 4d 8b 3e 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 05 81 7f fe 41 be 58 11 00 00 4d
RSP: 0018:ffffc90002b979e0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff88810bea2780
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffffc90002b97a00 R08: ffff888100059d6f R09: 1ffff1102000b3ad
R10: dffffc0000000000 R11: ffffed102000b3ae R12: dffffc0000000000
R13: ffff88811188f478 R14: ffff8881017a9160 R15: 0000000000000000
FS: 0000555590806500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055b97597bfd8 CR3: 0000000129c28000 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 d0 04 00 lea 0x4d0(%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 1e 81 7f fe call 0xfe7f813c
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 05 81 7f fe call 0xfe7f813c
37: 41 be 58 11 00 00 mov $0x1158,%r14d
Reply all
Reply to author
Forward
0 new messages