[v6.6] kernel BUG in jfs_evict_inode

0 views
Skip to first unread message

syzbot

unread,
Jun 19, 2025, 12:21:33 PM6/19/25
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 6282921b6825 Linux 6.6.94
git tree: linux-6.6.y
console output: https://syzkaller.appspot.com/x/log.txt?x=13effe82580000
kernel config: https://syzkaller.appspot.com/x/.config?x=96da6b2210cda427
dashboard link: https://syzkaller.appspot.com/bug?extid=5177a390222bb7d639b5
compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/a3bf0d8e22b2/disk-6282921b.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/d1d442f782d0/vmlinux-6282921b.xz
kernel image: https://storage.googleapis.com/syzbot-assets/a8378f4b7e1b/bzImage-6282921b.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+5177a3...@syzkaller.appspotmail.com

------------[ cut here ]------------
kernel BUG at fs/jfs/inode.c:169!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5774 Comm: syz-executor Not tainted 6.6.94-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:jfs_evict_inode+0x431/0x440 fs/jfs/inode.c:169
Code: e4 fe e9 e0 fd ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 17 fe ff ff 4c 89 f7 e8 a9 08 e4 fe e9 0a fe ff ff e8 9f 61 8b fe <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 41 57 41
RSP: 0018:ffffc90004447ac0 EFLAGS: 00010293
RAX: ffffffff82fa3431 RBX: ffff88805c291ff0 RCX: ffff88802dbe8000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88805c291ff0
RBP: 0000000000000001 R08: ffffffff90d856a7 R09: 1ffffffff21b0ad4
R10: dffffc0000000000 R11: fffffbfff21b0ad5 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff88805c291c78 R15: ffff88805c2921c0
FS: 000055557be91500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055557beac5c8 CR3: 0000000061eb3000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
evict+0x486/0x870 fs/inode.c:705
dispose_list fs/inode.c:738 [inline]
evict_inodes+0x5fe/0x690 fs/inode.c:792
generic_shutdown_super+0x97/0x2b0 fs/super.c:672
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:0x7f8b63f8fc57
Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007fff04278e28 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f8b64010925 RCX: 00007f8b63f8fc57
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff04278ee0
RBP: 00007fff04278ee0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff04279f70
R13: 00007f8b64010925 R14: 000000000002443b R15: 00007fff04279fb0
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:jfs_evict_inode+0x431/0x440 fs/jfs/inode.c:169
Code: e4 fe e9 e0 fd ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 17 fe ff ff 4c 89 f7 e8 a9 08 e4 fe e9 0a fe ff ff e8 9f 61 8b fe <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 41 57 41
RSP: 0018:ffffc90004447ac0 EFLAGS: 00010293
RAX: ffffffff82fa3431 RBX: ffff88805c291ff0 RCX: ffff88802dbe8000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88805c291ff0
RBP: 0000000000000001 R08: ffffffff90d856a7 R09: 1ffffffff21b0ad4
R10: dffffc0000000000 R11: fffffbfff21b0ad5 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff88805c291c78 R15: ffff88805c2921c0
FS: 000055557be91500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2c61cff8 CR3: 0000000061eb3000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Jun 22, 2025, 11:27:31 AM6/22/25
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 6282921b6825 Linux 6.6.94
git tree: linux-6.6.y
console output: https://syzkaller.appspot.com/x/log.txt?x=14550b0c580000
kernel config: https://syzkaller.appspot.com/x/.config?x=96da6b2210cda427
dashboard link: https://syzkaller.appspot.com/bug?extid=5177a390222bb7d639b5
compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12550b0c580000
mounted in repro: https://storage.googleapis.com/syzbot-assets/bca2fe059af7/mount_0.gz
fsck result: failed (log: https://syzkaller.appspot.com/x/fsck.log?x=103bcdd4580000)

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+5177a3...@syzkaller.appspotmail.com

------------[ cut here ]------------
kernel BUG at fs/jfs/inode.c:169!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5886 Comm: syz-executor Not tainted 6.6.94-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:jfs_evict_inode+0x431/0x440 fs/jfs/inode.c:169
Code: e4 fe e9 e0 fd ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 17 fe ff ff 4c 89 f7 e8 a9 08 e4 fe e9 0a fe ff ff e8 9f 61 8b fe <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 41 57 41
RSP: 0018:ffffc900031c7ac0 EFLAGS: 00010293
RAX: ffffffff82fa3431 RBX: ffff888073651ff0 RCX: ffff888023573c00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888073651ff0
RBP: 0000000000000001 R08: ffffffff90d85637 R09: 1ffffffff21b0ac6
R10: dffffc0000000000 R11: fffffbfff21b0ac7 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff888073651c78 R15: ffff8880736521c0
FS: 0000555574423500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00002000007f3000 CR3: 0000000027f60000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
evict+0x486/0x870 fs/inode.c:705
dispose_list fs/inode.c:738 [inline]
evict_inodes+0x5fe/0x690 fs/inode.c:792
generic_shutdown_super+0x97/0x2b0 fs/super.c:672
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:0x7f5cddb8fc57
Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffc757f8c08 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f5cddc10925 RCX: 00007f5cddb8fc57
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc757f8cc0
RBP: 00007ffc757f8cc0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffc757f9d50
R13: 00007f5cddc10925 R14: 00000000000427a6 R15: 00007ffc757f9d90
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:jfs_evict_inode+0x431/0x440 fs/jfs/inode.c:169
Code: e4 fe e9 e0 fd ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 17 fe ff ff 4c 89 f7 e8 a9 08 e4 fe e9 0a fe ff ff e8 9f 61 8b fe <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 41 57 41
RSP: 0018:ffffc900031c7ac0 EFLAGS: 00010293
RAX: ffffffff82fa3431 RBX: ffff888073651ff0 RCX: ffff888023573c00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888073651ff0
RBP: 0000000000000001 R08: ffffffff90d85637 R09: 1ffffffff21b0ac6
R10: dffffc0000000000 R11: fffffbfff21b0ac7 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff888073651c78 R15: ffff8880736521c0
FS: 0000555574423500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000823000 CR3: 0000000027f60000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

syzbot

unread,
Jun 28, 2025, 5:24:34 PM6/28/25
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 3f5b4c104b7d Linux 6.6.95
git tree: linux-6.6.y
console output: https://syzkaller.appspot.com/x/log.txt?x=109e288c580000
kernel config: https://syzkaller.appspot.com/x/.config?x=b80883c3ded77c16
dashboard link: https://syzkaller.appspot.com/bug?extid=5177a390222bb7d639b5
compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=149e288c580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=14e48770580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/0efd4e01816e/disk-3f5b4c10.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/f7c9d20858cc/vmlinux-3f5b4c10.xz
kernel image: https://storage.googleapis.com/syzbot-assets/18f8dc74ef68/bzImage-3f5b4c10.xz
mounted in repro #1: https://storage.googleapis.com/syzbot-assets/d11db79cebdb/mount_0.gz
fsck result: failed (log: https://syzkaller.appspot.com/x/fsck.log?x=1541088c580000)
mounted in repro #2: https://storage.googleapis.com/syzbot-assets/63f07ca4f289/mount_4.gz
fsck result: OK (log: https://syzkaller.appspot.com/x/fsck.log?x=10e48770580000)

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+5177a3...@syzkaller.appspotmail.com

------------[ cut here ]------------
kernel BUG at fs/jfs/inode.c:169!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5878 Comm: syz-executor Not tainted 6.6.95-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:jfs_evict_inode+0x431/0x440 fs/jfs/inode.c:169
Code: e4 fe e9 e0 fd ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 17 fe ff ff 4c 89 f7 e8 a9 02 e4 fe e9 0a fe ff ff e8 df 53 8b fe <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 41 57 41
RSP: 0018:ffffc90004687ac0 EFLAGS: 00010293
RAX: ffffffff82fa4281 RBX: ffff8880728a3270 RCX: ffff888024670000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880728a3270
RBP: 0000000000000001 R08: ffffffff90d85637 R09: 1ffffffff21b0ac6
R10: dffffc0000000000 R11: fffffbfff21b0ac7 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff8880728a2ef8 R15: ffff8880728a3440
FS: 0000555579eaf500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe42441ba8 CR3: 00000000752ec000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
evict+0x486/0x870 fs/inode.c:705
dispose_list fs/inode.c:738 [inline]
evict_inodes+0x5fe/0x690 fs/inode.c:792
generic_shutdown_super+0x97/0x2b0 fs/super.c:672
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:0x7f0d8a78fc57
Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffe42442358 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f0d8a810925 RCX: 00007f0d8a78fc57
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe42442410
RBP: 00007ffe42442410 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe424434a0
R13: 00007f0d8a810925 R14: 000000000001a235 R15: 00007ffe424434e0
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:jfs_evict_inode+0x431/0x440 fs/jfs/inode.c:169
Code: e4 fe e9 e0 fd ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 17 fe ff ff 4c 89 f7 e8 a9 02 e4 fe e9 0a fe ff ff e8 df 53 8b fe <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 41 57 41
RSP: 0018:ffffc90004687ac0 EFLAGS: 00010293
RAX: ffffffff82fa4281 RBX: ffff8880728a3270 RCX: ffff888024670000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880728a3270
RBP: 0000000000000001 R08: ffffffff90d85637 R09: 1ffffffff21b0ac6
R10: dffffc0000000000 R11: fffffbfff21b0ac7 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff8880728a2ef8 R15: ffff8880728a3440
FS: 0000555579eaf500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc4567f7000 CR3: 00000000752ec000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
Reply all
Reply to author
Forward
0 new messages