syzbot


kernel BUG in attach_store

Status: closed as dup on 2021/02/05 16:11
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+a30e620779ec2718f731@syzkaller.appspotmail.com
First crash: 1398d, last: 1391d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
KASAN: null-ptr-deref Write in vhci_shutdown_connection usb C unreliable 3322 1357d 1442d
Discussions (1)
Title Replies (including bot) Last reply
kernel BUG in attach_store 0 (1) 2021/02/05 14:50
Cause bisection attempts (1)
Created Duration User Patch Repo Result
2021/02/04 18:38 0m bisect linux-next error job log

Sample crash report:
------------[ cut here ]------------
kernel BUG at drivers/usb/usbip/vhci_sysfs.c:396!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 10308 Comm: syz-executor241 Not tainted 5.11.0-rc6-next-20210205-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:attach_store.cold+0x376/0x396 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/drivers/usb/usbip/vhci_sysfs.c:396
Code: e8 47 0d d0 f8 48 8b 5d 70 48 c7 c7 00 f0 ff ff 48 89 de e8 b4 50 8c f8 48 81 fb 00 f0 ff ff 0f 87 56 ff ff ff e8 b2 48 8c f8 <0f> 0b e8 ab 48 8c f8 8b b4 24 90 00 00 00 48 89 ef e8 5c ff b3 fc
RSP: 0018:ffffc9000171fb58 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888020641c00 RCX: 0000000000000000
RDX: ffff8880141db800 RSI: ffffffff88e6a42e RDI: 0000000000000003
RBP: ffff888144d8c5d0 R08: fffffffffffff000 R09: ffff88801320f527
R10: ffffffff88e6a41c R11: 000000000000003f R12: fffffffffffffffc
R13: ffff888144d8c640 R14: ffff888144d8c5e8 R15: ffff888034c01500
FS:  00007fbff523d700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004b4942 CR3: 0000000016adb000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 dev_attr_store+0x50/0x80 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/drivers/base/core.c:1936
 sysfs_kf_write+0x110/0x160 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/fs/sysfs/file.c:139
 kernfs_fop_write_iter+0x342/0x500 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/fs/kernfs/file.c:296
 call_write_iter syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/./include/linux/fs.h:1977 [inline]
 new_sync_write+0x426/0x650 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/fs/read_write.c:519
 vfs_write+0x791/0xa30 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/fs/read_write.c:606
 ksys_write+0x12d/0x250 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/fs/read_write.c:659
 do_syscall_64+0x2d/0x70 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x40a52f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48
