syzbot


kernel BUG in jfs_evict_inode

Status: upstream: reported C repro on 2023/04/07 20:28
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+a50115b4b5afe2f6041d@syzkaller.appspotmail.com
First crash: 528d, last: 2h28m
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2023/10/21 upstream (ToT) 9c5d00cb7b6b C [report] kernel BUG in jfs_evict_inode
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in jfs_evict_inode jfs C inconclusive 20177 8m 721d 0/28 upstream: reported C repro on 2022/09/26 17:05
linux-6.1 kernel BUG in jfs_evict_inode origin:upstream C 872 1d11h 529d 0/3 upstream: reported C repro on 2023/04/06 06:29
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2024/01/14 09:46 0m bisect fix linux-5.15.y error job log
2023/12/14 18:38 58m bisect fix linux-5.15.y OK (0) job log log
2023/10/21 00:40 1h51m bisect fix linux-5.15.y OK (0) job log log

Sample crash report:
ERROR: (device loop0): remounting filesystem as read-only
ERROR: (device loop0): jfs_readdir: JFS:Dtree error: ino = 2, bn=0, index = 4
ERROR: (device loop0): jfs_readdir: JFS:Dtree error: ino = 2, bn=0, index = 5
------------[ cut here ]------------
kernel BUG at fs/jfs/inode.c:169!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 3501 Comm: syz-executor520 Not tainted 5.15.138-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
RIP: 0010:jfs_evict_inode+0x42f/0x440 fs/jfs/inode.c:169
Code: 89 df e8 34 56 ed fe e9 1d fe ff ff e8 ba a0 a3 fe 48 c7 c7 a0 7b ca 8c 4c 89 ee e8 bb 3d 4c 01 e9 92 fd ff ff e8 a1 a0 a3 fe <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 41 57 41 56 41
RSP: 0018:ffffc90002bdfaa8 EFLAGS: 00010293
RAX: ffffffff82dc81af RBX: ffff888073ec3838 RCX: ffff888078f03b80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888073ec3bb0
RBP: ffff888073ec3d78 R08: ffffffff81f4b1c2 R09: fffffbfff1f79c3a
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888073ec3bb0
R13: ffffffff8ac07210 R14: dffffc0000000000 R15: ffff888073ec3bb0
FS:  0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa9574bddb8 CR3: 000000000c68e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 evict+0x2a4/0x620 fs/inode.c:587
 dispose_list fs/inode.c:620 [inline]
 evict_inodes+0x601/0x6a0 fs/inode.c:670
 generic_shutdown_super+0x99/0x2c0 fs/super.c:454
 kill_block_super+0x7a/0xe0 fs/super.c:1414
 deactivate_locked_super+0xa0/0x110 fs/super.c:335
 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143
 task_work_run+0x129/0x1a0 kernel/task_work.c:164
 exit_task_work include/linux/task_work.h:32 [inline]
 do_exit+0x6a3/0x2480 kernel/exit.c:872
 do_group_exit+0x144/0x310 kernel/exit.c:994
 __do_sys_exit_group kernel/exit.c:1005 [inline]
 __se_sys_exit_group kernel/exit.c:1003 [inline]
 __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1003
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fa957473849
Code: Unable to access opcode bytes at RIP 0x7fa95747381f.
RSP: 002b:00007ffe0c6d1378 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fa957473849
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 00007fa9574f42d0 R08: ffffffffffffffb8 R09: 00007ffe0c6d1450
R10: 00007ffe0c6d1450 R11: 0000000000000246 R12: 00007fa9574f42d0
R13: 0000000000000000 R14: 00007fa9574f5040 R15: 00007fa957441d80
 </TASK>
