syzbot


WARNING in do_dentry_open

Status: fixed on 2018/07/09 18:05
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+2e7fcab0f56fdbb330b8@syzkaller.appspotmail.com
Fix commit: b16558579576 bpf: implement dummy fops for bpf objects
First crash: 2146d, last: 2139d
Discussions (2)
Title Replies (including bot) Last reply
WARNING in do_dentry_open 3 (4) 2018/06/09 20:41
[PATCH bpf] bpf: implement dummy fops for bpf objects 2 (2) 2018/06/08 18:05
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in do_dentry_open (2) fs C done 17 1546d 1543d 15/26 fixed on 2020/02/18 14:31

Sample crash report:
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
WARNING: CPU: 1 PID: 4508 at fs/open.c:778 do_dentry_open+0x4ad/0xe40 fs/open.c:778
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 4508 Comm: syz-executor867 Not tainted 4.17.0+ #90
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+0x1b9/0x294 lib/dump_stack.c:113
 panic+0x22f/0x4de kernel/panic.c:184
 __warn.cold.8+0x163/0x1b3 kernel/panic.c:536
 report_bug+0x252/0x2d0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x1fc/0x4d0 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:992
RIP: 0010:do_dentry_open+0x4ad/0xe40 fs/open.c:778
Code: 7b 28 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 15 08 00 00 48 c7 43 28 00 00 00 00 e8 f3 6d ba ff <0f> 0b e8 ec 6d ba ff 48 8d 43 18 41 be ed ff ff ff 48 89 45 c0 e9 
RSP: 0018:ffff8801afcaf7c8 EFLAGS: 00010293
RAX: ffff8801afe08400 RBX: ffff8801b099e0c0 RCX: ffffffff81bfccf6
RDX: 0000000000000000 RSI: ffffffff81bfcf6d RDI: ffff8801b099e0e8
RBP: ffff8801afcaf840 R08: ffff8801afe08400 R09: ffffed0036aa2afc
R10: ffffed0036aa2afc R11: ffff8801b55157e3 R12: ffff8801ab28d4b0
R13: ffff8801ab28d6a8 R14: 0000000000000000 R15: ffff8801b099e13c
 vfs_open+0x139/0x230 fs/open.c:908
 do_last fs/namei.c:3370 [inline]
 path_openat+0x1717/0x4dc0 fs/namei.c:3511
 do_filp_open+0x249/0x350 fs/namei.c:3545
 do_sys_open+0x56f/0x740 fs/open.c:1101
 __do_sys_openat fs/open.c:1128 [inline]
 __se_sys_openat fs/open.c:1122 [inline]
 __x64_sys_openat+0x9d/0x100 fs/open.c:1122
 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x43ff09
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 6b 45 00 00 c3 66 2e 0f 1f 84 00 00 00 00 
RSP: 002b:00007ffe4eafe4f8 EFLAGS: 00000217 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 2f30656c69662f2e RCX: 000000000043ff09
RDX: 0000000000000040 RSI: 0000000020000100 RDI: ffffffffffffff9c
RBP: 00000000006ca018 R08: 00000000004002c8 R09: 00000000004002c8
R10: 0000000000000004 R11: 0000000000000217 R12: 0000000000401830
R13: 00000000004018c0 R14: 0000000000000000 R15: 0000000000000000
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (26):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/06/08 07:57 upstream 68abbe729567 f7b27b7a .config console log report syz C ci-upstream-kasan-gce-root
2018/06/15 22:45 upstream 4c5e8fc62d6a 27c5f59f .config console log report ci-upstream-kasan-gce-root
2018/06/15 19:02 upstream 4c5e8fc62d6a 27c5f59f .config console log report ci-upstream-kasan-gce-root
2018/06/15 12:38 upstream b5d903c2d656 27c5f59f .config console log report ci-upstream-kasan-gce-root
2018/06/15 12:22 upstream b5d903c2d656 27c5f59f .config console log report ci-upstream-kasan-gce-root
2018/06/15 11:30 upstream b5d903c2d656 27c5f59f .config console log report ci-upstream-kasan-gce-root
2018/06/15 10:50 upstream b5d903c2d656 27c5f59f .config console log report ci-upstream-kasan-gce-root
2018/06/15 09:40 upstream b5d903c2d656 27c5f59f .config console log report ci-upstream-kasan-gce-root
2018/06/14 23:27 upstream 2837461dbe6f 27c5f59f .config console log report ci-upstream-kasan-gce-root
2018/06/14 23:06 upstream 2837461dbe6f 27c5f59f .config console log report ci-upstream-kasan-gce-root
2018/06/14 13:15 upstream 2837461dbe6f 27c5f59f .config console log report ci-upstream-kasan-gce-root
2018/06/14 05:20 upstream be779f03d563 27c5f59f .config console log report ci-upstream-kasan-gce-root
2018/06/13 19:48 upstream f5b7769eb040 27c5f59f .config console log report ci-upstream-kasan-gce-root
2018/06/13 03:08 upstream 0725d4e1b8b0 6dcbc435 .config console log report ci-upstream-kasan-gce-root
2018/06/11 20:55 upstream f0dc7f9c6dd9 ae8bdb50 .config console log report ci-upstream-kasan-gce-root
2018/06/11 00:52 upstream 3ca24ce9ff76 866118af .config console log report ci-upstream-kasan-gce-root
2018/06/10 10:41 upstream a16afaf7928b 866118af .config console log report ci-upstream-kasan-gce-root
2018/06/10 09:11 upstream a16afaf7928b 866118af .config console log report ci-upstream-kasan-gce-root
2018/06/10 07:48 upstream a16afaf7928b 866118af .config console log report ci-upstream-kasan-gce-root
2018/06/10 07:22 upstream a16afaf7928b 866118af .config console log report ci-upstream-kasan-gce-root
2018/06/10 06:41 upstream a16afaf7928b 866118af .config console log report ci-upstream-kasan-gce-root
2018/06/09 15:56 upstream 7d3bf613e99a 866118af .config console log report ci-upstream-kasan-gce-root
2018/06/09 15:39 upstream 7d3bf613e99a 866118af .config console log report ci-upstream-kasan-gce-root
2018/06/09 13:01 upstream 7d3bf613e99a 866118af .config console log report ci-upstream-kasan-gce-root
2018/06/08 11:53 upstream 68abbe729567 f7b27b7a .config console log report ci-upstream-kasan-gce-root
2018/06/08 09:08 upstream 68abbe729567 f7b27b7a .config console log report ci-upstream-kasan-gce-root
* Struck through repros no longer work on HEAD.