syzbot


general protection fault in atime_needs_update

Status: auto-closed as invalid on 2021/02/07 01:48
Reported-by: syzbot+b2a69333ceb4e4b0f6b4@syzkaller.appspotmail.com
First crash: 1286d, last: 1286d

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
list_del corruption. prev->next should be ffff888080b8e598, but was 0000000000000000
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 6522 Comm: syz-executor.4 Not tainted 4.19.150-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:atime_needs_update+0x132/0x5f0 fs/inode.c:1701
Code: 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 21 04 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 63 28 49 8d 7c 24 50 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 07 04 00 00 4d 8b 64 24 50 31 ff 4d 89 e6 41 81
RSP: 0018:ffff88805389fa70 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff888000804330 RCX: ffffffff81bcf25a
RDX: 000000000000000a RSI: ffffffff81bcf269 RDI: 0000000000000050
RBP: ffff88805389fa98 R08: 0000000000000000 R09: 00000000ffffffff
R10: 0000000000000005 R11: 0000000000000001 R12: 0000000000000000
R13: ffff88805389fcd0 R14: ffff888085d6d220 R15: ffff8880835a6600
FS:  00000000020a3940(0000) GS:ffff8880ae300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000020aca98 CR3: 0000000053876000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 touch_atime+0xce/0x2a0 fs/inode.c:1728
 get_link fs/namei.c:1058 [inline]
 trailing_symlink+0x2bc/0x970 fs/namei.c:2264
 path_mountpoint+0x82d/0xac0 fs/namei.c:2697
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:51!
 filename_mountpoint+0x184/0x4f0 fs/namei.c:2718
 ksys_umount+0x156/0x10e0 fs/namespace.c:1645
 __do_sys_umount fs/namespace.c:1671 [inline]
 __se_sys_umount fs/namespace.c:1669 [inline]
 __x64_sys_umount+0x50/0x70 fs/namespace.c:1669
 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x460887
Code: 64 89 04 25 d0 02 00 00 58 5f ff d0 48 89 c7 e8 2f be ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 ad 89 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fffb416caa8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000460887
RDX: 0000000000403188 RSI: 0000000000000002 RDI: 00007fffb416cb50
RBP: 0000000000000e56 R08: 0000000000000000 R09: 0000000000000011
R10: 000000000000000a R11: 0000000000000246 R12: 00007fffb416dbe0
R13: 00000000020a4a60 R14: 0000000000000000 R15: 00007fffb416dbe0
Modules linked in:
invalid opcode: 0000 [#2] PREEMPT SMP KASAN
CPU: 0 PID: 6516 Comm: syz-executor.1 Tainted: G      D           4.19.150-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__list_del_entry_valid+0xd4/0x14a lib/list_debug.c:51
Code: 00 0f 85 87 00 00 00 49 8b 55 08 48 39 f2 75 28 48 83 c4 08 b8 01 00 00 00 41 5c 41 5d c3 48 c7 c7 00 f7 51 88 e8 0b a6 b8 fd <0f> 0b 48 c7 c7 a0 4e 18 8a e8 1e 74 13 00 48 c7 c7 60 f7 51 88 e8
RSP: 0018:ffff8880a9307ce8 EFLAGS: 00010282
RAX: 0000000000000054 RBX: ffff888080b8e598 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff815b623f RDI: ffffed1015260f8f
RBP: ffff888080b8e3f0 R08: 0000000000000054 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000005 R12: ffff8880008044d8
R13: ffff8880837ae858 R14: ffffffff881d2e80 R15: ffff888080b8e418
FS:  00000000028e8940(0000) GS:ffff8880ae200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000028f1a98 CR3: 00000000a9213000 CR4: 00000000001406f0
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_init include/linux/list.h:159 [inline]
 inode_sb_list_del fs/inode.c:454 [inline]
 evict+0x181/0x780 fs/inode.c:548
 iput_final fs/inode.c:1555 [inline]
 iput+0x511/0x890 fs/inode.c:1581
 dentry_unlink_inode+0x265/0x320 fs/dcache.c:374
 d_delete+0x1ee/0x270 fs/dcache.c:2372
 vfs_rmdir.part.0+0x2de/0x430 fs/namei.c:3895
 vfs_rmdir fs/namei.c:3865 [inline]
 do_rmdir+0x3af/0x420 fs/namei.c:3943
 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45dbc7
Code: 00 66 90 b8 57 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 8d b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 54 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 6d b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffd88506af8 EFLAGS: 00000207 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 000000000045dbc7
RDX: 0000000000000000 RSI: 000000000074e678 RDI: 00007ffd88507c30
RBP: 0000000000000f24 R08: 0000000000000000 R09: 0000000000000001
R10: 000000000000000a R11: 0000000000000207 R12: 00007ffd88507c30
R13: 00000000028e9a60 R14: 0000000000000000 R15: 00007ffd88507c30
Modules linked in:
---[ end trace 4bd0933bb81cd744 ]---
RIP: 0010:atime_needs_update+0x132/0x5f0 fs/inode.c:1701
Code: 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 21 04 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 63 28 49 8d 7c 24 50 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 07 04 00 00 4d 8b 64 24 50 31 ff 4d 89 e6 41 81
RSP: 0018:ffff88805389fa70 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff888000804330 RCX: ffffffff81bcf25a
RDX: 000000000000000a RSI: ffffffff81bcf269 RDI: 0000000000000050
RBP: ffff88805389fa98 R08: 0000000000000000 R09: 00000000ffffffff
R10: 0000000000000005 R11: 0000000000000001 R12: 0000000000000000
R13: ffff88805389fcd0 R14: ffff888085d6d220 R15: ffff8880835a6600
FS:  00000000028e8940(0000) GS:ffff8880ae200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000028f1a98 CR3: 00000000a9213000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/10 01:48 linux-4.19.y a1b977b49b66 93817d89 .config console log report info ci2-linux-4-19
* Struck through repros no longer work on HEAD.