syzbot


WARNING in __mark_inode_dirty (2)

Status: auto-closed as invalid on 2019/02/22 10:29
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+10c9ec572880993f2edd@syzkaller.appspotmail.com
First crash: 2124d, last: 2124d
Discussions (1)
Title Replies (including bot) Last reply
WARNING in __mark_inode_dirty (2) 0 (1) 2018/06/26 15:19
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __mark_inode_dirty fs 1 2344d 2340d 0/26 closed as invalid on 2018/02/13 19:14
android-414 WARNING in __mark_inode_dirty (2) syz 7 1605d 1666d 0/1 public: reported syz repro on 2019/09/26 21:43
linux-4.14 WARNING in __mark_inode_dirty 3 1518d 1559d 0/1 auto-closed as invalid on 2020/06/21 10:48
linux-4.14 WARNING in __mark_inode_dirty (2) 5 1141d 1368d 0/1 auto-closed as invalid on 2021/07/03 15:16
android-414 WARNING in __mark_inode_dirty 11 1901d 1833d 0/1 auto-closed as invalid on 2019/08/03 08:11

Sample crash report:
 loop4: p1 p2 p3 p4 < >
 loop2: p1 p2 p3 p4 < >
------------[ cut here ]------------
bdi-block not registered
WARNING: CPU: 1 PID: 27489 at fs/fs-writeback.c:2194 __mark_inode_dirty+0xf0d/0x1550 fs/fs-writeback.c:2192
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 27489 Comm: syz-executor4 Not tainted 4.18.0-rc2+ #117
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113
 panic+0x238/0x4e7 kernel/panic.c:184
 __warn.cold.8+0x163/0x1ba kernel/panic.c:536
 report_bug+0x252/0x2d0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x1fc/0x4d0 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:992
RIP: 0010:__mark_inode_dirty+0xf0d/0x1550 fs/fs-writeback.c:2192
Code: b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bf 05 00 00 49 8b 75 30 48 c7 c7 a0 d7 f3 87 e8 c3 b7 75 ff <0f> 0b e8 dc 94 aa ff 48 c7 c7 00 90 e0 88 48 b8 00 00 00 00 00 fc 
RSP: 0018:ffff88018c81f118 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffff8801c90e2418 RCX: ffffc90005841000
RDX: 000000000000324c RSI: ffffffff816318f1 RDI: ffff88018c81edf0
RBP: ffff88018c81f380 R08: ffff8801be2e05c0 R09: 0000000000000006
R10: ffff8801be2e05c0 R11: 0000000000000000 R12: ffff8801c84f6e00
R13: ffff8801d24c4a00 R14: ffff8801c90e24a0 R15: ffff8801c90e24f0
 mark_buffer_dirty+0x567/0x6d0 fs/buffer.c:1107
 __block_commit_write.isra.36+0x1a2/0x3b0 fs/buffer.c:2031
 block_write_end+0xab/0x270 fs/buffer.c:2109
 blkdev_write_end+0xd6/0x2f0 fs/block_dev.c:593
 generic_perform_write+0x4e0/0x6c0 mm/filemap.c:3150
 __generic_file_write_iter+0x26e/0x630 mm/filemap.c:3264
 blkdev_write_iter+0x23f/0x450 fs/block_dev.c:1913
 call_write_iter include/linux/fs.h:1795 [inline]
 do_iter_readv_writev+0x897/0xa90 fs/read_write.c:680
 do_iter_write+0x185/0x5f0 fs/read_write.c:959
 vfs_writev+0x1f1/0x360 fs/read_write.c:1004
 do_writev+0x11a/0x310 fs/read_write.c:1039
 __do_sys_writev fs/read_write.c:1112 [inline]
 __se_sys_writev fs/read_write.c:1109 [inline]
 __x64_sys_writev+0x75/0xb0 fs/read_write.c:1109
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455a99
Code: 1d ba fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 eb b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 
RSP: 002b:00007f4605b56c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 00007f4605b576d4 RCX: 0000000000455a99
RDX: 0000000000000003 RSI: 0000000020000680 RDI: 0000000000000013
RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004c0701 R14: 00000000004d3e48 R15: 0000000000000000
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/06/26 13:04 upstream 6f0d349d922b 089f1181 .config console log report ci-upstream-kasan-gce-root
* Struck through repros no longer work on HEAD.