[syzbot] kernel BUG in hfs_btree_open

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

syzbot found the following issue on:

HEAD commit:    faf68e3523c2 Merge tag 'kbuild-fixes-v6.1-4' of git://git...
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=1141006b880000
kernel config:  https://syzkaller.appspot.com/x/.config?x=ca997ea105bc6faa
dashboard link: https://syzkaller.appspot.com/bug?extid=e5896dff7bbe057e5fff
compiler:       Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/e7a5d146da01/disk-faf68e35.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/7689402fe5ca/vmlinux-faf68e35.xz
kernel image: https://storage.googleapis.com/syzbot-assets/6dd405048273/bzImage-faf68e35.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+e5896dff7bbe057e5fff@xxxxxxxxxxxxxxxxxxxxxxxxx

loop2: detected capacity change from 0 to 64
------------[ cut here ]------------
kernel BUG at fs/hfs/btree.c:41!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 13190 Comm: syz-executor.2 Not tainted 6.1.0-rc6-syzkaller-00315-gfaf68e3523c2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:hfs_btree_open+0xf04/0xf20 fs/hfs/btree.c:41
Code: 7e ff e9 77 fa ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 93 fa ff ff 4c 89 f7 e8 d6 29 7e ff e9 86 fa ff ff e8 cc 2f 29 ff <0f> 0b e8 c5 2f 29 ff 0f 0b e8 be 2f 29 ff 0f 0b 66 2e 0f 1f 84 00
RSP: 0018:ffffc9000b0d77b8 EFLAGS: 00010293
RAX: ffffffff826363a4 RBX: ffff8880904aa380 RCX: ffff88807d51ba80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff82635603 R09: ffffed101209548c
R10: ffffed101209548c R11: 1ffff1101209548b R12: ffff888073fde000
R13: ffff888095a5e008 R14: ffff888095a5e000 R15: dffffc0000000000
FS:  00007f4863a6c700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7e3e9a8000 CR3: 0000000079964000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 hfs_mdb_get+0x1466/0x21d0 fs/hfs/mdb.c:199
 hfs_fill_super+0x10a2/0x1800 fs/hfs/super.c:406
 mount_bdev+0x26c/0x3a0 fs/super.c:1401
 legacy_get_tree+0xea/0x180 fs/fs_context.c:610
 vfs_get_tree+0x88/0x270 fs/super.c:1531
 do_new_mount+0x289/0xad0 fs/namespace.c:3040
 do_mount fs/namespace.c:3383 [inline]
 __do_sys_mount fs/namespace.c:3591 [inline]
 __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3568
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f4862c8d60a
Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4863a6bf88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000240 RCX: 00007f4862c8d60a
RDX: 0000000020000240 RSI: 0000000020000280 RDI: 00007f4863a6bfe0
RBP: 00007f4863a6c020 R08: 00007f4863a6c020 R09: 0000000000004000
R10: 0000000000004000 R11: 0000000000000202 R12: 0000000020000240
R13: 0000000020000280 R14: 00007f4863a6bfe0 R15: 0000000020000400
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:hfs_btree_open+0xf04/0xf20 fs/hfs/btree.c:41
Code: 7e ff e9 77 fa ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 93 fa ff ff 4c 89 f7 e8 d6 29 7e ff e9 86 fa ff ff e8 cc 2f 29 ff <0f> 0b e8 c5 2f 29 ff 0f 0b e8 be 2f 29 ff 0f 0b 66 2e 0f 1f 84 00
RSP: 0018:ffffc9000b0d77b8 EFLAGS: 00010293
RAX: ffffffff826363a4 RBX: ffff8880904aa380 RCX: ffff88807d51ba80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff82635603 R09: ffffed101209548c
R10: ffffed101209548c R11: 1ffff1101209548b R12: ffff888073fde000
R13: ffff888095a5e008 R14: ffff888095a5e000 R15: dffffc0000000000
FS:  00007f4863a6c700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7e3e9a8000 CR3: 0000000079964000 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 syzkaller@xxxxxxxxxxxxxxxx.

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



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux