syzbot


kernel BUG in clear_inode

Status: upstream: reported C repro on 2025/06/18 00:00
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+104f5ed9af31229ee2ef@syzkaller.appspotmail.com
First crash: 2d10h, last: 2d00h
Bug presence (1)
Date Name Commit Repro Result
2025/06/20 upstream (ToT) 75f5f23f8787 C [report] kernel BUG in clear_inode
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in clear_inode (2) jfs C inconclusive 986 9d19h 234d 28/29 fixed on 2025/06/10 16:19
linux-6.1 kernel BUG in clear_inode origin:upstream missing-backport C inconclusive 25 6d22h 756d 0/3 upstream: reported C repro on 2023/05/25 23:24
linux-5.15 kernel BUG in clear_inode (3) missing-backport origin:upstream C done 22 7d05h 210d 0/3 upstream: reported C repro on 2024/11/22 00:29
linux-5.15 kernel BUG in clear_inode 1 781d 781d 0/3 auto-obsoleted due to no activity on 2023/08/23 09:07
upstream kernel BUG in clear_inode (3) jfs C error 232 1h09m 7d21h 0/29 upstream: reported C repro on 2025/06/12 11:53
linux-5.15 kernel BUG in clear_inode (2) 2 336d 415d 0/3 auto-obsoleted due to no activity on 2024/10/27 05:50
upstream kernel BUG in clear_inode btrfs C 12 243d 384d 28/29 fixed on 2024/10/22 11:57
upstream kernel BUG at fs/inode.c:LINE! (2) fs C done unreliable 322 408d 1756d 25/29 fixed on 2024/05/21 07:00

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/inode.c:650!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5770 Comm: syz-executor231 Not tainted 6.6.93-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:clear_inode+0x12c/0x150 fs/inode.c:650
Code: e8 89 92 91 ff 43 80 3c 27 00 74 08 4c 89 f7 e8 0a 38 ea ff 49 c7 06 60 00 00 00 5b 41 5c 41 5d 41 5e 41 5f c3 e8 64 92 91 ff <0f> 0b e8 5d 92 91 ff 0f 0b e8 56 92 91 ff 0f 0b e8 4f 92 91 ff 0f
RSP: 0018:ffffc900043ef970 EFLAGS: 00010093
RAX: ffffffff81f4047c RBX: ffff88807521a930 RCX: ffff88807a910000
RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff5200087df0c R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff88807521ab60 R15: 0000000000000011
FS:  00005555688b7380(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffdd5d86fa8 CR3: 0000000021c5b000 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+0x486/0x870 fs/inode.c:705
 __dentry_kill+0x431/0x650 fs/dcache.c:611
 shrink_dentry_list+0x39f/0x6a0 fs/dcache.c:1206
 shrink_dcache_parent+0xac/0x3c0 fs/dcache.c:-1
 do_one_tree+0x23/0xe0 fs/dcache.c:1686
 shrink_dcache_for_umount+0x69/0x110 fs/dcache.c:1703
 generic_shutdown_super+0x67/0x2b0 fs/super.c:665
 kill_block_super+0x44/0x90 fs/super.c:1660
 deactivate_locked_super+0x97/0x100 fs/super.c:481
 cleanup_mnt+0x429/0x4c0 fs/namespace.c:1250
 task_work_run+0x1ce/0x250 kernel/task_work.c:239
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa498125607
Code: 07 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffdd5d87758 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000015c06 RCX: 00007fa498125607
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffdd5d87810
RBP: 00007ffdd5d87810 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000202 R12: 00007ffdd5d88880
R13: 00005555688b86c0 R14: 431bde82d7b634db R15: 00007ffdd5d888a0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:clear_inode+0x12c/0x150 fs/inode.c:650
Code: e8 89 92 91 ff 43 80 3c 27 00 74 08 4c 89 f7 e8 0a 38 ea ff 49 c7 06 60 00 00 00 5b 41 5c 41 5d 41 5e 41 5f c3 e8 64 92 91 ff <0f> 0b e8 5d 92 91 ff 0f 0b e8 56 92 91 ff 0f 0b e8 4f 92 91 ff 0f
RSP: 0018:ffffc900043ef970 EFLAGS: 00010093
RAX: ffffffff81f4047c RBX: ffff88807521a930 RCX: ffff88807a910000
RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff5200087df0c R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff88807521ab60 R15: 0000000000000011
FS:  00005555688b7380(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffdd5d86fa8 CR3: 0000000021c5b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/18 09:08 linux-6.6.y c2603c511feb e77fae15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-6-kasan kernel BUG in clear_inode
2025/06/17 23:12 linux-6.6.y c2603c511feb e77fae15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in clear_inode
2025/06/17 23:12 linux-6.6.y c2603c511feb e77fae15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in clear_inode
2025/06/17 23:10 linux-6.6.y c2603c511feb e77fae15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in clear_inode
2025/06/17 23:10 linux-6.6.y c2603c511feb e77fae15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in clear_inode
* Struck through repros no longer work on HEAD.