Modules linked in:
---[ end trace 7dc90f2659f59795 ]---
RIP: 0010:jfs_evict_inode+0x42f/0x440 fs/jfs/inode.c:169
Code: 89 df e8 34 56 ed fe e9 1d fe ff ff e8 ba a0 a3 fe 48 c7 c7 a0 7b ca 8c 4c 89 ee e8 bb 3d 4c 01 e9 92 fd ff ff e8 a1 a0 a3 fe <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 41 57 41 56 41
RSP: 0018:ffffc90002bdfaa8 EFLAGS: 00010293
RAX: ffffffff82dc81af RBX: ffff888073ec3838 RCX: ffff888078f03b80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888073ec3bb0
RBP: ffff888073ec3d78 R08: ffffffff81f4b1c2 R09: fffffbfff1f79c3a
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888073ec3bb0
R13: ffffffff8ac07210 R14: dffffc0000000000 R15: ffff888073ec3bb0
FS:  0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa9574bddb8 CR3: 000000000c68e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2001):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/14 10:59 linux-5.15.y 80529b4968a8 cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2023/07/15 21:43 linux-5.15.y d54cfc420586 35d9ecc5 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/06/04 19:07 linux-5.15.y c61bd26ae81a 11f2afa5 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in jfs_evict_inode
2024/03/13 23:34 linux-5.15.y 574362648507 f919f202 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in jfs_evict_inode
2023/06/11 21:25 linux-5.15.y 7349e40704a0 49519f06 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in jfs_evict_inode
2024/09/14 01:43 linux-5.15.y 3a5928702e71 b58f933c .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in jfs_evict_inode
2024/09/16 23:37 linux-5.15.y 3a5928702e71 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/16 23:34 linux-5.15.y 3a5928702e71 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/16 01:41 linux-5.15.y 3a5928702e71 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/15 07:27 linux-5.15.y 3a5928702e71 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/15 05:10 linux-5.15.y 3a5928702e71 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/14 14:10 linux-5.15.y 3a5928702e71 c7e35043 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/13 22:24 linux-5.15.y 3a5928702e71 b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/13 17:16 linux-5.15.y 3a5928702e71 b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/13 06:04 linux-5.15.y 3a5928702e71 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/13 06:03 linux-5.15.y 3a5928702e71 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/12 14:46 linux-5.15.y 3a5928702e71 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/12 12:39 linux-5.15.y 3a5928702e71 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/12 12:37 linux-5.15.y 3a5928702e71 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/12 03:26 linux-5.15.y 14e468424d3e d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/12 00:04 linux-5.15.y 14e468424d3e d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/11 21:46 linux-5.15.y 14e468424d3e d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/11 21:44 linux-5.15.y 14e468424d3e d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/11 11:56 linux-5.15.y 14e468424d3e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/11 06:04 linux-5.15.y 14e468424d3e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/11 06:00 linux-5.15.y 14e468424d3e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/10 23:28 linux-5.15.y 14e468424d3e 86aa7bd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/10 19:02 linux-5.15.y 14e468424d3e 86aa7bd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/10 16:47 linux-5.15.y 14e468424d3e 86aa7bd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/10 16:45 linux-5.15.y 14e468424d3e 86aa7bd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/10 08:51 linux-5.15.y 14e468424d3e 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/10 06:34 linux-5.15.y 14e468424d3e 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/10 02:56 linux-5.15.y 14e468424d3e 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/10 02:56 linux-5.15.y 14e468424d3e 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/09 17:07 linux-5.15.y 14e468424d3e 073f8be2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jfs_evict_inode
2024/09/16 20:22 linux-5.15.y 3a5928702e71 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in jfs_evict_inode
2024/09/16 18:47 linux-5.15.y 3a5928702e71 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in jfs_evict_inode
2024/09/16 14:28 linux-5.15.y 3a5928702e71 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in jfs_evict_inode
2024/09/16 12:03 linux-5.15.y 3a5928702e71 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in jfs_evict_inode
2024/09/16 04:01 linux-5.15.y 3a5928702e71 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in jfs_evict_inode
2024/09/15 22:59 linux-5.15.y 3a5928702e71 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in jfs_evict_inode
2024/09/15 08:15 linux-5.15.y 3a5928702e71 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in jfs_evict_inode
2024/09/15 01:20 linux-5.15.y 3a5928702e71 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in jfs_evict_inode
2024/09/14 13:07 linux-5.15.y 3a5928702e71 c7e35043 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in jfs_evict_inode
2024/09/14 13:05 linux-5.15.y 3a5928702e71 c7e35043 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in jfs_evict_inode
2024/09/13 19:40 linux-5.15.y 3a5928702e71 b58f933c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in jfs_evict_inode
2024/09/12 15:56 linux-5.15.y 3a5928702e71 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in jfs_evict_inode
2024/09/11 09:08 linux-5.15.y 14e468424d3e 8ab55d0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in jfs_evict_inode
2024/09/10 20:06 linux-5.15.y 14e468424d3e 86aa7bd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in jfs_evict_inode
2023/04/07 20:28 linux-5.15.y d86dfc4d95cd f7ba566d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in jfs_evict_inode
* Struck through repros no longer work on HEAD.