syzbot


WARNING: ODEBUG bug in corrupted
Status: fixed on 2020/10/08 10:30
Reported-by: syzbot+06d4181acaa4748544f0@syzkaller.appspotmail.com
Fix commit: c5c6e00f6cc5 fix regression in "epoll: Keep a reference on files added to the check list"
First crash: 629d, last: 629d

Fix bisection: fixed by (bisect log) :
commit c5c6e00f6cc5d3ed0d6464b14e33f2f5c8505888
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Sep 2 15:30:48 2020 +0000

  fix regression in "epoll: Keep a reference on files added to the check list"

similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: ODEBUG bug in corrupted (2) C error 2 150d 362d 22/22 fixed on 2022/03/08 16:11
upstream WARNING: ODEBUG bug in corrupted C 3 897d 932d 0/22 closed as invalid on 2020/05/29 21:04
android-49 WARNING: ODEBUG bug in corrupted syz 1 1414d 1140d 0/3 public: reported syz repro on 2019/04/14 09:28

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
ODEBUG: free active (active state 1) object type: rcu_head hint:           (null)
------------[ cut here ]------------
WARNING: CPU: 0 PID: 24443 at lib/debugobjects.c:287 debug_print_object.cold+0xa7/0xdb lib/debugobjects.c:287
Kernel panic - not syncing: panic_on_warn set ...

general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 24432 Comm: syz-executor.4 Not tainted 4.14.196-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88809ba5e6c0 task.stack: ffff88807c120000
RIP: 0010:locks_inode include/linux/fs.h:1060 [inline]
RIP: 0010:locks_remove_file+0x86/0x420 fs/locks.c:2563
RSP: 0018:ffff88807c127d70 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 000000000000000b RSI: 0000000000000001 RDI: 0000000000000058
RBP: ffff88809f067a80 R08: ffff8880aea2beb0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88809f067c18
R13: ffff88809f067afc R14: ffff88809b780b70 R15: ffff88809f067a90
FS:  0000000002ba8940(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4de98d4db8 CR3: 000000008e1b6000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __fput+0x1ca/0x7a0 fs/file_table.c:202
 task_work_run+0x11f/0x190 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:191 [inline]
 exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164
 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:270 [inline]
 do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x416f01
RSP: 002b:00007ffda37a3a90 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000416f01
RDX: 0000000000000000 RSI: 0000000001190208 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 00007ffda37a3b80 R11: 0000000000000293 R12: 0000000001190300
R13: 000000000002f52e R14: ffffffffffffffff R15: 000000000118cfec
Code: 18 48 89 f8 48 c1 e8 03 80 3c 18 00 0f 85 83 03 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 5d 18 48 8d 7b 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 56 03 00 00 48 b8 00 00 00 00 00 fc ff df 48 
RIP: locks_inode include/linux/fs.h:1060 [inline] RSP: ffff88807c127d70
RIP: locks_remove_file+0x86/0x420 fs/locks.c:2563 RSP: ffff88807c127d70
Kernel Offset: disabled

======================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2020/09/06 12:46 linux-4.14.y 2f166cdcf8a9 abf9ba4f .config log report syz