Hello,
syzbot found the following issue on:
HEAD commit: a8aad8851131 ANDROID: GKI: enable mulitcolor-led
git tree: android12-5.4
console output:
https://syzkaller.appspot.com/x/log.txt?x=13cd53a2480000
kernel config:
https://syzkaller.appspot.com/x/.config?x=b4f7fdc1fca3154e
dashboard link:
https://syzkaller.appspot.com/bug?extid=f4e91ec8dbc8d4e1d02c
compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/71fa3d1afcd2/disk-a8aad885.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/6d25e2985873/vmlinux-a8aad885.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/97866ff1e151/bzImage-a8aad885.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+f4e91e...@syzkaller.appspotmail.com
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 31666 Comm: syz-executor.2 Not tainted 5.4.219-syzkaller-00012-ga8aad8851131 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:__device_attach+0xb4/0x4c0 drivers/base/dd.c:909
Code: 5c 24 68 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 0d 92 03 ff 4c 8b 2b 49 8d 9d c8 00 00 00 48 89 d8 48 c1 e8 03 <42> 8a 04 30 84 c0 0f 85 6d 03 00 00 0f b6 1b 89 de 83 e6 01 45 31
RSP: 0018:ffff8881e5a07980 EFLAGS: 00010202
RAX: 0000000000000019 RBX: 00000000000000c8 RCX: ffffffff84442d46
RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff8881e5a07900
RBP: ffff8881e5a07a50 R08: dffffc0000000000 R09: ffffed103cb40f21
R10: ffffed103cb40f21 R11: 1ffff1103cb40f20 R12: ffff8881d00b3030
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
FS: 00007faf8db31700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007faf8eed7d20 CR3: 00000001e49eb000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
proc_ioctl+0x434/0x600 drivers/usb/core/devio.c:2259
proc_ioctl_compat+0x181/0x270 drivers/usb/core/devio.c:2308
usbdev_do_ioctl+0x11e3/0x1ce0 drivers/usb/core/devio.c:2624
usbdev_ioctl+0x1e/0x30 drivers/usb/core/devio.c:2710
do_vfs_ioctl+0x744/0x1730 fs/ioctl.c:47
ksys_ioctl fs/ioctl.c:742 [inline]
__do_sys_ioctl fs/ioctl.c:749 [inline]
__se_sys_ioctl fs/ioctl.c:747 [inline]
__x64_sys_ioctl+0xd4/0x110 fs/ioctl.c:747
do_syscall_64+0xcb/0x1c0 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x5c/0xc1
Modules linked in:
---[ end trace 4fe171d40170ad8f ]---
RIP: 0010:__device_attach+0xb4/0x4c0 drivers/base/dd.c:909
Code: 5c 24 68 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 0d 92 03 ff 4c 8b 2b 49 8d 9d c8 00 00 00 48 89 d8 48 c1 e8 03 <42> 8a 04 30 84 c0 0f 85 6d 03 00 00 0f b6 1b 89 de 83 e6 01 45 31
RSP: 0018:ffff8881e5a07980 EFLAGS: 00010202
RAX: 0000000000000019 RBX: 00000000000000c8 RCX: ffffffff84442d46
RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff8881e5a07900
RBP: ffff8881e5a07a50 R08: dffffc0000000000 R09: ffffed103cb40f21
R10: ffffed103cb40f21 R11: 1ffff1103cb40f20 R12: ffff8881d00b3030
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
FS: 00007faf8db31700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007faf8eed7d20 CR3: 00000001e49eb000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 5c pop %rsp
1: 24 68 and $0x68,%al
3: 48 89 d8 mov %rbx,%rax
6: 48 c1 e8 03 shr $0x3,%rax
a: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1)
f: 74 08 je 0x19
11: 48 89 df mov %rbx,%rdi
14: e8 0d 92 03 ff callq 0xff039226
19: 4c 8b 2b mov (%rbx),%r13
1c: 49 8d 9d c8 00 00 00 lea 0xc8(%r13),%rbx
23: 48 89 d8 mov %rbx,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 8a 04 30 mov (%rax,%r14,1),%al <-- trapping instruction
2e: 84 c0 test %al,%al
30: 0f 85 6d 03 00 00 jne 0x3a3
36: 0f b6 1b movzbl (%rbx),%ebx
39: 89 de mov %ebx,%esi
3b: 83 e6 01 and $0x1,%esi
3e: 45 rex.RB
3f: 31 .byte 0x31
---
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.