Hello,
syzbot found the following issue on:
HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=14607804880000
kernel config:
https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link:
https://syzkaller.appspot.com/bug?extid=919f232ff79b15f48913
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=16eecf54880000
C reproducer:
https://syzkaller.appspot.com/x/repro.c?x=16245edf080000
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+919f23...@syzkaller.appspotmail.com
IPVS: ftp: loaded support on port[0] = 21
ERROR: (device loop0): xtSearch: XT_GETPAGE: xtree page corrupt
ERROR: (device loop0): xtTruncate: XT_GETPAGE: xtree page corrupt
------------[ cut here ]------------
kernel BUG at fs/jfs/super.c:138!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 8084 Comm: syz-executor768 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
RIP: 0010:jfs_destroy_inode+0x18d/0x1e0 fs/jfs/super.c:138
Code: 4c 89 e2 48 c1 ea 03 0f b6 04 02 4c 89 e2 83 e2 07 38 d0 7f 04 84 c0 75 37 c6 83 83 fc ff ff ff e9 16 ff ff ff e8 93 12 f0 fe <0f> 0b 4c 89 e7 e8 29 ed 25 ff e9 e8 fe ff ff 48 89 ef e8 6c ef 25
RSP: 0018:ffff8880b3287ab8 EFLAGS: 00010293
RAX: ffff8880b0cc65c0 RBX: ffff88808b4045a8 RCX: ffffffff81a93820
RDX: 0000000000000000 RSI: ffffffff827272dd RDI: ffff88808b4045a8
RBP: ffff88808b404270 R08: 00000000beff0c58 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff8880b3287b98 R14: ffff88808b404748 R15: ffff88808b4045a8
FS: 0000555555618300(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3ade6661d0 CR3: 0000000094f75000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
destroy_inode+0xb9/0x110 fs/inode.c:268
dispose_list+0x124/0x1f0 fs/inode.c:594
evict_inodes+0x341/0x430 fs/inode.c:644
generic_shutdown_super+0xb3/0x370 fs/super.c:448
kill_block_super+0x97/0xf0 fs/super.c:1185
deactivate_locked_super+0x94/0x160 fs/super.c:329
deactivate_super+0x174/0x1a0 fs/super.c:360
cleanup_mnt+0x1a8/0x290 fs/namespace.c:1098
task_work_run+0x148/0x1c0 kernel/task_work.c:113
exit_task_work include/linux/task_work.h:22 [inline]
do_exit+0xbf3/0x2be0 kernel/exit.c:870
do_group_exit+0x125/0x310 kernel/exit.c:967
__do_sys_exit_group kernel/exit.c:978 [inline]
__se_sys_exit_group kernel/exit.c:976 [inline]
__x64_sys_exit_group+0x3a/0x50 kernel/exit.c:976
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f3ade5e1699
Code: Bad RIP value.
RSP: 002b:00007ffcfc87ea48 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007f3ade665330 RCX: 00007f3ade5e1699
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 0000000000000001 R08: ffffffffffffffc0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3ade665330
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001
Modules linked in:
---[ end trace 83e2c63f8cbc8a3c ]---
RIP: 0010:jfs_destroy_inode+0x18d/0x1e0 fs/jfs/super.c:138
Code: 4c 89 e2 48 c1 ea 03 0f b6 04 02 4c 89 e2 83 e2 07 38 d0 7f 04 84 c0 75 37 c6 83 83 fc ff ff ff e9 16 ff ff ff e8 93 12 f0 fe <0f> 0b 4c 89 e7 e8 29 ed 25 ff e9 e8 fe ff ff 48 89 ef e8 6c ef 25
RSP: 0018:ffff8880b3287ab8 EFLAGS: 00010293
RAX: ffff8880b0cc65c0 RBX: ffff88808b4045a8 RCX: ffffffff81a93820
RDX: 0000000000000000 RSI: ffffffff827272dd RDI: ffff88808b4045a8
RBP: ffff88808b404270 R08: 00000000beff0c58 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff8880b3287b98 R14: ffff88808b404748 R15: ffff88808b4045a8
FS: 0000555555618300(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3ab59a3018 CR3: 00000000a0f54000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400