syzbot


kernel BUG in jfs_evict_inode

Status: upstream: reported C repro on 2022/09/26 17:05
Reported-by: syzbot+9c0c58ea2e4887ab502e@syzkaller.appspotmail.com
First crash: 62d, last: 20h32m

Cause bisection: failed (bisect log)

Sample crash report:
ERROR: (device loop0): remounting filesystem as read-only
ialloc: diAlloc returned -5!
------------[ cut here ]------------
kernel BUG at fs/jfs/inode.c:169!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 3606 Comm: syz-executor161 Not tainted 6.0.0-syzkaller-09039-ga6afa4199d3d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
RIP: 0010:jfs_evict_inode+0x3d8/0x4a0 fs/jfs/inode.c:169
Code: 7c 24 80 00 74 0d e8 b7 46 a4 fe 48 89 df e8 3f 57 02 00 e8 aa 46 a4 fe 48 89 df e8 72 ab 1f ff e9 f4 fc ff ff e8 98 46 a4 fe <0f> 0b 48 c7 c7 e0 5d 4b 8c e8 1a 5c f1 fe e9 55 fc ff ff e8 10 5c
RSP: 0018:ffffc90003f4fb70 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888073ff2930 RCX: 0000000000000000
RDX: ffff888026d41d80 RSI: ffffffff82d6d098 RDI: ffff888073ff2920
RBP: ffff888073ff25b8 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: ffffc90003f4fe08 R12: ffff888073ff2a08
R13: ffff888073ff2958 R14: ffffffff8a296380 R15: ffff88807681ca00
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000560709040d28 CR3: 000000001d3f3000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 evict+0x2ed/0x6b0 fs/inode.c:664
 dispose_list+0x117/0x1e0 fs/inode.c:697
 evict_inodes+0x352/0x450 fs/inode.c:747
 generic_shutdown_super+0xab/0x410 fs/super.c:479
 kill_block_super+0x97/0xf0 fs/super.c:1427
 deactivate_locked_super+0x94/0x160 fs/super.c:331
 deactivate_super+0xad/0xd0 fs/super.c:362
 cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1186
 task_work_run+0xdd/0x1a0 kernel/task_work.c:177
 exit_task_work include/linux/task_work.h:38 [inline]
 do_exit+0xad5/0x29b0 kernel/exit.c:795
 do_group_exit+0xd2/0x2f0 kernel/exit.c:925
 __do_sys_exit_group kernel/exit.c:936 [inline]
 __se_sys_exit_group kernel/exit.c:934 [inline]
 __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:934
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff1f29e2149
Code: Unable to access opcode bytes at 0x7ff1f29e211f.
RSP: 002b:00007ffebc432498 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007ff1f2a673f0 RCX: 00007ff1f29e2149
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 0000000000000001 R08: ffffffffffffffc0 R09: 00007ff1f2a61e40
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff1f2a673f0
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:jfs_evict_inode+0x3d8/0x4a0 fs/jfs/inode.c:169
Code: 7c 24 80 00 74 0d e8 b7 46 a4 fe 48 89 df e8 3f 57 02 00 e8 aa 46 a4 fe 48 89 df e8 72 ab 1f ff e9 f4 fc ff ff e8 98 46 a4 fe <0f> 0b 48 c7 c7 e0 5d 4b 8c e8 1a 5c f1 fe e9 55 fc ff ff e8 10 5c
RSP: 0018:ffffc90003f4fb70 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888073ff2930 RCX: 0000000000000000
RDX: ffff888026d41d80 RSI: ffffffff82d6d098 RDI: ffff888073ff2920
RBP: ffff888073ff25b8 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: ffffc90003f4fe08 R12: ffff888073ff2a08
R13: ffff888073ff2958 R14: ffffffff8a296380 R15: ffff88807681ca00
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000560709040d28 CR3: 000000001d3f3000 CR4: 0000000000350ef0

