./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor396301849 <...> Warning: Permanently added '10.128.1.76' (ED25519) to the list of known hosts. execve("./syz-executor396301849", ["./syz-executor396301849"], 0x7ffd6ddce850 /* 10 vars */) = 0 brk(NULL) = 0x5555598cf000 brk(0x5555598cfd00) = 0x5555598cfd00 arch_prctl(ARCH_SET_FS, 0x5555598cf380) = 0 set_tid_address(0x5555598cf650) = 5095 set_robust_list(0x5555598cf660, 24) = 0 rseq(0x5555598cfca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor396301849", 4096) = 27 getrandom("\x71\x7d\x77\x30\x6b\xc9\xc6\xe9", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555598cfd00 brk(0x5555598f0d00) = 0x5555598f0d00 brk(0x5555598f1000) = 0x5555598f1000 mprotect(0x7fcbccff0000, 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 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5097 attached , child_tidptr=0x5555598cf650) = 5097 [pid 5097] set_robust_list(0x5555598cf660, 24) = 0 [pid 5097] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5097] setpgid(0, 0) = 0 [pid 5097] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5097] write(3, "1000", 4) = 4 [pid 5097] close(3) = 0 executing program [pid 5097] write(1, "executing program\n", 18) = 18 [pid 5097] memfd_create("syzkaller", 0) = 3 [pid 5097] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcbc4a00000 [pid 5097] 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"..., 524288) = 524288 [pid 5097] munmap(0x7fcbc4a00000, 138412032) = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5097] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5097] close(3) = 0 [pid 5097] close(4) = 0 [ 65.377642][ T5097] loop0: detected capacity change from 0 to 1024 [ 65.411508][ T5097] ======================================================= [ 65.411508][ T5097] WARNING: The mand mount option has been deprecated and [pid 5097] mkdir("./bus", 0777) = 0 [pid 5097] mount("/dev/loop0", "./bus", "hfsplus", MS_SYNCHRONOUS|MS_MANDLOCK, "") = 0 [pid 5097] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5097] chdir("./bus") = 0 [pid 5097] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5097] creat("./bus", 000) = 4 [ 65.411508][ T5097] and is ignored by this kernel. Remove the mand [ 65.411508][ T5097] option from the mount to silence this warning. [ 65.411508][ T5097] ======================================================= [ 65.476489][ T5097] hfsplus: new node 0 already hashed? [ 65.482350][ T5097] ------------[ cut here ]------------ [ 65.487809][ T5097] WARNING: CPU: 0 PID: 5097 at fs/hfsplus/bnode.c:573 hfsplus_bnode_create+0x3b6/0x440 [ 65.497601][ T5097] Modules linked in: [ 65.501520][ T5097] CPU: 0 PID: 5097 Comm: syz-executor396 Not tainted 6.9.0-next-20240521-syzkaller #0 [ 65.511193][ T5097] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 65.521345][ T5097] RIP: 0010:hfsplus_bnode_create+0x3b6/0x440 [ 65.527444][ T5097] Code: 44 89 e6 e8 0c 61 06 09 e9 78 fd ff ff e8 12 7d 14 ff 4c 89 ff e8 5a 3b 14 09 48 c7 c7 c0 8b e1 8b 44 89 e6 e8 eb 60 06 09 90 <0f> 0b 90 eb af 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 83 fc ff ff 48 [ 65.547336][ T5097] RSP: 0018:ffffc900020befb8 EFLAGS: 00010246 [ 65.553524][ T5097] RAX: 0000000000000023 RBX: ffff88801ca9c200 RCX: 81f697c549b02e00 [ 65.561629][ T5097] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 65.569762][ T5097] RBP: 0000000000000000 R08: ffffffff8176c8dc R09: 1ffff92000417d98 [ 65.577884][ T5097] R10: dffffc0000000000 R11: fffff52000417d99 R12: 0000000000000000 [ 65.586113][ T5097] R13: dffffc0000000000 R14: ffff888011be4000 R15: ffff888011be40e0 [ 65.594147][ T5097] FS: 00005555598cf380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 [ 65.603231][ T5097] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 65.609868][ T5097] CR2: 0000000020018000 CR3: 000000007889c000 CR4: 00000000003506f0 [ 65.617970][ T5097] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 65.626024][ T5097] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 65.634163][ T5097] Call Trace: [ 65.637438][ T5097] [ 65.640430][ T5097] ? __warn+0x163/0x4e0 [ 65.644611][ T5097] ? hfsplus_bnode_create+0x3b6/0x440 [ 65.650042][ T5097] ? report_bug+0x2b3/0x500 [ 65.654654][ T5097] ? hfsplus_bnode_create+0x3b6/0x440 [ 65.660089][ T5097] ? handle_bug+0x3e/0x70 [ 65.664443][ T5097] ? exc_invalid_op+0x1a/0x50 [ 65.669204][ T5097] ? asm_exc_invalid_op+0x1a/0x20 [ 65.674278][ T5097] ? __wake_up_klogd+0xcc/0x110 [ 65.679222][ T5097] ? hfsplus_bnode_create+0x3b6/0x440 [ 65.684659][ T5097] ? hfsplus_bnode_create+0x3b5/0x440 [ 65.690195][ T5097] hfsplus_bmap_alloc+0x59a/0x640 [ 65.695247][ T5097] ? __pfx_hfsplus_bmap_alloc+0x10/0x10 [ 65.700874][ T5097] ? __lock_acquire+0x1346/0x1fd0 [ 65.705988][ T5097] hfs_btree_inc_height+0x11e/0xdc0 [ 65.711250][ T5097] ? __pfx_hfs_btree_inc_height+0x10/0x10 [ 65.717013][ T5097] ? __mutex_trylock_common+0x183/0x2e0 [ 65.722614][ T5097] hfsplus_brec_insert+0x166/0xde0 [ 65.727787][ T5097] ? rcu_is_watching+0x15/0xb0 [ 65.732618][ T5097] ? hfsplus_brec_find+0x19d/0x570 [ 65.737771][ T5097] ? __mutex_lock+0x2ef/0xd70 [ 65.742713][ T5097] ? __pfx_hfs_find_rec_by_key+0x10/0x10 [ 65.748522][ T5097] ? __pfx_hfsplus_brec_insert+0x10/0x10 [ 65.754300][ T5097] ? __pfx___mutex_lock+0x10/0x10 [ 65.759515][ T5097] __hfsplus_ext_write_extent+0x36b/0x5c0 [ 65.765354][ T5097] __hfsplus_ext_cache_extent+0x84/0xe10 [ 65.771566][ T5097] hfsplus_file_extend+0x48c/0x1b70 [ 65.777162][ T5097] ? __pfx_hfsplus_file_extend+0x10/0x10 [ 65.782884][ T5097] ? clean_bdev_aliases+0x654/0x7e0 [ 65.789134][ T5097] ? __pfx_clean_bdev_aliases+0x10/0x10 [ 65.794701][ T5097] hfsplus_get_block+0x406/0x14f0 [ 65.799820][ T5097] ? __pfx_hfsplus_get_block+0x10/0x10 [ 65.805331][ T5097] ? create_empty_buffers+0x53e/0x740 [ 65.810760][ T5097] ? folio_batch_add_and_move+0x165/0x2b0 [ 65.816518][ T5097] __block_write_begin_int+0x50c/0x1a70 [ 65.822355][ T5097] ? __pfx_hfsplus_get_block+0x10/0x10 [ 65.827862][ T5097] ? __pfx___block_write_begin_int+0x10/0x10 [ 65.833986][ T5097] ? __pfx_hfsplus_get_block+0x10/0x10 [ 65.839618][ T5097] block_write_begin+0x9b/0x1e0 [ 65.844480][ T5097] cont_write_begin+0x645/0x890 [ 65.849446][ T5097] ? fault_in_readable+0x165/0x2b0 [ 65.854605][ T5097] ? __pfx_cont_write_begin+0x10/0x10 [ 65.860062][ T5097] ? fault_in_readable+0x1a6/0x2b0 [ 65.865193][ T5097] ? __pfx_fault_in_readable+0x10/0x10 [ 65.870841][ T5097] hfsplus_write_begin+0x8a/0xd0 [ 65.875807][ T5097] ? __pfx_hfsplus_get_block+0x10/0x10 [ 65.881332][ T5097] generic_perform_write+0x322/0x640 [ 65.886652][ T5097] ? __pfx_generic_perform_write+0x10/0x10 [ 65.892562][ T5097] ? __generic_file_write_iter+0x105/0x230 [ 65.898395][ T5097] generic_file_write_iter+0xaf/0x310 [ 65.903937][ T5097] vfs_write+0xa72/0xc90 [ 65.908238][ T5097] ? __pfx_generic_file_write_iter+0x10/0x10 [ 65.914400][ T5097] ? __pfx_vfs_write+0x10/0x10 [ 65.919409][ T5097] ? lockdep_hardirqs_on+0x99/0x150 [ 65.924723][ T5097] ? __fdget_pos+0x272/0x320 [ 65.929408][ T5097] ksys_write+0x1a0/0x2c0 [ 65.933879][ T5097] ? __pfx_ksys_write+0x10/0x10 [ 65.938885][ T5097] ? exc_page_fault+0x590/0x8c0 [ 65.943867][ T5097] do_syscall_64+0xf5/0x240 [ 65.948431][ T5097] ? clear_bhb_loop+0x35/0x90 [ 65.953196][ T5097] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 65.959237][ T5097] RIP: 0033:0x7fcbccf7cad9 [ 65.963737][ T5097] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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 b8 ff ff ff f7 d8 64 89 01 48 [ 65.983485][ T5097] RSP: 002b:00007fff20307888 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 65.992047][ T5097] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fcbccf7cad9 [ 66.000096][ T5097] RDX: 00000000175d9003 RSI: 0000000020000200 RDI: 0000000000000004 [ 66.008349][ T5097] RBP: 00007fcbccff05f0 R08: 00005555598d04c0 R09: 00005555598d04c0 [ 66.016491][ T5097] R10: 000000000000062f R11: 0000000000000246 R12: 00007fff203078b0 [ 66.024525][ T5097] R13: 00007fff20307ad8 R14: 431bde82d7b634db R15: 00007fcbccfc503b [ 66.032754][ T5097] [ 66.035803][ T5097] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 66.043442][ T5097] CPU: 0 PID: 5097 Comm: syz-executor396 Not tainted 6.9.0-next-20240521-syzkaller #0 [ 66.053007][ T5097] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 66.063073][ T5097] Call Trace: [ 66.066611][ T5097] [ 66.069548][ T5097] dump_stack_lvl+0x241/0x360 [ 66.074314][ T5097] ? __pfx_dump_stack_lvl+0x10/0x10 [ 66.079599][ T5097] ? __pfx__printk+0x10/0x10 [ 66.084185][ T5097] ? _printk+0xd5/0x120 [ 66.088430][ T5097] ? vscnprintf+0x5d/0x90 [ 66.092849][ T5097] panic+0x349/0x860 [ 66.096916][ T5097] ? __warn+0x172/0x4e0 [ 66.101069][ T5097] ? __pfx_panic+0x10/0x10 [ 66.105477][ T5097] ? show_trace_log_lvl+0x4e6/0x520 [ 66.110718][ T5097] __warn+0x346/0x4e0 [ 66.114704][ T5097] ? hfsplus_bnode_create+0x3b6/0x440 [ 66.120100][ T5097] report_bug+0x2b3/0x500 [ 66.124470][ T5097] ? hfsplus_bnode_create+0x3b6/0x440 [ 66.129878][ T5097] handle_bug+0x3e/0x70 [ 66.134044][ T5097] exc_invalid_op+0x1a/0x50 [ 66.138580][ T5097] asm_exc_invalid_op+0x1a/0x20 [ 66.143456][ T5097] RIP: 0010:hfsplus_bnode_create+0x3b6/0x440 [ 66.149446][ T5097] Code: 44 89 e6 e8 0c 61 06 09 e9 78 fd ff ff e8 12 7d 14 ff 4c 89 ff e8 5a 3b 14 09 48 c7 c7 c0 8b e1 8b 44 89 e6 e8 eb 60 06 09 90 <0f> 0b 90 eb af 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 83 fc ff ff 48 [ 66.169442][ T5097] RSP: 0018:ffffc900020befb8 EFLAGS: 00010246 [ 66.175526][ T5097] RAX: 0000000000000023 RBX: ffff88801ca9c200 RCX: 81f697c549b02e00 [ 66.183498][ T5097] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 66.191464][ T5097] RBP: 0000000000000000 R08: ffffffff8176c8dc R09: 1ffff92000417d98 [ 66.199434][ T5097] R10: dffffc0000000000 R11: fffff52000417d99 R12: 0000000000000000 [ 66.207397][ T5097] R13: dffffc0000000000 R14: ffff888011be4000 R15: ffff888011be40e0 [ 66.215370][ T5097] ? __wake_up_klogd+0xcc/0x110 [ 66.220230][ T5097] ? hfsplus_bnode_create+0x3b5/0x440 [ 66.225706][ T5097] hfsplus_bmap_alloc+0x59a/0x640 [ 66.230739][ T5097] ? __pfx_hfsplus_bmap_alloc+0x10/0x10 [ 66.236282][ T5097] ? __lock_acquire+0x1346/0x1fd0 [ 66.241312][ T5097] hfs_btree_inc_height+0x11e/0xdc0 [ 66.246786][ T5097] ? __pfx_hfs_btree_inc_height+0x10/0x10 [ 66.253402][ T5097] ? __mutex_trylock_common+0x183/0x2e0 [ 66.258976][ T5097] hfsplus_brec_insert+0x166/0xde0 [ 66.264395][ T5097] ? rcu_is_watching+0x15/0xb0 [ 66.269172][ T5097] ? hfsplus_brec_find+0x19d/0x570 [ 66.274293][ T5097] ? __mutex_lock+0x2ef/0xd70 [ 66.279692][ T5097] ? __pfx_hfs_find_rec_by_key+0x10/0x10 [ 66.285423][ T5097] ? __pfx_hfsplus_brec_insert+0x10/0x10 [ 66.291066][ T5097] ? __pfx___mutex_lock+0x10/0x10 [ 66.296186][ T5097] __hfsplus_ext_write_extent+0x36b/0x5c0 [ 66.302002][ T5097] __hfsplus_ext_cache_extent+0x84/0xe10 [ 66.307647][ T5097] hfsplus_file_extend+0x48c/0x1b70 [ 66.312863][ T5097] ? __pfx_hfsplus_file_extend+0x10/0x10 [ 66.318677][ T5097] ? clean_bdev_aliases+0x654/0x7e0 [ 66.323878][ T5097] ? __pfx_clean_bdev_aliases+0x10/0x10 [ 66.329521][ T5097] hfsplus_get_block+0x406/0x14f0 [ 66.334641][ T5097] ? __pfx_hfsplus_get_block+0x10/0x10 [ 66.340167][ T5097] ? create_empty_buffers+0x53e/0x740 [ 66.345625][ T5097] ? folio_batch_add_and_move+0x165/0x2b0 [ 66.351346][ T5097] __block_write_begin_int+0x50c/0x1a70 [ 66.356907][ T5097] ? __pfx_hfsplus_get_block+0x10/0x10 [ 66.362362][ T5097] ? __pfx___block_write_begin_int+0x10/0x10 [ 66.368605][ T5097] ? __pfx_hfsplus_get_block+0x10/0x10 [ 66.374841][ T5097] block_write_begin+0x9b/0x1e0 [ 66.379779][ T5097] cont_write_begin+0x645/0x890 [ 66.384812][ T5097] ? fault_in_readable+0x165/0x2b0 [ 66.389921][ T5097] ? __pfx_cont_write_begin+0x10/0x10 [ 66.395311][ T5097] ? fault_in_readable+0x1a6/0x2b0 [ 66.400507][ T5097] ? __pfx_fault_in_readable+0x10/0x10 [ 66.405963][ T5097] hfsplus_write_begin+0x8a/0xd0 [ 66.410922][ T5097] ? __pfx_hfsplus_get_block+0x10/0x10 [ 66.416465][ T5097] generic_perform_write+0x322/0x640 [ 66.421756][ T5097] ? __pfx_generic_perform_write+0x10/0x10 [ 66.427564][ T5097] ? __generic_file_write_iter+0x105/0x230 [ 66.433377][ T5097] generic_file_write_iter+0xaf/0x310 [ 66.438749][ T5097] vfs_write+0xa72/0xc90 [ 66.442992][ T5097] ? __pfx_generic_file_write_iter+0x10/0x10 [ 66.449666][ T5097] ? __pfx_vfs_write+0x10/0x10 [ 66.454444][ T5097] ? lockdep_hardirqs_on+0x99/0x150 [ 66.459728][ T5097] ? __fdget_pos+0x272/0x320 [ 66.464406][ T5097] ksys_write+0x1a0/0x2c0 [ 66.469180][ T5097] ? __pfx_ksys_write+0x10/0x10 [ 66.474374][ T5097] ? exc_page_fault+0x590/0x8c0 [ 66.479224][ T5097] do_syscall_64+0xf5/0x240 [ 66.483721][ T5097] ? clear_bhb_loop+0x35/0x90 [ 66.488401][ T5097] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 66.494287][ T5097] RIP: 0033:0x7fcbccf7cad9 [ 66.498715][ T5097] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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 b8 ff ff ff f7 d8 64 89 01 48 [ 66.518511][ T5097] RSP: 002b:00007fff20307888 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 66.527007][ T5097] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fcbccf7cad9 [ 66.535085][ T5097] RDX: 00000000175d9003 RSI: 0000000020000200 RDI: 0000000000000004 [ 66.543234][ T5097] RBP: 00007fcbccff05f0 R08: 00005555598d04c0 R09: 00005555598d04c0 [ 66.551304][ T5097] R10: 000000000000062f R11: 0000000000000246 R12: 00007fff203078b0 [ 66.559614][ T5097] R13: 00007fff20307ad8 R14: 431bde82d7b634db R15: 00007fcbccfc503b [ 66.567589][ T5097] [ 66.570774][ T5097] Kernel Offset: disabled [ 66.575128][ T5097] Rebooting in 86400 seconds..