general protection fault in __destroy_inode

7 views
Skip to first unread message

syzbot

unread,
May 5, 2020, 5:06:16 PM5/5/20
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 052c467c Merge tag 'block-5.7-2020-05-01' of git://git.ker..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=14ebec4c100000
kernel config: https://syzkaller.appspot.com/x/.config?x=5b075813ec8b93cd
dashboard link: https://syzkaller.appspot.com/bug?extid=0939affa299187ade8b5
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
CC: [linux-...@vger.kernel.org linux-...@vger.kernel.org vi...@zeniv.linux.org.uk]

Unfortunately, I don't have any reproducer for this crash yet.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+0939af...@syzkaller.appspotmail.com

general protection fault, probably for non-canonical address 0xdffffc0000ee000e: 0000 [#1] PREEMPT SMP KASAN
KASAN: probably user-memory-access in range [0x0000000007700070-0x0000000007700077]
CPU: 0 PID: 10617 Comm: syz-executor.5 Not tainted 5.7.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:wb_put include/linux/backing-dev-defs.h:283 [inline]
RIP: 0010:inode_detach_wb include/linux/writeback.h:249 [inline]
RIP: 0010:__destroy_inode+0xbd/0x6a0 fs/inode.c:256
Code: 83 e4 40 4c 89 e6 e8 d2 bb b0 ff 4d 85 e4 0f 84 a8 04 00 00 e8 34 ba b0 ff 48 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 6e 05 00 00 4c 8b 65 00 4d 85 e4 0f 84 87 04 00
RSP: 0018:ffffc90004de7bb8 EFLAGS: 00010203
RAX: dffffc0000000000 RBX: ffff8880004661c0 RCX: ffffc90013dc7000
RDX: 0000000000ee000e RSI: ffffffff81c2746c RDI: 0000000000000007
RBP: 0000000007700077 R08: ffff888000f74100 R09: ffffed100008cc4a
R10: ffff88800046624b R11: ffffed100008cc49 R12: 0000000000000040
R13: ffff888000466368 R14: 0000000000000020 R15: ffff888000466248
FS: 00007f49db815700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f13c847adb8 CR3: 0000000212e69000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
destroy_inode+0x91/0x1b0 fs/inode.c:280
iput_final fs/inode.c:1572 [inline]
iput+0x536/0x8c0 fs/inode.c:1598
dentry_unlink_inode+0x2c0/0x3e0 fs/dcache.c:374
__dentry_kill+0x378/0x5d0 fs/dcache.c:579
dentry_kill fs/dcache.c:698 [inline]
dput+0x61f/0xdf0 fs/dcache.c:859
find_next_child fs/libfs.c:261 [inline]
simple_recursive_removal+0x14a/0x730 fs/libfs.c:276
debugfs_remove fs/debugfs/inode.c:703 [inline]
debugfs_remove+0x59/0x80 fs/debugfs/inode.c:697
kvm_destroy_vm_debugfs arch/x86/kvm/../../../virt/kvm/kvm_main.c:611 [inline]
kvm_destroy_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:786 [inline]
kvm_put_kvm+0x134/0xc40 arch/x86/kvm/../../../virt/kvm/kvm_main.c:828
kvm_vm_release+0x3f/0x50 arch/x86/kvm/../../../virt/kvm/kvm_main.c:851
__fput+0x33e/0x880 fs/file_table.c:280
task_work_run+0xf4/0x1b0 kernel/task_work.c:123
tracehook_notify_resume include/linux/tracehook.h:188 [inline]
exit_to_usermode_loop+0x2fa/0x360 arch/x86/entry/common.c:165
prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline]
syscall_return_slowpath arch/x86/entry/common.c:279 [inline]
do_syscall_64+0x6b1/0x7d0 arch/x86/entry/common.c:305
entry_SYSCALL_64_after_hwframe+0x49/0xb3
RIP: 0033:0x45c829
Code: 0d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f49db814c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000124
RAX: 0000000000000006 RBX: 00000000004db2c0 RCX: 000000000045c829
RDX: 0000000000080000 RSI: 0000000000000006 RDI: 0000000000000009
RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000009e R14: 00000000004c3324 R15: 00007f49db8156d4
Modules linked in:
---[ end trace c74ac06253e01b6d ]---
RIP: 0010:wb_put include/linux/backing-dev-defs.h:283 [inline]
RIP: 0010:inode_detach_wb include/linux/writeback.h:249 [inline]
RIP: 0010:__destroy_inode+0xbd/0x6a0 fs/inode.c:256
Code: 83 e4 40 4c 89 e6 e8 d2 bb b0 ff 4d 85 e4 0f 84 a8 04 00 00 e8 34 ba b0 ff 48 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 6e 05 00 00 4c 8b 65 00 4d 85 e4 0f 84 87 04 00
RSP: 0018:ffffc90004de7bb8 EFLAGS: 00010203
RAX: dffffc0000000000 RBX: ffff8880004661c0 RCX: ffffc90013dc7000
RDX: 0000000000ee000e RSI: ffffffff81c2746c RDI: 0000000000000007
RBP: 0000000007700077 R08: ffff888000f74100 R09: ffffed100008cc4a
R10: ffff88800046624b R11: ffffed100008cc49 R12: 0000000000000040
R13: ffff888000466368 R14: 0000000000000020 R15: ffff888000466248
FS: 00007f49db815700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000558de04652c0 CR3: 0000000212e69000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Jul 30, 2020, 4:56:13 PM7/30/20
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages