Test for WARNING in mark_buffer_dirty (4)

3 views
Skip to first unread message

Hawkins Jiawei

unread,
Aug 18, 2022, 11:12:11 AM8/18/22
to syzkall...@googlegroups.com, syzbot+2af3bc...@syzkaller.appspotmail.com
0001-fs-fix-WARNING-in-mark_buffer_dirty-4.patch

syzbot

unread,
Aug 18, 2022, 3:49:10 PM8/18/22
to syzkall...@googlegroups.com, yin3...@gmail.com
Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-and-tested-by: syzbot+2af3bc...@syzkaller.appspotmail.com

Tested on:

commit: 573ae4f1 tee: add overflow check in register_shm_helpe..
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
console output: https://syzkaller.appspot.com/x/log.txt?x=110236cb080000
kernel config: https://syzkaller.appspot.com/x/.config?x=d9d854f607a68b32
dashboard link: https://syzkaller.appspot.com/bug?extid=2af3bc9585be7f23f290
compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
patch: https://syzkaller.appspot.com/x/patch.diff?x=1712b1a5080000

Note: testing is done by a robot and is best-effort only.

syzbot

unread,
Aug 20, 2022, 2:33:16 PM8/20/22
to syzkall...@googlegroups.com, yin3...@gmail.com
Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-and-tested-by: syzbot+2af3bc...@syzkaller.appspotmail.com

Tested on:

commit: f31c32ef Merge tag 'for-linus' of git://git.kernel.org..
console output: https://syzkaller.appspot.com/x/log.txt?x=124be5e3080000
kernel config: https://syzkaller.appspot.com/x/.config?x=d9d854f607a68b32
dashboard link: https://syzkaller.appspot.com/bug?extid=2af3bc9585be7f23f290
compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
patch: https://syzkaller.appspot.com/x/patch.diff?x=177676d3080000

syzbot

unread,
Aug 20, 2022, 2:51:14 PM8/20/22
to syzkall...@googlegroups.com, yin3...@gmail.com
Hello,

syzbot has tested the proposed patch but the reproducer is still triggering an issue:
WARNING in mark_buffer_dirty

MINIX-fs warning: superblock detected previous I/O error
------------[ cut here ]------------
WARNING: CPU: 0 PID: 17362 at fs/buffer.c:1081 mark_buffer_dirty+0x60b/0x9c0 fs/buffer.c:1081
Modules linked in:
CPU: 0 PID: 17362 Comm: syz-executor.0 Not tainted 6.0.0-rc1-syzkaller-00368-gf31c32efd57c-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:mark_buffer_dirty+0x60b/0x9c0 fs/buffer.c:1081
Code: 89 f5 41 83 e5 01 4c 89 ee e8 61 b7 94 ff 4d 85 ed 0f 84 df fd ff ff e8 73 ba 94 ff 49 8d 5e ff e9 d1 fd ff ff e8 65 ba 94 ff <0f> 0b e9 31 fa ff ff e8 59 ba 94 ff 0f 0b e9 50 fa ff ff e8 4d ba
RSP: 0018:ffffc9000adffd60 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88806b8e0488 RCX: 0000000000000000
RDX: ffff888078af5880 RSI: ffffffff81e750eb RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888021b7e7d8
R13: 0000000000000000 R14: 0000000000000000 R15: ffff888076ebdcc0
FS: 00007f94bf50e700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f926999d090 CR3: 0000000075971000 CR4: 0000000000350ee0
Call Trace:
<TASK>
minix_put_super+0x1ec/0x570 fs/minix/inode.c:57
generic_shutdown_super+0x14c/0x400 fs/super.c:491
kill_block_super+0x97/0xf0 fs/super.c:1427
deactivate_locked_super+0x94/0x160 fs/super.c:332
deactivate_super+0xad/0xd0 fs/super.c:363
cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1186
task_work_run+0xdd/0x1a0 kernel/task_work.c:177
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop kernel/entry/common.c:169 [inline]
exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201
__syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f94be489209
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f94bf50e168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffec RBX: 00007f94be59c030 RCX: 00007f94be489209
RDX: 0000000020000140 RSI: 00000000200000c0 RDI: 00000000200002c0
RBP: 00007f94be4e3161 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff499dc76f R14: 00007f94bf50e300 R15: 0000000000022000
</TASK>


Tested on:

commit: f31c32ef Merge tag 'for-linus' of git://git.kernel.org..
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
console output: https://syzkaller.appspot.com/x/log.txt?x=17b6c33d080000
kernel config: https://syzkaller.appspot.com/x/.config?x=d9d854f607a68b32
dashboard link: https://syzkaller.appspot.com/bug?extid=2af3bc9585be7f23f290
compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
patch: https://syzkaller.appspot.com/x/patch.diff?x=134d6b35080000

syzbot

unread,
Aug 21, 2022, 6:11:14 AM8/21/22
to syzkall...@googlegroups.com, yin3...@gmail.com
Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-and-tested-by: syzbot+2af3bc...@syzkaller.appspotmail.com

Tested on:

commit: 15b3f48a Merge tag 'kbuild-fixes-v6.0' of git://git.ke..
console output: https://syzkaller.appspot.com/x/log.txt?x=1703b903080000
kernel config: https://syzkaller.appspot.com/x/.config?x=d9d854f607a68b32
dashboard link: https://syzkaller.appspot.com/bug?extid=2af3bc9585be7f23f290
compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
patch: https://syzkaller.appspot.com/x/patch.diff?x=178b6b6b080000
Reply all
Reply to author
Forward
0 new messages