syzbot


kernel BUG at ./include/linux/fs.h:LINE!

Status: upstream: reported syz repro on 2020/09/08 21:21
Reported-by: syzbot+8117045ac95d8e83adf6@syzkaller.appspotmail.com
First crash: 818d, last: 818d
Patch testing requests:
Created Duration User Patch Repo Result
2022/08/29 13:27 0m retest repro https://android.googlesource.com/kernel/common android-5.4 error

Sample crash report:
kernel BUG at ./include/linux/fs.h:3039!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 10411 Comm: syz-executor.0 Not tainted 5.4.63-syzkaller-01131-g40c744888652 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:i_readcount_dec include/linux/fs.h:3039 [inline]
RIP: 0010:__fput+0x6b8/0x6c0 fs/file_table.c:288
Code: 40 fb ff e9 4e fe ff ff 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 2e fd ff ff 48 89 ef e8 02 40 fb ff e9 21 fd ff ff e8 f8 8b cd ff <0f> 0b 66 0f 1f 44 00 00 55 41 56 53 49 89 fe e8 e4 8b cd ff 49 8d
RSP: 0018:ffff8881ccdafe60 EFLAGS: 00010293
RAX: ffffffff8173d4d8 RBX: 0000000000000000 RCX: ffff8881d70b2e80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8881cb4dd38c R08: ffffffff8173d200 R09: ffffed103969ba72
R10: ffffed103969ba72 R11: 0000000000000000 R12: ffff8881c87058c0
R13: dffffc0000000000 R14: 00000000000a0001 R15: ffff8881c87058e8
FS:  00000000026d0940(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f50bef6adb8 CR3: 00000001c681b005 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 task_work_run+0x176/0x1a0 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_usermode_loop arch/x86/entry/common.c:163 [inline]
 prepare_exit_to_usermode+0x286/0x2e0 arch/x86/entry/common.c:194
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x416f01
Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 04 1b 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007ffc743c1dd0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000416f01
RDX: 0000000000000001 RSI: 00000000011902c0 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 00007ffc743c1ec0 R11: 0000000000000293 R12: 00000000011902c0
R13: 00000000000098e4 R14: ffffffffffffffff R15: 000000000118cfec
Modules linked in:
---[ end trace fadf83ffb416b118 ]---
RIP: 0010:i_readcount_dec include/linux/fs.h:3039 [inline]
RIP: 0010:__fput+0x6b8/0x6c0 fs/file_table.c:288
Code: 40 fb ff e9 4e fe ff ff 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 2e fd ff ff 48 89 ef e8 02 40 fb ff e9 21 fd ff ff e8 f8 8b cd ff <0f> 0b 66 0f 1f 44 00 00 55 41 56 53 49 89 fe e8 e4 8b cd ff 49 8d
RSP: 0018:ffff8881ccdafe60 EFLAGS: 00010293
RAX: ffffffff8173d4d8 RBX: 0000000000000000 RCX: ffff8881d70b2e80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8881cb4dd38c R08: ffffffff8173d200 R09: ffffed103969ba72
R10: ffffed103969ba72 R11: 0000000000000000 R12: ffff8881c87058c0
R13: dffffc0000000000 R14: 00000000000a0001 R15: ffff8881c87058e8
FS:  00000000026d0940(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f50bef6adb8 CR3: 00000001c681b005 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-android-5-4-kasan 2020/09/08 21:20 https://android.googlesource.com/kernel/common android-5.4 40c744888652 abf9ba4f .config log report syz
* Struck through repros no longer work on HEAD.