Extracting prog: 1m15.694462568s Minimizing prog: 25.06µs Simplifying prog options: 0s Extracting C: 1m2.159642412s Simplifying C: 9m11.590117757s 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(&(0x7f00000000c0), &(0x7f0000000200)='./bus\x00', 0x0, &(0x7f0000002700)=ANY=[], 0x1, 0x2a4, &(0x7f0000001140)="$eJzs3U1rE0Ecx/HfbLY22lK3DyKIp2rBk7T1Il4E6Tvw4knUJkIxVNAK6qn1LL4A7+I78EV4Em+C4EHw5MlTbpGZnU02D5uNYZNt4vcDrZvszOx/srOZ+UfSFYD/1p29Hx9u/LI/RqqoIumWFEiqSqGkC7pYfXF4dHDUqNeGNVRxNeyPUVzT9JXZP6z3VzwT/xN2nonso1DL6ecwGdXv41UrPBCUyl39AxxLi/7qdPvn5cQflx3AhPW/+fbsb6qpl1qZUjgAgFPKz/+Bn+eX/RQSBNKWn/a75/8Zn0CbZQdQstT877KslrHn97zb1cn37BD4ZvcHSZY4zrFchhe4AfRzux1AXlbpYgnOPj5o1K/vP23UAr3RbS9VbMP9rsVDN5GO9qS/6c3c5VGX8fu+5PqwYPuwmxH/erLxsZAj5jOfzRdz30R6r1p7/Re2jD1N7kxFPalAHP92douul1FcKqOXq+4gl9rZvjO0lxVlZCRKRtSquj8gsBEsDIvT1VrrqRX3bien1vrAWrs5tTZ6a3VGc3bNCXKj3rwz98ymfuuT9lLr/8C+2lsa5cq0ZVxJPzKG9id0JSN3dH/VHV8eWDIYs1doW1gcuehbPdJNrTx/9frJw0aj/oyN2dgIi2gnGQTld2e0DRvrdA96Ukw7NvBSXrFk3skp3PIG7Cr+3QmnT+ek/2NF/m9mXth1l4nzv1S+sh0vFu3arbNO71uQt/IaT7W4k5EbrLnf59ILQJOdGxj30cNSdgY3as515Zp0NfVkTs4V+TjnhNnTVz3g838AAAAAAAAAAAAAAAAAAIBZU9xXDqrK2uUPlfltPgAAAAAAAAAAAAAAAAAAAAAAMNw07v/b+uM3Bt7/199TLPl78ncVP+L+v8DE/Q0AAP//vaV+Iw==") 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=59.735045044s, {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=59.735045044s, {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=59.735045044s, {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=59.735045044s, {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=59.735045044s, {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=59.735045044s, {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=59.735045044s, {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=59.735045044s, {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 11m29.444274947s 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-executor205 Not tainted 6.12.0-syzkaller-00171-g23acd177540d #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 24 c5 75 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:ffffc90003c57420 EFLAGS: 00010202 RAX: 1ffff9200078aea3 RBX: ffffc90003c57518 RCX: ffff8880304d1e00 RDX: 0000000000000000 RSI: ffffc90003c57500 RDI: ffffc90003c57510 RBP: 0000000000000000 R08: ffffffff82872bff R09: 0000000000000000 R10: ffffc90003c57500 R11: fffff5200078aea7 R12: ffffc90003c57500 R13: dffffc0000000000 R14: 0000000000000040 R15: 0000000000000008 FS: 000055557b2d9380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f24fad95ed8 CR3: 0000000035206000 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:2402 filemap_read_folio+0x14b/0x630 mm/filemap.c:2367 do_read_cache_folio+0x3f5/0x850 mm/filemap.c:3827 do_read_cache_page+0x30/0x200 mm/filemap.c:3893 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+0x38c/0x6b0 fs/hfs/super.c:337 get_tree_bdev_flags+0x48c/0x5c0 fs/super.c:1636 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:0x7f419b4ab8ba 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:00007ffd0cbcf228 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffd0cbcf240 RCX: 00007f419b4ab8ba RDX: 00000000200000c0 RSI: 0000000020000200 RDI: 00007ffd0cbcf240 RBP: 0000000000000004 R08: 00007ffd0cbcf280 R09: 000000000000029e R10: 0000000000000000 R11: 0000000000000286 R12: 0000000000000000 R13: 00007ffd0cbcf280 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 24 c5 75 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:ffffc90003c57420 EFLAGS: 00010202 RAX: 1ffff9200078aea3 RBX: ffffc90003c57518 RCX: ffff8880304d1e00 RDX: 0000000000000000 RSI: ffffc90003c57500 RDI: ffffc90003c57510 RBP: 0000000000000000 R08: ffffffff82872bff R09: 0000000000000000 R10: ffffc90003c57500 R11: fffff5200078aea7 R12: ffffc90003c57500 R13: dffffc0000000000 R14: 0000000000000040 R15: 0000000000000008 FS: 000055557b2d9380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f24fad95ed8 CR3: 0000000035206000 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 24 c5 75 ff call 0xff75c538 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-executor205 Not tainted 6.12.0-syzkaller-00171-g23acd177540d #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 24 c5 75 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:ffffc90003c57420 EFLAGS: 00010202 RAX: 1ffff9200078aea3 RBX: ffffc90003c57518 RCX: ffff8880304d1e00 RDX: 0000000000000000 RSI: ffffc90003c57500 RDI: ffffc90003c57510 RBP: 0000000000000000 R08: ffffffff82872bff R09: 0000000000000000 R10: ffffc90003c57500 R11: fffff5200078aea7 R12: ffffc90003c57500 R13: dffffc0000000000 R14: 0000000000000040 R15: 0000000000000008 FS: 000055557b2d9380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f24fad95ed8 CR3: 0000000035206000 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:2402 filemap_read_folio+0x14b/0x630 mm/filemap.c:2367 do_read_cache_folio+0x3f5/0x850 mm/filemap.c:3827 do_read_cache_page+0x30/0x200 mm/filemap.c:3893 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+0x38c/0x6b0 fs/hfs/super.c:337 get_tree_bdev_flags+0x48c/0x5c0 fs/super.c:1636 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:0x7f419b4ab8ba 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:00007ffd0cbcf228 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffd0cbcf240 RCX: 00007f419b4ab8ba RDX: 00000000200000c0 RSI: 0000000020000200 RDI: 00007ffd0cbcf240 RBP: 0000000000000004 R08: 00007ffd0cbcf280 R09: 000000000000029e R10: 0000000000000000 R11: 0000000000000286 R12: 0000000000000000 R13: 00007ffd0cbcf280 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 24 c5 75 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:ffffc90003c57420 EFLAGS: 00010202 RAX: 1ffff9200078aea3 RBX: ffffc90003c57518 RCX: ffff8880304d1e00 RDX: 0000000000000000 RSI: ffffc90003c57500 RDI: ffffc90003c57510 RBP: 0000000000000000 R08: ffffffff82872bff R09: 0000000000000000 R10: ffffc90003c57500 R11: fffff5200078aea7 R12: ffffc90003c57500 R13: dffffc0000000000 R14: 0000000000000040 R15: 0000000000000008 FS: 000055557b2d9380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f24fad95ed8 CR3: 0000000035206000 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 24 c5 75 ff call 0xff75c538 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