syzbot


WARNING in ext4_write_inode (2)

Status: upstream: reported on 2022/02/12 00:47
Reported-by: syzbot+748cc361874fca7d33cc@syzkaller.appspotmail.com
First crash: 358d, last: 15d
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in ext4_write_inode 6 1073d 1075d 0/1 auto-closed as invalid on 2020/06/22 22:10
upstream WARNING in ext4_write_inode 13 1064d 1071d 17/24 fixed on 2020/05/10 10:41
linux-4.19 WARNING in ext4_write_inode 1 1074d 1074d 0/1 auto-closed as invalid on 2020/06/22 14:27

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5106 at fs/ext4/inode.c:5322 ext4_write_inode+0x64c/0x720
Modules linked in:
CPU: 1 PID: 5106 Comm: syz-executor.1 Not tainted 6.2.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:ext4_write_inode+0x64c/0x720 fs/ext4/inode.c:5322
Code: 9a d1 50 ff 4d 85 ff 74 12 e8 90 d1 50 ff 4c 89 ff e8 18 76 c6 ff e9 e2 fd ff ff e8 7e d1 50 ff e9 d8 fd ff ff e8 74 d1 50 ff <0f> 0b e9 cc fd ff ff e8 68 d1 50 ff e9 8d fd ff ff 44 89 f1 80 e1
RSP: 0018:ffffc90003cded60 EFLAGS: 00010293
RAX: ffffffff823b0aac RBX: 0000000000000800 RCX: ffff88802c26d7c0
RDX: 0000000000000000 RSI: 0000000000000800 RDI: 0000000000000000
RBP: ffffc90003cdee50 R08: ffffffff823b0520 R09: fffffbfff1d2d266
R10: fffffbfff1d2d266 R11: 1ffffffff1d2d265 R12: ffff888072ec6700
R13: 1ffff9200079bdb0 R14: 0000000000000000 R15: 0000000000400940
FS:  00005555562ea400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb41b80dfc8 CR3: 00000000423ee000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 write_inode fs/fs-writeback.c:1451 [inline]
 __writeback_single_inode+0x4d6/0x670 fs/fs-writeback.c:1663
 writeback_single_inode+0x21e/0x810 fs/fs-writeback.c:1719
 write_inode_now+0x1cd/0x260 fs/fs-writeback.c:2755
 iput_final fs/inode.c:1734 [inline]
 iput+0x3e6/0x760 fs/inode.c:1773
 __dentry_kill+0x3b1/0x5b0 fs/dcache.c:607
 dentry_kill+0xbb/0x290
 dput+0x1f3/0x410 fs/dcache.c:913
 ovl_destroy_inode+0x42/0xf0 fs/overlayfs/super.c:214
 destroy_inode fs/inode.c:309 [inline]
 evict+0x541/0x620 fs/inode.c:679
 __dentry_kill+0x3b1/0x5b0 fs/dcache.c:607
 shrink_dentry_list+0x386/0x6c0 fs/dcache.c:1201
 prune_dcache_sb+0x10a/0x170 fs/dcache.c:1282
 super_cache_scan+0x32c/0x470 fs/super.c:104
 do_shrink_slab+0x4e1/0xa00 mm/vmscan.c:843
 shrink_slab_memcg+0x2ec/0x630 mm/vmscan.c:912
 shrink_slab+0xbe/0x340 mm/vmscan.c:991
 shrink_node_memcgs+0x3bf/0x780 mm/vmscan.c:6140
 shrink_node+0x299/0x1050 mm/vmscan.c:6169
 shrink_zones+0x4b8/0xbd0 mm/vmscan.c:6407
 do_try_to_free_pages+0x215/0xcd0 mm/vmscan.c:6469
 try_to_free_mem_cgroup_pages+0x3c3/0x6c0 mm/vmscan.c:6786
 reclaim_high+0x1c7/0x250 mm/memcontrol.c:2394
 mem_cgroup_handle_over_high+0x11f/0x280 mm/memcontrol.c:2580
 resume_user_mode_work include/linux/resume_user_mode.h:58 [inline]
 exit_to_user_mode_loop+0xa9/0x150 kernel/entry/common.c:171
 exit_to_user_mode_prepare+0xb2/0x140 kernel/entry/common.c:203
 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
 syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:296
 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f75b7c8d537
Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff88871d48 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: ffffffffffffffea RBX: 0000000000000000 RCX: 00007f75b7c8d537
RDX: 00007fff88871e1c RSI: 000000000000000a RDI: 00007fff88871e10
RBP: 00007fff88871e10 R08: 00000000ffffffff R09: 00007fff88871be0
R10: 00005555562eb893 R11: 0000000000000246 R12: 00007f75b7ce6b24
R13: 00007fff88872ed0 R14: 00005555562eb810 R15: 00007fff88872f10
 </TASK>