Crashes (92):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2022/10/09 21:41 upstream a6afa4199d3d aea5da89 .config log report syz C kernel BUG in jfs_evict_inode
ci-upstream-kasan-gce-root 2022/10/01 03:59 upstream 5a77386984b5 feb56351 .config log report syz C kernel BUG in jfs_evict_inode
ci-upstream-kasan-gce-root 2022/09/28 21:41 upstream 49c13ed0316d e2556bc3 .config log report syz C kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/09/27 09:31 upstream 3800a713b607 10323ddf .config log report syz C kernel BUG in jfs_evict_inode
ci-upstream-linux-next-kasan-gce-root 2022/11/06 00:20 linux-next 0cdb3579f1ee 6d752409 .config log report syz C kernel BUG in jfs_evict_inode
ci-upstream-linux-next-kasan-gce-root 2022/10/26 07:55 linux-next 4d48f589d294 1984aebd .config log report syz C kernel BUG in jfs_evict_inode
ci-upstream-gce-arm64 2022/09/25 18:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c194837ebb57 0042f2b4 .config log report syz C kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/11/26 06:40 upstream 08ad43d554ba f4470a7b .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/11/25 15:23 upstream c3eb11fbb826 74a66371 .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/11/24 00:02 upstream eb7081409f94 52fdf57a .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/11/23 15:17 upstream eb7081409f94 52fdf57a .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/11/20 23:46 upstream 77c51ba552a1 5bb70014 .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/11/18 05:48 upstream 84368d882b96 5bb70014 .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/11/17 01:08 upstream 59d0d52c30d4 3a127a31 .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/11/14 20:27 upstream 094226ad94f4 943f4cb8 .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/11/13 23:59 upstream af7a05689189 7ba4d859 .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/11/11 13:08 upstream 4bbf3422df78 f42ee5d8 .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/11/09 11:06 upstream f141df371335 5fa28208 .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/11/08 18:49 upstream 59f2f4b8a757 060f945e .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/11/06 20:18 upstream b208b9fbbcba 6d752409 .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/11/02 20:29 upstream b229b6ca5abb 08977f5d .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/11/01 10:04 upstream b229b6ca5abb a1d8560a .config log report info kernel BUG in jfs_evict_inode
ci-upstream-kasan-gce-selinux-root 2022/10/31 23:25 upstream b229b6ca5abb 2a71366b .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/10/31 10:29 upstream b229b6ca5abb 2a71366b .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/10/28 09:02 upstream b229b6ca5abb 5c716ff6 .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/10/27 20:13 upstream b229b6ca5abb 5c716ff6 .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/10/27 16:06 upstream b229b6ca5abb 5c716ff6 .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/10/27 08:51 upstream 4dc12f37a8e9 86777b7f .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/10/25 17:23 upstream 337a0a0b63f1 45645420 .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/10/25 15:05 upstream 337a0a0b63f1 45645420 .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/10/22 23:41 upstream 440b7895c990 c0b80a55 .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/10/22 03:40 upstream 6d36c728bc2e 63e790dd .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/10/21 03:37 upstream 493ffd6605b2 a0fd4dab .config log report info kernel BUG in jfs_evict_inode
ci2-upstream-fs 2022/10/20 18:42 upstream 493ffd6605b2 b31320fc .config log report info kernel BUG in jfs_evict_inode
ci-upstream-kasan-gce-smack-root 2022/10/14 18:13 upstream 55be6084c8e0 4954e4b2 .config log report info kernel BUG in jfs_evict_inode
ci-upstream-linux-next-kasan-gce-root 2022/10/31 12:06 linux-next 4d48f589d294 2a71366b .config log report info kernel BUG in jfs_evict_inode
ci-upstream-gce-arm64 2022/11/16 06:38 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 3a127a31 .config log report info kernel BUG in jfs_evict_inode
ci-upstream-gce-arm64 2022/11/15 12:12 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9e4ce762f0e7 97de9cfc .config log report info kernel BUG in jfs_evict_inode
ci-upstream-gce-arm64 2022/11/15 05:38 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9e4ce762f0e7 943f4cb8 .config log report info kernel BUG in jfs_evict_inode
ci-upstream-gce-arm64 2022/11/13 14:12 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config log report info kernel BUG in jfs_evict_inode
ci-upstream-gce-arm64 2022/11/13 03:28 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config log report info kernel BUG in jfs_evict_inode
ci-upstream-gce-arm64 2022/11/12 13:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config log report info kernel BUG in jfs_evict_inode
ci-upstream-gce-arm64 2022/11/11 05:51 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config log report info kernel BUG in jfs_evict_inode
ci-upstream-gce-arm64 2022/11/09 20:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 56751c56c2a2 5fa28208 .config log report info kernel BUG in jfs_evict_inode
ci-upstream-gce-arm64 2022/11/06 09:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 6d752409 .config log report info kernel BUG in jfs_evict_inode
ci-upstream-gce-arm64 2022/11/05 08:49 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 6d752409 .config log report info kernel BUG in jfs_evict_inode
ci-upstream-gce-arm64 2022/11/04 14:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 6d752409 .config log report info kernel BUG in jfs_evict_inode
ci-upstream-gce-arm64 2022/11/01 22:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 edac4fd1 .config log report info kernel BUG in jfs_evict_inode
ci-upstream-gce-arm64 2022/10/31 00:41 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 2a71366b .config log report info kernel BUG in jfs_evict_inode
ci-upstream-gce-arm64 2022/10/29 04:26 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 ea12ae9b .config log report info kernel BUG in jfs_evict_inode
ci-upstream-gce-arm64 2022/10/26 15:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 2159e4d2 .config log report info kernel BUG in jfs_evict_inode
ci-upstream-gce-arm64 2022/10/22 17:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 c0b80a55 .config log report info kernel BUG in jfs_evict_inode
ci-upstream-gce-arm64 2022/10/20 22:38 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 a0fd4dab .config log report info kernel BUG in jfs_evict_inode
ci-upstream-gce-arm64 2022/09/25 17:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c194837ebb57 0042f2b4 .config log report info kernel BUG in jfs_evict_inode
* Struck through repros no longer work on HEAD.