syzbot


WARNING in ext4_write_inode

Status: auto-obsoleted due to no activity on 2023/09/21 16:26
Reported-by: syzbot+f6be91040d4f5b425cfd@syzkaller.appspotmail.com
First crash: 561d, last: 479d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in ext4_write_inode 6 1685d 1687d 0/1 auto-closed as invalid on 2020/06/22 22:10
upstream WARNING in ext4_write_inode ext4 13 1676d 1683d 15/28 fixed on 2020/05/10 10:41
upstream WARNING in ext4_write_inode (2) ext4 127 1h33m 966d 0/28 upstream: reported on 2022/02/12 00:47
linux-5.15 WARNING in ext4_write_inode 1 557d 557d 0/3 auto-obsoleted due to no activity on 2023/07/26 10:16
linux-4.19 WARNING in ext4_write_inode 1 1685d 1685d 0/1 auto-closed as invalid on 2020/06/22 14:27

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3574 at fs/ext4/inode.c:5282 ext4_write_inode+0x66b/0x740
Modules linked in:
CPU: 0 PID: 3574 Comm: syz-executor.0 Not tainted 6.1.33-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
RIP: 0010:ext4_write_inode+0x66b/0x740 fs/ext4/inode.c:5282
Code: fb ff ff ff 4d 85 ff 74 12 e8 91 17 52 ff 4c 89 ff e8 b9 58 c7 ff e9 d3 fd ff ff e8 7f 17 52 ff e9 c9 fd ff ff e8 75 17 52 ff <0f> 0b e9 bd fd ff ff e8 69 17 52 ff e9 7e fd ff ff 44 89 f1 80 e1
RSP: 0000:ffffc900040eeec0 EFLAGS: 00010293
RAX: ffffffff8237bddb RBX: 0000000000000800 RCX: ffff888015b31dc0
RDX: 0000000000000000 RSI: 0000000000000800 RDI: 0000000000000000
RBP: ffffc900040eefb0 R08: ffffffff8237b830 R09: fffffbfff1ca63de
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88808b615cf8
R13: 1ffff9200081dddc R14: 0000000000000000 R15: 0000000000400940
FS:  0000555556678400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000001 CR3: 000000003b22b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 write_inode fs/fs-writeback.c:1443 [inline]
 __writeback_single_inode+0x67d/0x11e0 fs/fs-writeback.c:1655
 writeback_single_inode+0x22c/0x960 fs/fs-writeback.c:1711
 write_inode_now+0x1cf/0x260 fs/fs-writeback.c:2747
 iput_final fs/inode.c:1734 [inline]
 iput+0x616/0x980 fs/inode.c:1773
 __dentry_kill+0x436/0x650 fs/dcache.c:607
 dentry_kill+0xbb/0x290
 dput+0x1ef/0x420 fs/dcache.c:913
 ovl_destroy_inode+0x3c/0xe0 fs/overlayfs/super.c:214
 destroy_inode fs/inode.c:309 [inline]
 evict+0x542/0x620 fs/inode.c:679
 __dentry_kill+0x436/0x650 fs/dcache.c:607
 shrink_dentry_list+0x398/0x6a0 fs/dcache.c:1201
 prune_dcache_sb+0x10b/0x170 fs/dcache.c:1282
 super_cache_scan+0x33c/0x480 fs/super.c:104
 do_shrink_slab+0x597/0xed0 mm/vmscan.c:846
 shrink_slab_memcg mm/vmscan.c:915 [inline]
 shrink_slab+0x574/0x8b0 mm/vmscan.c:994
 shrink_node_memcgs mm/vmscan.c:6129 [inline]
 shrink_node+0x767/0x2940 mm/vmscan.c:6158
 shrink_zones mm/vmscan.c:6396 [inline]
 do_try_to_free_pages+0x751/0x1a50 mm/vmscan.c:6458
 try_to_free_mem_cgroup_pages+0x46f/0xb70 mm/vmscan.c:6773
 reclaim_high+0x1dd/0x260 mm/memcontrol.c:2389
 mem_cgroup_handle_over_high+0x146/0x2b0 mm/memcontrol.c:2574
 resume_user_mode_work include/linux/resume_user_mode.h:58 [inline]
 exit_to_user_mode_loop+0x96/0x100 kernel/entry/common.c:171
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
 syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:297
 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fd16a28bd08
Code: 24 18 31 c0 41 83 e2 40 75 40 89 f0 25 00 00 41 00 3d 00 00 41 00 74 32 44 89 c2 4c 89 ce bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 40 48 8b 4c 24 18 64 48 2b 0c 25 28 00 00 00
RSP: 002b:00007ffec2078fe0 EFLAGS: 00000287 ORIG_RAX: 0000000000000101
RAX: 0000000000000003 RBX: 000000000000026f RCX: 00007fd16a28bd08
RDX: 0000000000090800 RSI: 00007ffec207a1d0 RDI: 00000000ffffff9c
RBP: 00007ffec207a1ac R08: 0000000000090800 R09: 00007ffec207a1d0
R10: 0000000000000000 R11: 0000000000000287 R12: 00007fd16a2e6cdc
R13: 00007ffec207a1d0 R14: 0000000000000007 R15: 00007ffec207a210
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/13 16:25 linux-6.1.y 2f3918bc53fb 749afb64 .config console log report info ci2-linux-6-1-kasan WARNING in ext4_write_inode
2023/06/12 15:10 linux-6.1.y 2f3918bc53fb aaed0183 .config console log report info ci2-linux-6-1-kasan WARNING in ext4_write_inode
2023/06/09 17:07 linux-6.1.y 2f3918bc53fb 9018a337 .config console log report info ci2-linux-6-1-kasan WARNING in ext4_write_inode
2023/03/28 06:38 linux-6.1.y e3a87a10f259 47f3aaf1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ext4_write_inode
2023/03/24 02:01 linux-6.1.y e3a87a10f259 f94b4a29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ext4_write_inode
* Struck through repros no longer work on HEAD.