syzbot


usb-testing boot error: kernel BUG in putname

Status: internal: reported on 2022/08/30 15:46
Reported-by: syzbot+@syzkaller.appspotmail.com
Fix commit: 9993a4f989c7 virtio: Revert "virtio: find_vqs() add arg sizes"
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386 ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu2-riscv64]
First crash: 160d, last: 160d

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/namei.c:262!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 244 Comm: kworker/u4:1 Not tainted 6.0.0-rc1-syzkaller-00047-g594b9411b4ad #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:putname+0x10e/0x140 fs/namei.c:262
Code: 5d 41 5c 41 5d e9 82 61 c2 ff e8 7d 61 c2 ff 48 89 ee 4c 89 ef e8 12 f8 f5 ff 5b 5d 41 5c 41 5d e9 67 61 c2 ff e8 62 61 c2 ff <0f> 0b e8 bb 42 f6 ff e9 3a ff ff ff 48 89 ef e8 be 42 f6 ff e9 75
RSP: 0000:ffffc9000175fea0 EFLAGS: 00010293

RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88810e62b900 RSI: ffffffff8183a78e RDI: 0000000000000005
RBP: ffff88810e6d0000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000052040 R12: 00000000fffffffe
R13: ffff88810e6d0000 R14: ffff88810e564000 R15: ffff88810e564018
FS:  0000000000000000(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000007825000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 kernel_execve+0x407/0x500 fs/exec.c:2013
 call_usermodehelper_exec_async+0x2e3/0x580 kernel/umh.c:112
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:putname+0x10e/0x140 fs/namei.c:262
Code: 5d 41 5c 41 5d e9 82 61 c2 ff e8 7d 61 c2 ff 48 89 ee 4c 89 ef e8 12 f8 f5 ff 5b 5d 41 5c 41 5d e9 67 61 c2 ff e8 62 61 c2 ff <0f> 0b e8 bb 42 f6 ff e9 3a ff ff ff 48 89 ef e8 be 42 f6 ff e9 75
RSP: 0000:ffffc9000175fea0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88810e62b900 RSI: ffffffff8183a78e RDI: 0000000000000005
RBP: ffff88810e6d0000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000052040 R12: 00000000fffffffe
R13: ffff88810e6d0000 R14: ffff88810e564000 R15: ffff88810e564018
FS:  0000000000000000(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000007825000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-usb 2022/08/30 15:45 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 594b9411b4ad 4a380809 .config console log report [disk image] [vmlinux] usb-testing boot error: kernel BUG in putname
* Struck through repros no longer work on HEAD.