syzbot


kernel BUG in clear_inode (3)

Status: upstream: reported C repro on 2024/11/22 00:29
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+fd3c895d1c86f6104539@syzkaller.appspotmail.com
First crash: 150d, last: 23h03m
Bug presence (1)
Date Name Commit Repro Result
2024/11/22 upstream (ToT) 28eb75e178d3 C [report] kernel BUG in clear_inode
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in clear_inode (2) jfs C inconclusive 773 8m 175d 25/28 upstream: reported C repro on 2024/10/28 16:33
linux-6.1 kernel BUG in clear_inode origin:upstream C inconclusive 18 135d 697d 0/3 upstream: reported C repro on 2023/05/25 23:24
linux-5.15 kernel BUG in clear_inode 1 721d 721d 0/3 auto-obsoleted due to no activity on 2023/08/23 09:07
linux-5.15 kernel BUG in clear_inode (2) 2 276d 355d 0/3 auto-obsoleted due to no activity on 2024/10/27 05:50
upstream kernel BUG in clear_inode btrfs C 12 183d 325d 28/28 fixed on 2024/10/22 11:57
upstream kernel BUG at fs/inode.c:LINE! (2) fs C done unreliable 322 349d 1697d 25/28 fixed on 2024/05/21 07:00
Last patch testing requests (7)
Created Duration User Patch Repo Result
2025/04/07 01:58 10m retest repro linux-5.15.y report log
2025/03/24 01:05 11m retest repro linux-5.15.y report log
2025/03/09 11:30 13m retest repro linux-5.15.y report log
2025/03/09 11:30 0m retest repro linux-5.15.y error
2025/03/09 11:30 0m retest repro linux-5.15.y error
2025/03/09 11:30 10m retest repro linux-5.15.y report log
2025/03/09 11:30 0m retest repro linux-5.15.y error

Sample crash report:
find_entry called with index = 0
read_mapping_page failed!
ERROR: (device loop0): txCommit: 
ERROR: (device loop0): remounting filesystem as read-only
------------[ cut here ]------------
kernel BUG at fs/inode.c:592!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 4162 Comm: syz-executor214 Not tainted 5.15.180-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:clear_inode+0x12a/0x150 fs/inode.c:592
Code: 0c cd a3 ff 43 80 7c 25 00 00 74 08 4c 89 f7 e8 0c be ed ff 49 c7 06 60 00 00 00 5b 41 5c 41 5d 41 5e 41 5f c3 e8 e6 cc a3 ff <0f> 0b e8 df cc a3 ff 0f 0b e8 d8 cc a3 ff 0f 0b e8 d1 cc a3 ff 0f
RSP: 0018:ffffc90002def868 EFLAGS: 00010093
RAX: ffffffff81dc755a RBX: 0000000000000001 RCX: ffff888071c83b80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90002defa20 R08: ffffffff81dc7484 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff8880700b2b60 R15: ffff8880700b2930
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2231906578 CR3: 000000007d4c1000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 jfs_evict_inode+0xb1/0x440 fs/jfs/inode.c:166
 evict+0x529/0x930 fs/inode.c:647
 __dentry_kill+0x436/0x650 fs/dcache.c:586
 shrink_dentry_list+0x398/0x6a0 fs/dcache.c:1181
 shrink_dcache_parent+0xc9/0x480 fs/dcache.c:-1
 do_one_tree+0x23/0xe0 fs/dcache.c:1662
 shrink_dcache_for_umount+0x79/0x120 fs/dcache.c:1679
 generic_shutdown_super+0x63/0x310 fs/super.c:447
 kill_block_super+0x7a/0xe0 fs/super.c:1427
 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:188
 exit_task_work include/linux/task_work.h:33 [inline]
 do_exit+0x6a3/0x2480 kernel/exit.c:874
 do_group_exit+0x144/0x310 kernel/exit.c:996
 __do_sys_exit_group kernel/exit.c:1007 [inline]
 __se_sys_exit_group kernel/exit.c:1005 [inline]
 __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1005
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0x80 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f22318bbfc9
Code: Unable to access opcode bytes at RIP 0x7f22318bbf9f.
RSP: 002b:00007ffd257977a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f22318bbfc9
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 00007f223193e390 R08: ffffffffffffffb8 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f223193e390
R13: 0000000000000000 R14: 00007f223193f100 R15: 00007f223188a290
 </TASK>
Modules linked in:
---[ end trace f8f125167402ba7c ]---
RIP: 0010:clear_inode+0x12a/0x150 fs/inode.c:592
Code: 0c cd a3 ff 43 80 7c 25 00 00 74 08 4c 89 f7 e8 0c be ed ff 49 c7 06 60 00 00 00 5b 41 5c 41 5d 41 5e 41 5f c3 e8 e6 cc a3 ff <0f> 0b e8 df cc a3 ff 0f 0b e8 d8 cc a3 ff 0f 0b e8 d1 cc a3 ff 0f
RSP: 0018:ffffc90002def868 EFLAGS: 00010093
RAX: ffffffff81dc755a RBX: 0000000000000001 RCX: ffff888071c83b80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90002defa20 R08: ffffffff81dc7484 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff8880700b2b60 R15: ffff8880700b2930
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2231906578 CR3: 000000007d4c1000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/21 00:37 linux-5.15.y f7347f400572 2a20f901 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan kernel BUG in clear_inode
2024/11/22 20:19 linux-5.15.y 0a51d2d4527b 4b25d554 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in clear_inode
2024/11/22 18:50 linux-5.15.y 0a51d2d4527b 4b25d554 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in clear_inode
2024/11/22 16:58 linux-5.15.y 0a51d2d4527b 4b25d554 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in clear_inode
2024/11/22 14:58 linux-5.15.y 0a51d2d4527b 4b25d554 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in clear_inode
2024/11/22 13:49 linux-5.15.y 0a51d2d4527b 4b25d554 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in clear_inode
2024/11/22 03:09 linux-5.15.y 0a51d2d4527b 4b25d554 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in clear_inode
2024/11/28 17:51 linux-5.15.y 0a51d2d4527b 5df23865 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in clear_inode
2025/04/20 23:18 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in clear_inode
2025/01/23 15:58 linux-5.15.y 4735586da88e a44b0418 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in clear_inode
2025/01/21 01:13 linux-5.15.y 4735586da88e 6e87cfa2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in clear_inode
2024/12/09 11:19 linux-5.15.y 0a51d2d4527b 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in clear_inode
2024/12/07 02:24 linux-5.15.y 0a51d2d4527b 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in clear_inode
2024/11/22 00:30 linux-5.15.y 0a51d2d4527b 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in clear_inode
2024/11/22 00:28 linux-5.15.y 0a51d2d4527b 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in clear_inode
2024/11/22 00:28 linux-5.15.y 0a51d2d4527b 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in clear_inode
2025/02/07 16:11 linux-5.15.y c16c81c81336 53657d1b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in clear_inode
2025/02/04 20:44 linux-5.15.y c16c81c81336 8f267cef .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in clear_inode
* Struck through repros no longer work on HEAD.