Hello,
syzbot found the following issue on:
HEAD commit: 0a51d2d4527b Linux 5.15.173
git tree: linux-5.15.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=1140dee8580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=f63d146f1af4415a
dashboard link:
https://syzkaller.appspot.com/bug?extid=e6e2bba5438f57dd796a
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=131ea5c0580000
C reproducer:
https://syzkaller.appspot.com/x/repro.c?x=1540dee8580000
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/733a95526889/disk-0a51d2d4.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/409603e5dc40/vmlinux-0a51d2d4.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/2d60efa369ee/bzImage-0a51d2d4.xz
mounted in repro:
https://storage.googleapis.com/syzbot-assets/3d1bb96e521e/mount_0.gz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+e6e2bb...@syzkaller.appspotmail.com
Locker's tblock: ffffc900024d9c90: 8ac17900 ffffffff 00000200 00000000
Locker's tblock: ffffc900024d9ca0: 024d9ca0 ffffc900 024d9ca0 ffffc900
Locker's tblock: ffffc900024d9cb0: 00000004 0000001c 00000008 00000000
Tlock: ffffc900026fa5a0: 00060016 20208040 757583e0 ffff8880
Tlock: ffffc900026fa5b0: 70f44e30 ffff8880 03140000 05002000
Tlock: ffffc900026fa5c0: 06030a00 0000020d 00000000 00000000
Tlock: ffffc900026fa5d0: 00000000 00000000 00000000 00000000
Tlock: ffffc900026fa5e0: 00000000 00000000
------------[ cut here ]------------
kernel BUG at fs/jfs/jfs_txnmgr.c:834!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 4179 Comm: syz-executor388 Not tainted 5.15.173-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:txLock+0x1b17/0x1b30 fs/jfs/jfs_txnmgr.c:834
Code: c1 8a 48 c7 c6 40 7f c1 8a ba 01 00 00 00 b9 10 00 00 00 41 b8 04 00 00 00 4c 8b 0c 24 6a 00 6a 48 e8 4d b0 23 01 48 83 c4 10 <0f> 0b e8 b2 67 9a fe 4c 89 ef 48 c7 c6 a0 85 c1 8a e8 c3 b9 d0 fe
RSP: 0018:ffffc90002e57178 EFLAGS: 00010286
RAX: 23188059bcf6a700 RBX: 0000000000000010 RCX: ffff8880252e9dc0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 000000000000000b R08: ffffffff81669a1c R09: fffff520005cad39
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc900026fa000
R13: 00000000000000b4 R14: ffffc900026fa5a2 R15: 1ffff920004df4b4
FS: 00007f39331eb6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f39331ebd58 CR3: 000000007ac91000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
dtInsert+0xb06/0x6b00 fs/jfs/jfs_dtree.c:881
jfs_create+0x7b2/0xbb0 fs/jfs/namei.c:137
lookup_open fs/namei.c:3462 [inline]
open_last_lookups fs/namei.c:3532 [inline]
path_openat+0x130a/0x2f20 fs/namei.c:3739
do_filp_open+0x21c/0x460 fs/namei.c:3769
do_sys_openat2+0x13b/0x4f0 fs/open.c:1253
do_sys_open fs/open.c:1269 [inline]
__do_sys_openat fs/open.c:1285 [inline]
__se_sys_openat fs/open.c:1280 [inline]
__x64_sys_openat+0x243/0x290 fs/open.c:1280
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f393324f879
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 18 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f39331eb218 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f39332dc6d8 RCX: 00007f393324f879
RDX: 000000000000275a RSI: 00000000200010c0 RDI: 00000000ffffff9c
RBP: 00007f39332dc6d0 R08: 00007ffd502247f7 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f39332a9190
R13: 0030656c69662f2e R14: 00007f39332a307e R15: 3d6469672c647261
</TASK>
Modules linked in:
---[ end trace 4d185051ca937155 ]---
RIP: 0010:txLock+0x1b17/0x1b30 fs/jfs/jfs_txnmgr.c:834
Code: c1 8a 48 c7 c6 40 7f c1 8a ba 01 00 00 00 b9 10 00 00 00 41 b8 04 00 00 00 4c 8b 0c 24 6a 00 6a 48 e8 4d b0 23 01 48 83 c4 10 <0f> 0b e8 b2 67 9a fe 4c 89 ef 48 c7 c6 a0 85 c1 8a e8 c3 b9 d0 fe
RSP: 0018:ffffc90002e57178 EFLAGS: 00010286
RAX: 23188059bcf6a700 RBX: 0000000000000010 RCX: ffff8880252e9dc0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 000000000000000b R08: ffffffff81669a1c R09: fffff520005cad39
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc900026fa000
R13: 00000000000000b4 R14: ffffc900026fa5a2 R15: 1ffff920004df4b4
FS: 00007f39331eb6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f39331ebd58 CR3: 000000007ac91000 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 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.
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