Extracting prog: 2m7.729285488s Minimizing prog: 45.13µs Simplifying prog options: 0s Extracting C: 29.072447271s Simplifying C: 8m31.671639303s extracting reproducer from 1 programs testing a last program of every proc single: executing 1 programs separately with timeout 30s testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$hfs detailed listing: executing program 0: syz_mount_image$hfs(&(0x7f0000000280), &(0x7f0000000100)='./file0\x00', 0x1210080, &(0x7f0000000400)={[{@uid}, {@creator={'creator', 0x3d, "888aaae6"}}, {@umask={'umask', 0x3d, 0x4}}, {@dir_umask={'dir_umask', 0x3d, 0x3edbe866}}, {@iocharset={'iocharset', 0x3d, 'iso8859-2'}}, {}, {@gid={'gid', 0x3d, 0xee01}}]}, 0x4, 0x33c, &(0x7f0000000680)="$eJzs3b1PFE0cB/Dv7L0/EJ59gCckliiJFQEsJDYSQyz0H7AwRIQjIayYCEYhMZzWxtiZmFjaWRv9F7Qx/ANaURgrbYiFa2ZmZ1+OmWPveFkI30/CcXs7L7/Z2bmdgdwtiOjMujb79e2lHfkjKgBKAK4AHoA6UAbwP0bqD1fXl9eD5mIq33StraCSyiF/BHROsaeyhdWmLYb6oyhHxJdbZfSnX6OjEYZh+G3fVD+PJRYqjtBjfw8PqEWjU+2vH3tkR6Ol23W2pHpY7GIXjzFQZDhERFS86PrvRVeJ/mj+7nnAWDQPP+3X/8z8Zre4OE6E+Prv6e1QyOPzr9qVrPfUEk72vmdWibayrOdEmBzuKvSZlekAYVtVpqlYvMbSctAcb6kCnuFqJJVsWD0uwjREcUVb1b9GLWvTDjq1vbM+1YaKbMOUI/6hrmv8+B2v7NXNfc4Rk/gkvog54eM1FuP5XzkU8uCo4+O39ZSOf8Jdomqlr1NlWpms3/9TlZwzPfDhXdLKhuu41lGSsdjIUkT7/N03cb6sunNhENk/K+jWTbpbp3INWXNNxdu/rbmG23M1lipBc3zhfuA66Q+XdUUnXohbYhQ/8B6zqfm/J1OPwT0yM6NcqJTRmdGxPWWV0tGPGWoA3+tqZJJy3drRnT3HXUxjYG1j+8Z8EDQfrG1srhT7xAyVgsMwT/SJGJ2O8hX5O5UGdfmkAuDQKv0ThqF1Vxm5yjHh9hhGRWW+/CZp8ubKvGjpzYM1EK24QLNrxp0YwAyA6BXzjtBL7VtxrlpSYK7sv2Rv66NqTWOiOoYT0lSV2VVCLddIafRQ6c0nK/NBD+9DdOoknY6R20UHQ0WQ8y6h13+p9cqEeteRD36H1Ui4X+GpEicdK6BB9fhPvhVcXKxznthnnjjXXJ5ac52/CFxoq9GDqfFpe7F+FCdO4n8lu/9XhpjFNu7w7/9ERERERERERERERERERERERERERKdNt59G6OXjBNkad87gF28QERERERERERERERERERERERERERERER1M6v6/QEndMaaa5/6/ezju/5v+Tm/n/X8Rf6t2uAXAL+W4/6+5LwUR9exvAAAA//9ss1+p") program crashed: general protection fault in hfs_find_init single: successfully extracted reproducer found reproducer with 1 syscalls minimizing guilty program extracting C reproducer testing compiled C program (duration=50.609340058s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$hfs program crashed: general protection fault in hfs_find_init simplifying C reproducer testing compiled C program (duration=50.609340058s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$hfs program crashed: general protection fault in hfs_find_init testing compiled C program (duration=50.609340058s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$hfs program crashed: general protection fault in hfs_find_init testing compiled C program (duration=50.609340058s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:true Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$hfs program crashed: general protection fault in hfs_find_init testing compiled C program (duration=50.609340058s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$hfs program crashed: general protection fault in hfs_find_init testing compiled C program (duration=50.609340058s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:false HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$hfs program crashed: general protection fault in hfs_find_init testing compiled C program (duration=50.609340058s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:false HandleSegv:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$hfs program crashed: general protection fault in hfs_find_init testing compiled C program (duration=50.609340058s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_mount_image$hfs program crashed: general protection fault in hfs_find_init reproducing took 11m8.473428732s repro crashed as (corrupted=false): loop0: detected capacity change from 0 to 64 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] CPU: 0 UID: 0 PID: 5823 Comm: syz-executor498 Not tainted 6.12.0-rc7-syzkaller-00192-gb5a24181e461 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:hfs_find_init+0x72/0x1f0 fs/hfs/bfind.c:21 Code: d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 04 78 76 ff 48 c7 03 00 00 00 00 48 89 2c 24 4c 8d 75 40 4d 89 f7 49 c1 ef 03 <43> 0f b6 04 2f 84 c0 0f 85 10 01 00 00 41 8b 06 8d 7c 00 04 be c0 RSP: 0018:ffffc90003bf72c0 EFLAGS: 00010202 RAX: 1ffff9200077ee77 RBX: ffffc90003bf73b8 RCX: ffff88802ddeda00 RDX: 0000000000000000 RSI: ffffc90003bf73a0 RDI: ffffc90003bf73b0 RBP: 0000000000000000 R08: ffffffff8286673f R09: 0000000000000000 R10: ffffc90003bf73a0 R11: fffff5200077ee7b R12: ffffc90003bf73a0 R13: dffffc0000000000 R14: 0000000000000040 R15: 0000000000000008 FS: 0000555565feb380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd665efeb8 CR3: 0000000075d5e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_ext_read_extent fs/hfs/extent.c:200 [inline] hfs_get_block+0x4f4/0xb60 fs/hfs/extent.c:366 block_read_full_folio+0x418/0xcd0 fs/buffer.c:2401 filemap_read_folio+0x14b/0x630 mm/filemap.c:2367 do_read_cache_folio+0x3f5/0x850 mm/filemap.c:3825 do_read_cache_page+0x30/0x200 mm/filemap.c:3891 read_mapping_page include/linux/pagemap.h:1005 [inline] hfs_btree_open+0x506/0xf40 fs/hfs/btree.c:78 hfs_mdb_get+0x1443/0x21b0 fs/hfs/mdb.c:199 hfs_fill_super+0x107e/0x1790 fs/hfs/super.c:407 mount_bdev+0x20a/0x2d0 fs/super.c:1693 legacy_get_tree+0xee/0x190 fs/fs_context.c:662 vfs_get_tree+0x90/0x2b0 fs/super.c:1814 do_new_mount+0x2be/0xb40 fs/namespace.c:3507 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4034 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f906cfadcba Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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:00007ffe96ed0228 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffe96ed0240 RCX: 00007f906cfadcba RDX: 0000000020000280 RSI: 0000000020000100 RDI: 00007ffe96ed0240 RBP: 0000000000000004 R08: 00007ffe96ed0280 R09: 0000000000000336 R10: 0000000001210080 R11: 0000000000000286 R12: 0000000001210080 R13: 00007ffe96ed0280 R14: 0000000000000003 R15: 0000000000008000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfs_find_init+0x72/0x1f0 fs/hfs/bfind.c:21 Code: d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 04 78 76 ff 48 c7 03 00 00 00 00 48 89 2c 24 4c 8d 75 40 4d 89 f7 49 c1 ef 03 <43> 0f b6 04 2f 84 c0 0f 85 10 01 00 00 41 8b 06 8d 7c 00 04 be c0 RSP: 0018:ffffc90003bf72c0 EFLAGS: 00010202 RAX: 1ffff9200077ee77 RBX: ffffc90003bf73b8 RCX: ffff88802ddeda00 RDX: 0000000000000000 RSI: ffffc90003bf73a0 RDI: ffffc90003bf73b0 RBP: 0000000000000000 R08: ffffffff8286673f R09: 0000000000000000 R10: ffffc90003bf73a0 R11: fffff5200077ee7b R12: ffffc90003bf73a0 R13: dffffc0000000000 R14: 0000000000000040 R15: 0000000000000008 FS: 0000555565feb380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005640a0aa3c70 CR3: 0000000075d5e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: d8 48 c1 fmuls -0x3f(%rax) 3: e8 03 42 80 3c call 0x3c80420b 8: 28 00 sub %al,(%rax) a: 74 08 je 0x14 c: 48 89 df mov %rbx,%rdi f: e8 04 78 76 ff call 0xff767818 14: 48 c7 03 00 00 00 00 movq $0x0,(%rbx) 1b: 48 89 2c 24 mov %rbp,(%rsp) 1f: 4c 8d 75 40 lea 0x40(%rbp),%r14 23: 4d 89 f7 mov %r14,%r15 26: 49 c1 ef 03 shr $0x3,%r15 * 2a: 43 0f b6 04 2f movzbl (%r15,%r13,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 10 01 00 00 jne 0x147 37: 41 8b 06 mov (%r14),%eax 3a: 8d 7c 00 04 lea 0x4(%rax,%rax,1),%edi 3e: be .byte 0xbe 3f: c0 .byte 0xc0 final repro crashed as (corrupted=false): loop0: detected capacity change from 0 to 64 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] CPU: 0 UID: 0 PID: 5823 Comm: syz-executor498 Not tainted 6.12.0-rc7-syzkaller-00192-gb5a24181e461 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:hfs_find_init+0x72/0x1f0 fs/hfs/bfind.c:21 Code: d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 04 78 76 ff 48 c7 03 00 00 00 00 48 89 2c 24 4c 8d 75 40 4d 89 f7 49 c1 ef 03 <43> 0f b6 04 2f 84 c0 0f 85 10 01 00 00 41 8b 06 8d 7c 00 04 be c0 RSP: 0018:ffffc90003bf72c0 EFLAGS: 00010202 RAX: 1ffff9200077ee77 RBX: ffffc90003bf73b8 RCX: ffff88802ddeda00 RDX: 0000000000000000 RSI: ffffc90003bf73a0 RDI: ffffc90003bf73b0 RBP: 0000000000000000 R08: ffffffff8286673f R09: 0000000000000000 R10: ffffc90003bf73a0 R11: fffff5200077ee7b R12: ffffc90003bf73a0 R13: dffffc0000000000 R14: 0000000000000040 R15: 0000000000000008 FS: 0000555565feb380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd665efeb8 CR3: 0000000075d5e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_ext_read_extent fs/hfs/extent.c:200 [inline] hfs_get_block+0x4f4/0xb60 fs/hfs/extent.c:366 block_read_full_folio+0x418/0xcd0 fs/buffer.c:2401 filemap_read_folio+0x14b/0x630 mm/filemap.c:2367 do_read_cache_folio+0x3f5/0x850 mm/filemap.c:3825 do_read_cache_page+0x30/0x200 mm/filemap.c:3891 read_mapping_page include/linux/pagemap.h:1005 [inline] hfs_btree_open+0x506/0xf40 fs/hfs/btree.c:78 hfs_mdb_get+0x1443/0x21b0 fs/hfs/mdb.c:199 hfs_fill_super+0x107e/0x1790 fs/hfs/super.c:407 mount_bdev+0x20a/0x2d0 fs/super.c:1693 legacy_get_tree+0xee/0x190 fs/fs_context.c:662 vfs_get_tree+0x90/0x2b0 fs/super.c:1814 do_new_mount+0x2be/0xb40 fs/namespace.c:3507 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4034 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f906cfadcba Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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:00007ffe96ed0228 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffe96ed0240 RCX: 00007f906cfadcba RDX: 0000000020000280 RSI: 0000000020000100 RDI: 00007ffe96ed0240 RBP: 0000000000000004 R08: 00007ffe96ed0280 R09: 0000000000000336 R10: 0000000001210080 R11: 0000000000000286 R12: 0000000001210080 R13: 00007ffe96ed0280 R14: 0000000000000003 R15: 0000000000008000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfs_find_init+0x72/0x1f0 fs/hfs/bfind.c:21 Code: d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 04 78 76 ff 48 c7 03 00 00 00 00 48 89 2c 24 4c 8d 75 40 4d 89 f7 49 c1 ef 03 <43> 0f b6 04 2f 84 c0 0f 85 10 01 00 00 41 8b 06 8d 7c 00 04 be c0 RSP: 0018:ffffc90003bf72c0 EFLAGS: 00010202 RAX: 1ffff9200077ee77 RBX: ffffc90003bf73b8 RCX: ffff88802ddeda00 RDX: 0000000000000000 RSI: ffffc90003bf73a0 RDI: ffffc90003bf73b0 RBP: 0000000000000000 R08: ffffffff8286673f R09: 0000000000000000 R10: ffffc90003bf73a0 R11: fffff5200077ee7b R12: ffffc90003bf73a0 R13: dffffc0000000000 R14: 0000000000000040 R15: 0000000000000008 FS: 0000555565feb380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005640a0aa3c70 CR3: 0000000075d5e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: d8 48 c1 fmuls -0x3f(%rax) 3: e8 03 42 80 3c call 0x3c80420b 8: 28 00 sub %al,(%rax) a: 74 08 je 0x14 c: 48 89 df mov %rbx,%rdi f: e8 04 78 76 ff call 0xff767818 14: 48 c7 03 00 00 00 00 movq $0x0,(%rbx) 1b: 48 89 2c 24 mov %rbp,(%rsp) 1f: 4c 8d 75 40 lea 0x40(%rbp),%r14 23: 4d 89 f7 mov %r14,%r15 26: 49 c1 ef 03 shr $0x3,%r15 * 2a: 43 0f b6 04 2f movzbl (%r15,%r13,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 10 01 00 00 jne 0x147 37: 41 8b 06 mov (%r14),%eax 3a: 8d 7c 00 04 lea 0x4(%rax,%rax,1),%edi 3e: be .byte 0xbe 3f: c0 .byte 0xc0