./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2655998770 <...> Warning: Permanently added '10.128.0.212' (ECDSA) to the list of known hosts. execve("./syz-executor2655998770", ["./syz-executor2655998770"], 0x7fff06026500 /* 10 vars */) = 0 brk(NULL) = 0x555557423000 brk(0x555557423c40) = 0x555557423c40 arch_prctl(ARCH_SET_FS, 0x555557423300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor2655998770", 4096) = 28 brk(0x555557444c40) = 0x555557444c40 brk(0x555557445000) = 0x555557445000 mprotect(0x7efef4fed000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7efeecb34000 write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 32768) = 32768 munmap(0x7efeecb34000, 32768) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./file0", 0777) = 0 syzkaller login: [ 50.136560][ T5067] loop0: detected capacity change from 0 to 64 [ 50.147733][ T5067] general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] PREEMPT SMP KASAN [ 50.159485][ T5067] KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] [ 50.167896][ T5067] CPU: 0 PID: 5067 Comm: syz-executor265 Not tainted 6.1.0-syzkaller-13031-g77856d911a8c #0 [ 50.177940][ T5067] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 50.187977][ T5067] RIP: 0010:hfs_find_init+0x6e/0x1e0 [ 50.193260][ T5067] Code: d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 f8 b6 7f ff 48 c7 03 00 00 00 00 48 89 2c 24 4c 8d 75 40 4d 89 f7 49 c1 ef 03 <43> 8a 04 2f 84 c0 0f 85 0a 01 00 00 41 8b 06 8d 7c 00 04 be c0 0c [ 50.212853][ T5067] RSP: 0018:ffffc90003caf2e0 EFLAGS: 00010202 [ 50.218902][ T5067] RAX: 1ffff92000795e7f RBX: ffffc90003caf3f8 RCX: ffff8880795d0000 [ 50.226856][ T5067] RDX: 0000000000000000 RSI: ffffc90003caf3e0 RDI: ffffc90003caf3f0 [ 50.234812][ T5067] RBP: 0000000000000000 R08: ffffffff8262ead7 R09: fffffbfff1d2c9e6 [ 50.242765][ T5067] R10: fffffbfff1d2c9e6 R11: 1ffffffff1d2c9e5 R12: ffffc90003caf3e0 [ 50.250717][ T5067] R13: dffffc0000000000 R14: 0000000000000040 R15: 0000000000000008 [ 50.258668][ T5067] FS: 0000555557423300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 [ 50.267594][ T5067] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 50.274170][ T5067] CR2: 00000000005fdeb8 CR3: 00000000721f3000 CR4: 00000000003506f0 [ 50.282130][ T5067] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 50.290083][ T5067] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 50.298055][ T5067] Call Trace: [ 50.301360][ T5067] [ 50.304299][ T5067] hfs_get_block+0x519/0xbb0 [ 50.308884][ T5067] ? hfs_free_extents+0x420/0x420 [ 50.313893][ T5067] ? do_raw_spin_unlock+0x134/0x8a0 [ 50.319086][ T5067] ? create_page_buffers+0x244/0x4b0 [ 50.324365][ T5067] block_read_full_folio+0x3b3/0xfa0 [ 50.329638][ T5067] ? hfs_free_extents+0x420/0x420 [ 50.334643][ T5067] ? block_is_partially_uptodate+0x620/0x620 [ 50.340605][ T5067] ? folio_add_lru+0x480/0x960 [ 50.345355][ T5067] filemap_read_folio+0x187/0x7d0 [ 50.350362][ T5067] ? folio_alloc+0x47/0x50 [ 50.354760][ T5067] ? hfs_writepage+0x30/0x30 [ 50.359335][ T5067] ? maybe_unlock_mmap_for_io+0x130/0x130 [ 50.365052][ T5067] ? hfs_btree_open+0x4d1/0xf20 [ 50.369886][ T5067] ? __lock_acquire+0x1f60/0x1f60 [ 50.374892][ T5067] do_read_cache_folio+0x2d3/0x790 [ 50.379987][ T5067] ? hfs_writepage+0x30/0x30 [ 50.384557][ T5067] read_cache_page+0x56/0x270 [ 50.389220][ T5067] hfs_btree_open+0x50c/0xf20 [ 50.393881][ T5067] ? hfs_mdb_get+0x1393/0x21a0 [ 50.398628][ T5067] hfs_mdb_get+0x1404/0x21a0 [ 50.403201][ T5067] ? hfs_xattr_set+0x5a0/0x5a0 [ 50.407945][ T5067] ? lockdep_softirqs_off+0x430/0x430 [ 50.413299][ T5067] ? __raw_spin_lock_init+0x41/0x100 [ 50.418569][ T5067] hfs_fill_super+0xfc7/0x1690 [ 50.423323][ T5067] ? hfs_mount+0x40/0x40 [ 50.427546][ T5067] ? ptr_to_hashval+0x70/0x70 [ 50.432218][ T5067] ? snprintf+0xc0/0x110 [ 50.436445][ T5067] ? vscnprintf+0x80/0x80 [ 50.440757][ T5067] ? set_blocksize+0x1ec/0x390 [ 50.445503][ T5067] ? sb_set_blocksize+0x95/0xf0 [ 50.450335][ T5067] mount_bdev+0x26c/0x3a0 [ 50.454650][ T5067] ? hfs_mount+0x40/0x40 [ 50.458874][ T5067] legacy_get_tree+0xea/0x180 [ 50.463532][ T5067] ? hfs_mark_mdb_dirty+0x1b0/0x1b0 [ 50.468709][ T5067] vfs_get_tree+0x88/0x270 [ 50.473106][ T5067] do_new_mount+0x289/0xad0 [ 50.477589][ T5067] ? do_move_mount_old+0x150/0x150 [ 50.482680][ T5067] ? user_path_at_empty+0x149/0x1a0 [ 50.487861][ T5067] __se_sys_mount+0x2d3/0x3c0 [ 50.492524][ T5067] ? __x64_sys_mount+0xc0/0xc0 [ 50.497266][ T5067] ? syscall_enter_from_user_mode+0x2e/0x1d0 [ 50.503231][ T5067] ? __x64_sys_mount+0x1c/0xc0 [ 50.507975][ T5067] do_syscall_64+0x3d/0xb0 [ 50.512374][ T5067] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 50.518248][ T5067] RIP: 0033:0x7efef4f81ada [ 50.522651][ T5067] Code: 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 50.542250][ T5067] RSP: 002b:00007ffee28090a8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 [ 50.550643][ T5067] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007efef4f81ada [ 50.558601][ T5067] RDX: 0000000020000240 RSI: 0000000020000000 RDI: 00007ffee28090c0 [ 50.566553][ T5067] RBP: 00007ffee28090c0 R08: 00007ffee2809100 R09: 0000000000000248 [ 50.574504][ T5067] R10: 0000000000000000 R11: 0000000000000286 R12: 0000000000000004 [ 50.582455][ T5067] R13: 00005555574232c0 R14: 0000000000000000 R15: 00007ffee2809100 [ 50.590413][ T5067] [ 50.593412][ T5067] Modules linked in: [ 50.599565][ T5067] ---[ end trace 0000000000000000 ]--- [ 50.605032][ T5067] RIP: 0010:hfs_find_init+0x6e/0x1e0 [ 50.610446][ T5067] Code: d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 f8 b6 7f ff 48 c7 03 00 00 00 00 48 89 2c 24 4c 8d 75 40 4d 89 f7 49 c1 ef 03 <43> 8a 04 2f 84 c0 0f 85 0a 01 00 00 41 8b 06 8d 7c 00 04 be c0 0c [ 50.630094][ T5067] RSP: 0018:ffffc90003caf2e0 EFLAGS: 00010202 [ 50.636162][ T5067] RAX: 1ffff92000795e7f RBX: ffffc90003caf3f8 RCX: ffff8880795d0000 [ 50.644151][ T5067] RDX: 0000000000000000 RSI: ffffc90003caf3e0 RDI: ffffc90003caf3f0 [ 50.652145][ T5067] RBP: 0000000000000000 R08: ffffffff8262ead7 R09: fffffbfff1d2c9e6 [ 50.660147][ T5067] R10: fffffbfff1d2c9e6 R11: 1ffffffff1d2c9e5 R12: ffffc90003caf3e0 [ 50.668125][ T5067] R13: dffffc0000000000 R14: 0000000000000040 R15: 0000000000000008 [ 50.676134][ T5067] FS: 0000555557423300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 [ 50.685076][ T5067] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 50.691695][ T5067] CR2: 00000000005fdeb8 CR3: 00000000721f3000 CR4: 00000000003506f0 [ 50.699856][ T5067] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 50.707824][ T5067] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 50.715941][ T5067] Kernel panic - not syncing: Fatal exception [ 50.722145][ T5067] Kernel Offset: disabled [ 50.726468][ T5067] Rebooting in 86400 seconds..