syzbot


BUG: corrupted list in proc_reg_open

Status: closed as invalid on 2018/06/27 15:08
Subsystems: fs
[Documentation on labels]
First crash: 2473d, last: 2473d

Sample crash report:
list_add corruption. next->prev should be prev (0000000042efee74), but was           (null). (next=00000000f2b80ae2).
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:25!
invalid opcode: 0000 [#1] SMP PTI
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 10239 Comm: syz-executor2 Not tainted 4.16.0+ #86
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__list_add_valid+0x275/0x450 lib/list_debug.c:23
RSP: 0018:ffff8801a191f728 EFLAGS: 00010286
RAX: 0000000000000075 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 000000000000124f RDI: 0000000000001250
RBP: ffff8801a191f790 R08: 0000000001080020 R09: 0000000000000002
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801592b29c8
R13: 0000000000000000 R14: 0000000000000000 R15: ffff880158e6e198
FS:  00007fcba443e700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000006fe278 CR3: 00000001562ec000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_add include/linux/list.h:60 [inline]
 list_add include/linux/list.h:79 [inline]
 proc_reg_open+0x428/0x770 fs/proc/inode.c:361
 do_dentry_open+0xcc6/0x1430 fs/open.c:752
 vfs_open+0x1b7/0x2e0 fs/open.c:866
 do_last fs/namei.c:3379 [inline]
 path_openat+0x481d/0x6610 fs/namei.c:3520
 do_filp_open+0x261/0x640 fs/namei.c:3554
 do_sys_open+0x624/0x960 fs/open.c:1059
 SYSC_openat+0xc7/0xe0 fs/open.c:1086
 SyS_openat+0x63/0x90 fs/open.c:1080
 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x3d/0xa2
RIP: 0033:0x455389
RSP: 002b:00007fcba443dc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fcba443e6d4 RCX: 0000000000455389
RDX: 0000000000000000 RSI: 0000000020000400 RDI: ffffffffffffff9c
RBP: 000000000072bf58 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000043c R14: 00000000006f9640 R15: 0000000000000001
Code: 87 80 0c 00 00 00 00 00 00 41 c7 87 20 03 00 00 00 00 00 00 48 c7 c7 68 f6 82 8a 31 c0 48 89 d6 4c 89 ea 4c 89 e1 e8 fb ac 51 fd <0f> 0b 66 0f 1f 84 00 00 00 00 00 eb fe 48 8b 7d c8 e8 c5 88 cb 
RIP: __list_add_valid+0x275/0x450 lib/list_debug.c:23 RSP: ffff8801a191f728
---[ end trace 02e8aca21e47da85 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/22 21:14 https://github.com/google/kmsan.git master d2d741e5d189 d23fcf6c .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.