F2FS-fs (loop1): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop2): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop5): f2fs_check_nid_range: out-of-range nid=1, run fsck to fix. F2FS-fs (loop4): Can't find valid F2FS filesystem in 2th superblock ================================================================== BUG: KASAN: use-after-free in f2fs_evict_inode+0x100b/0x1330 syzkaller/managers/linux-4-19/kernel/fs/f2fs/inode.c:650 Read of size 4 at addr ffff888094931190 by task syz-executor877/8121 CPU: 0 PID: 8121 Comm: syz-executor877 Not tainted 4.19.172-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack syzkaller/managers/linux-4-19/kernel/lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef syzkaller/managers/linux-4-19/kernel/lib/dump_stack.c:118 print_address_description.cold+0x54/0x219 syzkaller/managers/linux-4-19/kernel/mm/kasan/report.c:256 kasan_report_error.cold+0x8a/0x1b9 syzkaller/managers/linux-4-19/kernel/mm/kasan/report.c:354 kasan_report syzkaller/managers/linux-4-19/kernel/mm/kasan/report.c:412 [inline] __asan_report_load4_noabort+0x88/0x90 syzkaller/managers/linux-4-19/kernel/mm/kasan/report.c:432 f2fs_evict_inode+0x100b/0x1330 syzkaller/managers/linux-4-19/kernel/fs/f2fs/inode.c:650 evict+0x2ed/0x760 syzkaller/managers/linux-4-19/kernel/fs/inode.c:559 iput_final syzkaller/managers/linux-4-19/kernel/fs/inode.c:1555 [inline] iput+0x4f1/0x860 syzkaller/managers/linux-4-19/kernel/fs/inode.c:1581 dentry_unlink_inode+0x265/0x320 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:374 __dentry_kill+0x3c0/0x640 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:566 dentry_kill+0xc4/0x510 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:685 shrink_dentry_list+0x2ab/0x6e0 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:1092 shrink_dcache_sb+0x144/0x220 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:1212 f2fs_fill_super+0x1461/0x7050 syzkaller/managers/linux-4-19/kernel/fs/f2fs/super.c:3225 mount_bdev+0x2fc/0x3b0 syzkaller/managers/linux-4-19/kernel/fs/super.c:1158 mount_fs+0xa3/0x310 syzkaller/managers/linux-4-19/kernel/fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:961 vfs_kern_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:951 [inline] do_new_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:2469 [inline] do_mount+0x113c/0x2f10 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:2799 ksys_mount+0xcf/0x130 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3015 __do_sys_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3029 [inline] __se_sys_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3026 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x44c94a Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 a8 00 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f83a5788068 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f83a57880c0 RCX: 000000000044c94a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f83a5788080 RBP: 0000000000000008 R08: 00007f83a57880c0 R09: 00007f83a57886bc R10: 0000000000000000 R11: 0000000000000286 R12: 00007f83a5788080 R13: 00000000200002c0 R14: 0000000000000003 R15: 0000000000000004 Allocated by task 8121: kmem_cache_alloc_trace+0x12f/0x380 syzkaller/managers/linux-4-19/kernel/mm/slab.c:3625 kmalloc syzkaller/managers/linux-4-19/kernel/./include/linux/slab.h:515 [inline] kzalloc syzkaller/managers/linux-4-19/kernel/./include/linux/slab.h:709 [inline] f2fs_fill_super+0xfd/0x7050 syzkaller/managers/linux-4-19/kernel/fs/f2fs/super.c:2821 mount_bdev+0x2fc/0x3b0 syzkaller/managers/linux-4-19/kernel/fs/super.c:1158 mount_fs+0xa3/0x310 syzkaller/managers/linux-4-19/kernel/fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:961 vfs_kern_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:951 [inline] do_new_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:2469 [inline] do_mount+0x113c/0x2f10 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:2799 ksys_mount+0xcf/0x130 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3015 __do_sys_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3029 [inline] __se_sys_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3026 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 8121: __cache_free syzkaller/managers/linux-4-19/kernel/mm/slab.c:3503 [inline] kfree+0xcc/0x210 syzkaller/managers/linux-4-19/kernel/mm/slab.c:3822 f2fs_fill_super+0x1439/0x7050 syzkaller/managers/linux-4-19/kernel/fs/f2fs/super.c:3220 mount_bdev+0x2fc/0x3b0 syzkaller/managers/linux-4-19/kernel/fs/super.c:1158 mount_fs+0xa3/0x310 syzkaller/managers/linux-4-19/kernel/fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:961 vfs_kern_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:951 [inline] do_new_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:2469 [inline] do_mount+0x113c/0x2f10 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:2799 ksys_mount+0xcf/0x130 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3015 __do_sys_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3029 [inline] __se_sys_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3026 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe The buggy address belongs to the object at ffff888094930440 which belongs to the cache kmalloc-8192 of size 8192 The buggy address is located 3408 bytes inside of 8192-byte region [ffff888094930440, ffff888094932440) The buggy address belongs to the page: page:ffffea0002524c00 count:1 mapcount:0 mapping:ffff88813bff2080 index:0x0 compound_mapcount: 0 flags: 0xfff00000008100(slab|head) raw: 00fff00000008100 ffffea0002554008 ffff88813bff1b48 ffff88813bff2080 raw: 0000000000000000 ffff888094930440 0000000100000001 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888094931080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888094931100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff888094931180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888094931200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888094931280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== kasan: CONFIG_KASAN_INLINE enabled kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8114 Comm: syz-executor877 Tainted: G B 4.19.172-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:NODE_MAPPING syzkaller/managers/linux-4-19/kernel/fs/f2fs/f2fs.h:1501 [inline] RIP: 0010:f2fs_evict_inode+0xe92/0x1330 syzkaller/managers/linux-4-19/kernel/fs/f2fs/inode.c:712 Code: c1 ea 03 80 3c 02 00 0f 85 c6 03 00 00 49 8b 9c 24 38 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 30 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 95 03 00 00 48 8b 7b 30 4c 89 f2 4c 89 f6 e8 95 RSP: 0018:ffff8880b140f790 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff830ed037 RDX: 0000000000000006 RSI: ffffffff830ed9e2 RDI: 0000000000000030 kasan: CONFIG_KASAN_INLINE enabled RBP: ffff88808b084300 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 1ffff1101545cd51 R12: ffff8880b2bf83c0 R13: ffff88808b0846d0 R14: 0000000000000003 R15: ffff8880b134eaf8 FS: 00007f83a5788700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 kasan: GPF could be caused by NULL-ptr deref or user memory access CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcc1b1cc20 CR3: 00000000b3e7e000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: evict+0x2ed/0x760 syzkaller/managers/linux-4-19/kernel/fs/inode.c:559 kasan: CONFIG_KASAN_INLINE enabled iput_final syzkaller/managers/linux-4-19/kernel/fs/inode.c:1555 [inline] iput+0x4f1/0x860 syzkaller/managers/linux-4-19/kernel/fs/inode.c:1581 dentry_unlink_inode+0x265/0x320 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:374 __dentry_kill+0x3c0/0x640 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:566 dentry_kill+0xc4/0x510 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:685 shrink_dentry_list+0x2ab/0x6e0 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:1092 shrink_dcache_sb+0x144/0x220 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:1212 f2fs_fill_super+0x1461/0x7050 syzkaller/managers/linux-4-19/kernel/fs/f2fs/super.c:3225 mount_bdev+0x2fc/0x3b0 syzkaller/managers/linux-4-19/kernel/fs/super.c:1158 mount_fs+0xa3/0x310 syzkaller/managers/linux-4-19/kernel/fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:961 vfs_kern_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:951 [inline] do_new_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:2469 [inline] do_mount+0x113c/0x2f10 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:2799 ksys_mount+0xcf/0x130 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3015 __do_sys_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3029 [inline] __se_sys_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3026 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x44c94a Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 a8 00 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f83a5788068 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f83a57880c0 RCX: 000000000044c94a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f83a5788080 RBP: 0000000000000008 R08: 00007f83a57880c0 R09: 00007f83a57886bc R10: 0000000000000000 R11: 0000000000000286 R12: 00007f83a5788080 R13: 00000000200002c0 R14: 0000000000000003 R15: 0000000000000004 Modules linked in: general protection fault: 0000 [#2] PREEMPT SMP KASAN CPU: 1 PID: 8120 Comm: syz-executor877 Tainted: G B D 4.19.172-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:NODE_MAPPING syzkaller/managers/linux-4-19/kernel/fs/f2fs/f2fs.h:1501 [inline] RIP: 0010:f2fs_evict_inode+0xe92/0x1330 syzkaller/managers/linux-4-19/kernel/fs/f2fs/inode.c:712 Code: c1 ea 03 80 3c 02 00 0f 85 c6 03 00 00 49 8b 9c 24 38 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 30 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 95 03 00 00 48 8b 7b 30 4c 89 f2 4c 89 f6 e8 95 RSP: 0018:ffff8880b142f790 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff830ed037 RDX: 0000000000000006 RSI: ffffffff830ed9e2 RDI: 0000000000000030 RBP: ffff88808b0cd480 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 1ffff11016a6ad35 R12: ffff888095500400 R13: ffff88808b0cd850 R14: 0000000000000003 R15: ffff88809532cd78 FS: 00007f83a5788700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb3f43320d0 CR3: 00000000af844000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: evict+0x2ed/0x760 syzkaller/managers/linux-4-19/kernel/fs/inode.c:559 iput_final syzkaller/managers/linux-4-19/kernel/fs/inode.c:1555 [inline] iput+0x4f1/0x860 syzkaller/managers/linux-4-19/kernel/fs/inode.c:1581 dentry_unlink_inode+0x265/0x320 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:374 __dentry_kill+0x3c0/0x640 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:566 dentry_kill+0xc4/0x510 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:685 shrink_dentry_list+0x2ab/0x6e0 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:1092 shrink_dcache_sb+0x144/0x220 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:1212 f2fs_fill_super+0x1461/0x7050 syzkaller/managers/linux-4-19/kernel/fs/f2fs/super.c:3225 mount_bdev+0x2fc/0x3b0 syzkaller/managers/linux-4-19/kernel/fs/super.c:1158 mount_fs+0xa3/0x310 syzkaller/managers/linux-4-19/kernel/fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:961 vfs_kern_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:951 [inline] do_new_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:2469 [inline] do_mount+0x113c/0x2f10 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:2799 ksys_mount+0xcf/0x130 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3015 __do_sys_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3029 [inline] __se_sys_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3026 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x44c94a Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 a8 00 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f83a5788068 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f83a57880c0 RCX: 000000000044c94a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f83a5788080 RBP: 0000000000000008 R08: 00007f83a57880c0 R09: 00007f83a57886bc R10: 0000000000000000 R11: 0000000000000286 R12: 00007f83a5788080 R13: 00000000200002c0 R14: 0000000000000003 R15: 0000000000000004 Modules linked in: general protection fault: 0000 [#3] PREEMPT SMP KASAN CPU: 0 PID: 8112 Comm: syz-executor877 Tainted: G B D 4.19.172-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 kasan: CONFIG_KASAN_INLINE enabled RIP: 0010:NODE_MAPPING syzkaller/managers/linux-4-19/kernel/fs/f2fs/f2fs.h:1501 [inline] RIP: 0010:f2fs_evict_inode+0xe92/0x1330 syzkaller/managers/linux-4-19/kernel/fs/f2fs/inode.c:712 Code: c1 ea 03 80 3c 02 00 0f 85 c6 03 00 00 49 8b 9c 24 38 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 30 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 95 03 00 00 48 8b 7b 30 4c 89 f2 4c 89 f6 e8 95 RSP: 0018:ffff888094157790 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff830ed037 RDX: 0000000000000006 RSI: ffffffff830ed9e2 RDI: 0000000000000030 kasan: GPF could be caused by NULL-ptr deref or user memory access RBP: ffff88808b080280 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 1ffff11015f1f797 R12: ffff8880b04d4300 R13: ffff88808b080650 R14: 0000000000000003 R15: ffff8880b13713f8 FS: 00007f83a5788700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005648db36cf28 CR3: 00000000a330e000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 kasan: GPF could be caused by NULL-ptr deref or user memory access Call Trace: evict+0x2ed/0x760 syzkaller/managers/linux-4-19/kernel/fs/inode.c:559 iput_final syzkaller/managers/linux-4-19/kernel/fs/inode.c:1555 [inline] iput+0x4f1/0x860 syzkaller/managers/linux-4-19/kernel/fs/inode.c:1581 dentry_unlink_inode+0x265/0x320 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:374 __dentry_kill+0x3c0/0x640 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:566 dentry_kill+0xc4/0x510 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:685 shrink_dentry_list+0x2ab/0x6e0 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:1092 shrink_dcache_sb+0x144/0x220 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:1212 f2fs_fill_super+0x1461/0x7050 syzkaller/managers/linux-4-19/kernel/fs/f2fs/super.c:3225 mount_bdev+0x2fc/0x3b0 syzkaller/managers/linux-4-19/kernel/fs/super.c:1158 mount_fs+0xa3/0x310 syzkaller/managers/linux-4-19/kernel/fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:961 vfs_kern_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:951 [inline] do_new_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:2469 [inline] do_mount+0x113c/0x2f10 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:2799 ksys_mount+0xcf/0x130 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3015 __do_sys_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3029 [inline] __se_sys_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3026 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x44c94a Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 a8 00 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f83a5788068 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f83a57880c0 RCX: 000000000044c94a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f83a5788080 RBP: 0000000000000008 R08: 00007f83a57880c0 R09: 00007f83a57886bc R10: 0000000000000000 R11: 0000000000000286 R12: 00007f83a5788080 R13: 00000000200002c0 R14: 0000000000000003 R15: 0000000000000004 Modules linked in: general protection fault: 0000 [#4] PREEMPT SMP KASAN ---[ end trace 7b3bf44963e5978e ]--- CPU: 1 PID: 8113 Comm: syz-executor877 Tainted: G B D 4.19.172-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:NODE_MAPPING syzkaller/managers/linux-4-19/kernel/fs/f2fs/f2fs.h:1501 [inline] RIP: 0010:f2fs_evict_inode+0xe92/0x1330 syzkaller/managers/linux-4-19/kernel/fs/f2fs/inode.c:712 Code: c1 ea 03 80 3c 02 00 0f 85 c6 03 00 00 49 8b 9c 24 38 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 30 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 95 03 00 00 48 8b 7b 30 4c 89 f2 4c 89 f6 e8 95 RIP: 0010:NODE_MAPPING syzkaller/managers/linux-4-19/kernel/fs/f2fs/f2fs.h:1501 [inline] RIP: 0010:f2fs_evict_inode+0xe92/0x1330 syzkaller/managers/linux-4-19/kernel/fs/f2fs/inode.c:712 RSP: 0018:ffff8880b27e7790 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff830ed037 RDX: 0000000000000006 RSI: ffffffff830ed9e2 RDI: 0000000000000030 RBP: ffff88808b0c8400 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 1ffff110155f4f3c R12: ffff8880b05e4340 R13: ffff88808b0c87d0 R14: 0000000000000003 R15: ffff8880b2ab7138 Code: c1 ea 03 80 3c 02 00 0f 85 c6 03 00 00 49 8b 9c 24 38 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 30 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 95 03 00 00 48 8b 7b 30 4c 89 f2 4c 89 f6 e8 95 FS: 00007f83a5788700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb3f4338010 CR3: 00000000ac2ff000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 RSP: 0018:ffff8880b140f790 EFLAGS: 00010206 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: evict+0x2ed/0x760 syzkaller/managers/linux-4-19/kernel/fs/inode.c:559 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff830ed037 iput_final syzkaller/managers/linux-4-19/kernel/fs/inode.c:1555 [inline] iput+0x4f1/0x860 syzkaller/managers/linux-4-19/kernel/fs/inode.c:1581 dentry_unlink_inode+0x265/0x320 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:374 __dentry_kill+0x3c0/0x640 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:566 RDX: 0000000000000006 RSI: ffffffff830ed9e2 RDI: 0000000000000030 dentry_kill+0xc4/0x510 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:685 shrink_dentry_list+0x2ab/0x6e0 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:1092 shrink_dcache_sb+0x144/0x220 syzkaller/managers/linux-4-19/kernel/fs/dcache.c:1212 RBP: ffff88808b084300 R08: 0000000000000000 R09: 0000000000000000 f2fs_fill_super+0x1461/0x7050 syzkaller/managers/linux-4-19/kernel/fs/f2fs/super.c:3225 R10: 0000000000000007 R11: 1ffff1101545cd51 R12: ffff8880b2bf83c0 R13: ffff88808b0846d0 R14: 0000000000000003 R15: ffff8880b134eaf8 mount_bdev+0x2fc/0x3b0 syzkaller/managers/linux-4-19/kernel/fs/super.c:1158 mount_fs+0xa3/0x310 syzkaller/managers/linux-4-19/kernel/fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:961 vfs_kern_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:951 [inline] do_new_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:2469 [inline] do_mount+0x113c/0x2f10 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:2799 FS: 00007f83a5788700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff84a483740 CR3: 00000000b3e7e000 CR4: 00000000001406f0 ksys_mount+0xcf/0x130 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3015 __do_sys_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3029 [inline] __se_sys_mount syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 syzkaller/managers/linux-4-19/kernel/fs/namespace.c:3026 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 RIP: 0033:0x44c94a Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 a8 00 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f83a5788068 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f83a57880c0 RCX: 000000000044c94a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f83a5788080 RBP: 0000000000000008 R08: 00007f83a57880c0 R09: 00007f83a57886bc R10: 0000000000000000 R11: 0000000000000286 R12: 00007f83a5788080