syzbot


BUG: corrupted list in kernfs_put_open_node

Status: closed as invalid on 2018/06/27 15:18
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 1605d, last: 1605d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: corrupted list in kernfs_put_open_node (2) 1 378d 374d 0/24 auto-closed as invalid on 2021/12/15 21:59

Sample crash report:
RBP: 000000000072bea0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000020000000 R11: 0000000000000246 R12: 0000000000000014
R13: 000000000000055f R14: 00000000006fc188 R15: 0000000000000003
list_del corruption. prev->next should be 00000000e91d1b00, but was           (null)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:53!
invalid opcode: 0000 [#1] SMP PTI
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 2255 Comm: udevd Not tainted 4.16.0+ #87
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__list_del_entry_valid+0x37c/0x440 lib/list_debug.c:51
RSP: 0018:ffff8801cbc2fa00 EFLAGS: 00010082
RAX: 0000000000000054 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: aaaaaaaaaaaab000 RDI: ffffea0000000000
RBP: ffff8801cbc2fa58 R08: 0000000001080020 R09: 0000000000000002
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88014c7b1ea0 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f0575a867a0(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000606ed8 CR3: 00000001cbeb0000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_del_entry include/linux/list.h:117 [inline]
 list_del include/linux/list.h:125 [inline]
 kernfs_put_open_node+0x11c/0x460 fs/kernfs/file.c:604
 kernfs_fop_release+0x29c/0x3c0 fs/kernfs/file.c:780
 __fput+0x49e/0xa10 fs/file_table.c:209
 ____fput+0x37/0x40 fs/file_table.c:243
 task_work_run+0x243/0x2c0 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:191 [inline]
 exit_to_usermode_loop arch/x86/entry/common.c:166 [inline]
 prepare_exit_to_usermode+0x33c/0x3a0 arch/x86/entry/common.c:196
 syscall_return_slowpath+0xe9/0x700 arch/x86/entry/common.c:265
 do_syscall_64+0x36d/0x430 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x3d/0xa2
RIP: 0033:0x7f057518e2b0
RSP: 002b:00007ffdd967e8c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000001d890d0 RCX: 00007f057518e2b0
RDX: 0000000000000006 RSI: 000000000041f4f9 RDI: 000000000000000b
RBP: 0000000001d770f0 R08: 000000000041f4f1 R09: 00007f05751e47d0
R10: 7269762f73656369 R11: 0000000000000246 R12: 000000000000000b
R13: 0000000000000000 R14: 0000000001d890d0 R15: 0000000001d70250
Code: 00 48 c7 81 80 0c 00 00 00 00 00 00 c7 81 20 03 00 00 00 00 00 00 48 c7 c7 b5 f7 82 8a 31 c0 48 8b 75 c0 4c 89 e2 e8 a4 a7 51 fd <0f> 0b 66 90 eb fe 44 89 f7 e8 76 83 cb fd e9 88 fd ff ff 48 85 
RIP: __list_del_entry_valid+0x37c/0x440 lib/list_debug.c:51 RSP: ffff8801cbc2fa00
---[ end trace 9249e9c2ca77ddaf ]---

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce 2018/05/08 17:39 https://github.com/google/kmsan.git master d2d741e5d189 b88872ba .config log report
* Struck through repros no longer work on HEAD.