syzbot


WARNING in ext4_set_page_dirty

Status: auto-closed as invalid on 2019/06/01 07:06
Reported-by: syzbot+bc4aa29af661cb610a97@syzkaller.appspotmail.com
First crash: 2011d, last: 1917d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in ext4_set_page_dirty ext4 C error 135 391d 1786d 0/1 upstream: reported C repro on 2019/04/13 10:39
linux-4.14 WARNING in ext4_set_page_dirty ext4 C error 24 383d 1709d 0/1 upstream: reported C repro on 2019/06/29 07:29
upstream WARNING in ext4_set_page_dirty mm C inconclusive done 18414 710d 2163d 0/26 closed as dup on 2023/04/30 04:56
linux-5.15 WARNING in ext4_set_page_dirty origin:lts-only C done 253 4d14h 362d 0/3 upstream: reported C repro on 2023/03/08 04:46

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 6520 at fs/ext4/inode.c:3898 ext4_set_page_dirty+0xfe/0x160 fs/ext4/inode.c:3898
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 6520 Comm: syz-executor1 Not tainted 4.14.85+ #15
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0xb9/0x11b lib/dump_stack.c:53
 panic+0x1bf/0x3a4 kernel/panic.c:181
 __warn.cold.7+0x2f/0x35 kernel/panic.c:542
 report_bug+0x1f7/0x26c lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 do_error_trap+0x1ba/0x2c0 arch/x86/kernel/traps.c:295
 invalid_op+0x18/0x40 arch/x86/entry/entry_64.S:944
RIP: 0010:ext4_set_page_dirty+0xfe/0x160 fs/ext4/inode.c:3898
RSP: 0018:ffff88819c95f5c0 EFLAGS: 00010216
RAX: 0000000000040000 RBX: ffffea0005df8080 RCX: 000000000000140b
RDX: ffffffff8173b01e RSI: ffffc90002541000 RDI: ffffea0005df8080
RBP: ffffea0005df8080 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffea0005df80a0
R13: ffff8881da95d220 R14: ffff8881da95d220 R15: ffff8881c5e31d40
 set_page_dirty+0x15b/0x2c0 mm/page-writeback.c:2566
 set_page_dirty_lock+0x61/0xa0 mm/page-writeback.c:2591
 dio_bio_complete+0x3bd/0x510 fs/direct-io.c:538
 dio_await_completion fs/direct-io.c:559 [inline]
 do_blockdev_direct_IO fs/direct-io.c:1370 [inline]
 __blockdev_direct_IO+0x758b/0xc4e0 fs/direct-io.c:1399
 ext4_direct_IO_read fs/ext4/inode.c:3802 [inline]
 ext4_direct_IO+0xbb8/0x27f0 fs/ext4/inode.c:3861
 generic_file_read_iter+0x23e/0x1ab0 mm/filemap.c:2242
 ext4_file_read_iter+0x114/0x160 fs/ext4/file.c:75
 call_read_iter include/linux/fs.h:1778 [inline]
 new_sync_read fs/read_write.c:401 [inline]
 __vfs_read+0x414/0x5b0 fs/read_write.c:413
 vfs_read+0x11e/0x330 fs/read_write.c:447
 SYSC_pread64 fs/read_write.c:615 [inline]
 SyS_pread64+0x136/0x160 fs/read_write.c:602
 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x457569
RSP: 002b:00007f4184e62c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000011
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457569
RDX: 0000000000001000 RSI: 0000000020002000 RDI: 0000000000000007
RBP: 000000000072bfa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4184e636d4
R13: 00000000004c37d2 R14: 00000000004d5b60 R15: 00000000ffffffff
Kernel Offset: 0x35a00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
Rebooting in 86400 seconds..

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/12/03 07:06 android-4.14 d11d7f1ccfb1 7dcaeaf3 .config console log report ci-android-414-kasan-gce-root
2018/11/23 16:54 android-4.14 ea91d158d712 2b0dc848 .config console log report ci-android-414-kasan-gce-root
2018/11/17 08:21 android-4.14 4e76528bd48d b08ee62a .config console log report ci-android-414-kasan-gce-root
2018/10/13 11:31 android-4.14 48091d94336e caf12900 .config console log report ci-android-414-kasan-gce-root
2018/09/23 16:46 android-4.14 666c420fa3ea 37079712 .config console log report ci-android-414-kasan-gce-root
2018/09/04 13:53 android-4.14 47350a9f13c6 a4718693 .config console log report ci-android-414-kasan-gce-root
2018/09/04 08:36 android-4.14 47350a9f13c6 a4718693 .config console log report ci-android-414-kasan-gce-root
2018/09/03 23:13 android-4.14 47350a9f13c6 a4718693 .config console log report ci-android-414-kasan-gce-root
2018/09/03 14:13 android-4.14 47350a9f13c6 a4718693 .config console log report ci-android-414-kasan-gce-root
2018/09/03 12:03 android-4.14 47350a9f13c6 a4718693 .config console log report ci-android-414-kasan-gce-root
2018/09/02 07:00 android-4.14 47350a9f13c6 a4718693 .config console log report ci-android-414-kasan-gce-root
2018/09/01 20:45 android-4.14 47350a9f13c6 a4718693 .config console log report ci-android-414-kasan-gce-root
2018/09/01 08:47 android-4.14 47350a9f13c6 a4718693 .config console log report ci-android-414-kasan-gce-root
2018/09/01 01:51 android-4.14 47350a9f13c6 a4718693 .config console log report ci-android-414-kasan-gce-root
2018/08/31 13:09 android-4.14 47350a9f13c6 a4718693 .config console log report ci-android-414-kasan-gce-root
* Struck through repros no longer work on HEAD.