RSP: 002b:00007fbff523cc60 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 000000000040a52f
RDX: 0000000000000008 RSI: 00007fbff523ccb0 RDI: 0000000000000005
RBP: 0000000000000005 R08: 0000000000000000 R09: 00007fbff523cc00
R10: 0000000000000000 R11: 0000000000000293 R12: 00007fbff523ccb0
R13: 0000000000000000 R14: 00007fbff523d300 R15: 0000000000022000
Modules linked in:
---[ end trace 7a11e091a6d7a5b7 ]---
RIP: 0010:attach_store.cold+0x376/0x396 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/drivers/usb/usbip/vhci_sysfs.c:396
Code: e8 47 0d d0 f8 48 8b 5d 70 48 c7 c7 00 f0 ff ff 48 89 de e8 b4 50 8c f8 48 81 fb 00 f0 ff ff 0f 87 56 ff ff ff e8 b2 48 8c f8 <0f> 0b e8 ab 48 8c f8 8b b4 24 90 00 00 00 48 89 ef e8 5c ff b3 fc
RSP: 0018:ffffc9000171fb58 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888020641c00 RCX: 0000000000000000
RDX: ffff8880141db800 RSI: ffffffff88e6a42e RDI: 0000000000000003
RBP: ffff888144d8c5d0 R08: fffffffffffff000 R09: ffff88801320f527
R10: ffffffff88e6a41c R11: 000000000000003f R12: fffffffffffffffc
R13: ffff888144d8c640 R14: ffff888144d8c5e8 R15: ffff888034c01500
FS:  00007fbff523d700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004d2b34 CR3: 0000000016adb000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (217):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/08 19:27 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 17:13 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 15:20 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 14:47 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 13:58 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 13:36 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 13:12 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 12:48 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 03:59 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 03:20 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 02:55 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 02:21 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 00:56 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 00:36 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 23:47 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 23:25 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 23:04 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 21:32 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 21:05 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 19:40 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 19:17 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 18:39 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 16:50 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 16:09 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 15:49 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 15:28 linux-next aa2b88209686 2ce644fc .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 07:09 linux-next aa2b88209686 0655e081 .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/04 18:38 linux-next 0e2c50f40b7f 42b90a7c .config console log report syz C ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 20:16 linux-next aa2b88209686 2ce644fc .config console log report syz ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 15:45 linux-next aa2b88209686 2ce644fc .config console log report syz ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 15:33 linux-next aa2b88209686 2ce644fc .config console log report syz ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 14:12 linux-next aa2b88209686 2ce644fc .config console log report syz ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 12:28 linux-next aa2b88209686 2ce644fc .config console log report syz ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 03:33 linux-next aa2b88209686 2ce644fc .config console log report syz ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 02:35 linux-next aa2b88209686 2ce644fc .config console log report syz ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 20:09 linux-next aa2b88209686 2ce644fc .config console log report syz ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 19:59 linux-next aa2b88209686 2ce644fc .config console log report syz ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 18:11 linux-next aa2b88209686 2ce644fc .config console log report syz ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 17:31 linux-next aa2b88209686 2ce644fc .config console log report syz ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 06:49 linux-next aa2b88209686 0655e081 .config console log report syz ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 06:38 linux-next aa2b88209686 0655e081 .config console log report syz ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/10 07:57 linux-next aa2b88209686 2bd9619f .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/10 06:51 linux-next aa2b88209686 2bd9619f .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/10 03:44 linux-next aa2b88209686 2bd9619f .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/09 23:19 linux-next aa2b88209686 2bd9619f .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/09 20:06 linux-next aa2b88209686 2bd9619f .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/09 17:56 linux-next aa2b88209686 2bd9619f .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/09 15:15 linux-next aa2b88209686 2bd9619f .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/09 06:10 linux-next aa2b88209686 2bd9619f .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/09 04:04 linux-next aa2b88209686 2bd9619f .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/09 01:34 linux-next aa2b88209686 2bd9619f .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 23:33 linux-next aa2b88209686 2bd9619f .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 22:10 linux-next aa2b88209686 2bd9619f .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 18:17 linux-next aa2b88209686 2ce644fc .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 15:37 linux-next aa2b88209686 2ce644fc .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 09:19 linux-next aa2b88209686 2ce644fc .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 08:02 linux-next aa2b88209686 2ce644fc .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 05:32 linux-next aa2b88209686 2ce644fc .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/08 04:22 linux-next aa2b88209686 2ce644fc .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 14:52 linux-next aa2b88209686 2ce644fc .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 13:15 linux-next aa2b88209686 2ce644fc .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 11:59 linux-next aa2b88209686 2ce644fc .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 10:53 linux-next aa2b88209686 2ce644fc .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 04:47 linux-next aa2b88209686 0655e081 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 04:35 linux-next aa2b88209686 0655e081 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/07 03:29 linux-next aa2b88209686 0655e081 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/06 19:37 linux-next aa2b88209686 0655e081 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/06 18:36 linux-next aa2b88209686 0655e081 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/06 09:56 linux-next aa2b88209686 23a562df .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/06 06:36 linux-next aa2b88209686 23a562df .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/05 23:08 linux-next aa2b88209686 23a562df .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/05 19:24 linux-next aa2b88209686 23a562df .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/05 17:51 linux-next aa2b88209686 23a562df .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/05 16:35 linux-next aa2b88209686 23a562df .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/05 10:58 linux-next 0e2c50f40b7f 23a562df .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/05 08:25 linux-next 0e2c50f40b7f 23a562df .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/05 07:23 linux-next 0e2c50f40b7f 23a562df .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/05 06:10 linux-next 0e2c50f40b7f 23a562df .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/05 03:52 linux-next 0e2c50f40b7f 23a562df .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/05 02:23 linux-next 0e2c50f40b7f 23a562df .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/05 00:01 linux-next 0e2c50f40b7f 23a562df .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/04 20:20 linux-next 0e2c50f40b7f 42b90a7c .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/04 17:08 linux-next 0e2c50f40b7f 42b90a7c .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/04 15:38 linux-next 0e2c50f40b7f 42b90a7c .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/04 14:31 linux-next 0e2c50f40b7f 42b90a7c .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/04 12:11 linux-next 0e2c50f40b7f 42b90a7c .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/04 10:17 linux-next 0e2c50f40b7f 624dad51 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/04 08:36 linux-next 58b6c0e507b7 624dad51 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
2021/02/03 01:05 linux-next fb2a9c320987 624dad51 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in attach_store
* Struck through repros no longer work on HEAD.