Crashes (33):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-fs 2023/01/16 18:36 upstream 5dc4c995db9e a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_write_inode
ci-upstream-kasan-gce-smack-root 2022/11/23 12:06 upstream eb7081409f94 75740b3f .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_write_inode
ci-upstream-kasan-gce-smack-root 2022/11/21 03:01 upstream 77c51ba552a1 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_write_inode
ci-qemu-upstream 2022/11/05 15:26 upstream b208b9fbbcba 6d752409 .config console log report info WARNING in ext4_write_inode
ci-upstream-kasan-gce-smack-root 2022/11/05 13:25 upstream 10d916c86eca 6d752409 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_write_inode
ci2-upstream-fs 2022/11/05 01:34 upstream 64c3dd0b98f5 6d752409 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_write_inode
ci-upstream-kasan-gce-selinux-root 2022/10/27 15:15 upstream 98555239e4c3 86777b7f .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_write_inode
ci-upstream-kasan-gce-root 2022/10/26 11:02 upstream 4dc12f37a8e9 2159e4d2 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_write_inode
ci-upstream-kasan-gce-root 2022/10/25 23:44 upstream 4dc12f37a8e9 1984aebd .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_write_inode
ci-upstream-kasan-gce-smack-root 2022/10/25 08:54 upstream a970174d7a10 45645420 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in ext4_write_inode
ci-qemu-upstream 2022/10/25 02:39 upstream 337a0a0b63f1 6134fb91 .config console log report info WARNING in ext4_write_inode
ci-qemu-upstream 2022/09/29 14:18 upstream c3e0e1e23c70 d9da3ac6 .config console log report info WARNING in ext4_write_inode
ci2-upstream-fs 2022/09/25 02:03 upstream 3db61221f4e8 0042f2b4 .config console log report info WARNING in ext4_write_inode
ci2-upstream-fs 2022/09/24 19:10 upstream 3db61221f4e8 0042f2b4 .config console log report info WARNING in ext4_write_inode
ci-qemu-upstream 2022/08/23 03:38 upstream 072e51356cd5 26a13b38 .config console log report info WARNING in ext4_write_inode
ci-qemu-upstream 2022/08/18 23:49 upstream 573ae4f13f63 26a13b38 .config console log report info WARNING in ext4_write_inode
ci-qemu-upstream 2022/07/27 00:12 upstream 4a57a8400075 ae971e66 .config console log report info WARNING in ext4_write_inode
ci-qemu-upstream 2022/07/19 12:49 upstream 4a57a8400075 72a3cc0c .config console log report info WARNING in ext4_write_inode
ci-upstream-kasan-gce-root 2022/03/14 22:10 upstream 09688c0166e7 9e8eaa75 .config console log report info WARNING in ext4_write_inode
ci-upstream-kasan-gce-root 2022/03/05 18:31 upstream ac84e82f78cb 7bdd8b2c .config console log report info WARNING in ext4_write_inode
ci-upstream-kasan-gce-root 2022/03/01 03:37 upstream 719fce7539cd 45a13a73 .config console log report info WARNING in ext4_write_inode
ci-upstream-kasan-gce-root 2022/02/25 02:09 upstream 73878e5eb1bd 7c337266 .config console log report info WARNING in ext4_write_inode
ci-upstream-kasan-gce-root 2022/02/19 09:49 upstream 4f12b742eb2b 3cd800e4 .config console log report info WARNING in ext4_write_inode
ci-upstream-kasan-gce-root 2022/02/11 21:04 upstream 1d41d2e82623 8b9ca619 .config console log report info WARNING in ext4_write_inode
ci-qemu-upstream-386 2022/09/19 11:19 upstream 521a547ced64 dd9a85ff .config console log report info WARNING in ext4_write_inode
ci-qemu-upstream-386 2022/09/19 08:51 upstream 521a547ced64 dd9a85ff .config console log report info WARNING in ext4_write_inode
ci-qemu-upstream-386 2022/09/02 05:38 upstream 42e66b1cc3a0 a805568e .config console log report info WARNING in ext4_write_inode
ci-qemu-upstream-386 2022/08/31 19:00 upstream c5e4d5e99162 51e54e30 .config console log report info WARNING in ext4_write_inode
ci-qemu-upstream-386 2022/06/29 11:53 upstream 941e3e791269 1434eec0 .config console log report info WARNING in ext4_write_inode
ci-qemu-upstream-386 2022/06/21 03:30 upstream 78ca55889a54 0fc5c330 .config console log report info WARNING in ext4_write_inode
ci-qemu-upstream-386 2022/06/13 12:36 upstream b13baccc3850 0d5abf15 .config console log report info WARNING in ext4_write_inode
ci-qemu-upstream-386 2022/02/08 00:41 upstream 2ade8eef993c a7dab638 .config console log report info WARNING in ext4_write_inode
ci-upstream-bpf-kasan-gce 2022/07/05 13:13 bpf ea1c3b77bc0b bff65f44 .config console log report info WARNING in ext4_write_inode
* Struck through repros no longer work on HEAD.