[nilfs2?] kernel BUG in end_page_writeback

6 views
Skip to first unread message

syzbot

unread,
Dec 30, 2022, 3:15:44 PM12/30/22
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: c4215ee4771b Linux 4.14.302
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=16a0e14c480000
kernel config: https://syzkaller.appspot.com/x/.config?x=4a9988fe055c9527
dashboard link: https://syzkaller.appspot.com/bug?extid=6d72effc948a9d1029aa
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1557e188480000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17af126c480000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/c93ba055d204/disk-c4215ee4.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/bfbc929a33c1/vmlinux-c4215ee4.xz
kernel image: https://storage.googleapis.com/syzbot-assets/444658051770/bzImage-c4215ee4.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/679d8b80fb54/mount_0.gz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+6d72ef...@syzkaller.appspotmail.com

audit: type=1800 audit(1672431232.541:2): pid=7994 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor392" name="bus" dev="loop0" ino=18 res=0
NILFS (loop0): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds
------------[ cut here ]------------
kernel BUG at mm/filemap.c:1154!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 7999 Comm: segctord Not tainted 4.14.302-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
task: ffff8880b29562c0 task.stack: ffff888095fb8000
RIP: 0010:end_page_writeback+0x1a2/0x1c0 mm/filemap.c:1154
RSP: 0018:ffff888095fbfb70 EFLAGS: 00010297
RAX: ffff8880b29562c0 RBX: ffffea000269a740 RCX: 1ffff1101652ad6e
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000282
RBP: ffffea000269a740 R08: ffffffff8b9dca70 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000000 R12: ffffea000269a760
R13: ffffea00027e3b20 R14: dffffc0000000000 R15: ffff88808e364400
FS: 0000000000000000(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e4bb6d02c8 CR3: 0000000098c95000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
nilfs_segctor_complete_write fs/nilfs2/segment.c:1855 [inline]
nilfs_segctor_wait fs/nilfs2/segment.c:1942 [inline]
nilfs_segctor_do_construct+0x4bf4/0x79c0 fs/nilfs2/segment.c:2105
nilfs_segctor_construct+0x6db/0x8e0 fs/nilfs2/segment.c:2394
nilfs_segctor_thread_construct fs/nilfs2/segment.c:2502 [inline]
nilfs_segctor_thread+0x3ad/0xdb0 fs/nilfs2/segment.c:2586
kthread+0x30d/0x420 kernel/kthread.c:232
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406
Code: 89 e7 e8 f2 76 16 00 e9 53 ff ff ff 48 89 df e8 e5 76 16 00 e9 ce fe ff ff 4c 89 e7 e8 d8 76 16 00 e9 90 fe ff ff e8 ce b5 ec ff <0f> 0b 48 89 ef e8 c4 76 16 00 e9 4d ff ff ff 66 66 2e 0f 1f 84
RIP: end_page_writeback+0x1a2/0x1c0 mm/filemap.c:1154 RSP: ffff888095fbfb70
---[ end trace 0d62e84782b49dfd ]---


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches
Reply all
Reply to author
Forward
0 new messages