syzbot


WARNING in kernfs_activate

Status: auto-closed as invalid on 2019/10/13 05:30
Subsystems: kernfs
[Documentation on labels]
Reported-by: syzbot+1202f8882e4f4881d814@syzkaller.appspotmail.com
First crash: 1869d, last: 1826d
Discussions (4)
Title Replies (including bot) Last reply
Reminder: 29 open syzbot bugs in bluetooth subsystem 1 (1) 2019/07/24 01:41
Reminder: 29 open syzbot bugs in bluetooth subsystem 1 (1) 2019/07/09 19:07
Reminder: 27 open syzbot bugs in bluetooth subsystem 1 (1) 2019/06/24 05:14
WARNING in kernfs_activate 0 (1) 2019/05/07 09:46

Sample crash report:
WARNING: CPU: 0 PID: 25699 at fs/kernfs/dir.c:1267 kernfs_activate+0xee/0x1f0 fs/kernfs/dir.c:1267
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 25699 Comm: syz-executor.1 Not tainted 5.1.0-rc5+ #69
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x172/0x1f0 lib/dump_stack.c:113
 panic+0x2cb/0x65c kernel/panic.c:214
 __warn.cold+0x20/0x45 kernel/panic.c:571
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:291
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:973
RIP: 0010:kernfs_activate+0xee/0x1f0 fs/kernfs/dir.c:1267
Code: 42 80 3c 28 00 0f 85 09 01 00 00 49 8b 7c 24 38 48 89 de 48 89 7d d0 e8 60 86 9a ff 48 8b 7d d0 48 39 df 75 07 e8 32 85 9a ff <0f> 0b e8 2b 85 9a ff 49 8d 5c 24 04 be 04 00 00 00 48 89 df e8 79
RSP: 0018:ffff8880483ef7d8 EFLAGS: 00010212
RAX: 0000000000040000 RBX: ffff88805e3b6738 RCX: ffffc90008000000
RDX: 0000000000003255 RSI: ffffffff81d6077e RDI: ffff88805e3b6738
RBP: ffff8880483ef808 R08: ffff8880a417a2c0 R09: fffffbfff1151e0d
R10: ffff8880483ef7c8 R11: ffffffff88a8f063 R12: ffff88805e3b6700
R13: dffffc0000000000 R14: ffff88805e3b6790 R15: ffff88805e3b6700
 kernfs_add_one+0x377/0x4d0 fs/kernfs/dir.c:813
 kernfs_create_dir_ns+0xff/0x160 fs/kernfs/dir.c:1031
 sysfs_create_dir_ns+0x131/0x2a0 fs/sysfs/dir.c:59
 create_dir lib/kobject.c:88 [inline]
 kobject_add_internal lib/kobject.c:247 [inline]
 kobject_add_internal.cold+0xe5/0x5d4 lib/kobject.c:217
 kobject_add_varg lib/kobject.c:382 [inline]
 kobject_add+0x150/0x1c0 lib/kobject.c:426
 device_add+0x3d5/0x18a0 drivers/base/core.c:2057
 hci_register_dev+0x2e8/0x860 net/bluetooth/hci_core.c:3307
 __vhci_create_device+0x2d0/0x5a0 drivers/bluetooth/hci_vhci.c:139
 vhci_create_device drivers/bluetooth/hci_vhci.c:163 [inline]
 vhci_get_user drivers/bluetooth/hci_vhci.c:219 [inline]
 vhci_write+0x2d0/0x470 drivers/bluetooth/hci_vhci.c:299
 call_write_iter include/linux/fs.h:1866 [inline]
 new_sync_write+0x4c7/0x760 fs/read_write.c:474
 __vfs_write+0xe4/0x110 fs/read_write.c:487
 vfs_write+0x20c/0x580 fs/read_write.c:549
 ksys_write+0x14f/0x2d0 fs/read_write.c:599
 __do_sys_write fs/read_write.c:611 [inline]
 __se_sys_write fs/read_write.c:608 [inline]
 __x64_sys_write+0x73/0xb0 fs/read_write.c:608
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458c29
Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fbcea291c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458c29
RDX: 0000000000000002 RSI: 00000000200000c0 RDI: 0000000000000004
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fbcea2926d4
R13: 00000000004c8216 R14: 00000000004de6a8 R15: 00000000ffffffff
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/04/16 05:29 upstream 5512320c9f6f 505ab413 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/04 20:19 upstream 736706bee329 7c693b52 .config console log report ci-upstream-kasan-gce
2019/03/04 04:17 upstream 1c163f4c7b3f 1c0e457a .config console log report ci-upstream-kasan-gce
* Struck through repros no longer work on HEAD.