./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2496856253 <...> Warning: Permanently added '10.128.0.53' (ED25519) to the list of known hosts. execve("./syz-executor2496856253", ["./syz-executor2496856253"], 0x7ffd551e5910 /* 10 vars */) = 0 brk(NULL) = 0x555560b1c000 brk(0x555560b1cd00) = 0x555560b1cd00 arch_prctl(ARCH_SET_FS, 0x555560b1c380) = 0 set_tid_address(0x555560b1c650) = 5084 set_robust_list(0x555560b1c660, 24) = 0 rseq(0x555560b1cca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2496856253", 4096) = 28 getrandom("\xb0\x97\xe4\xa2\x7f\x0b\xa9\x60", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555560b1cd00 brk(0x555560b3dd00) = 0x555560b3dd00 brk(0x555560b3e000) = 0x555560b3e000 mprotect(0x7f0ce9efa000, 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) = 0x7f0ce1a00000 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 munmap(0x7f0ce1a00000, 138412032) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 close(4) = 0 mkdir("./file2", 0777) = 0 [ 78.830195][ T5084] loop0: detected capacity change from 0 to 1024 [ 78.863712][ T5084] ======================================================= [ 78.863712][ T5084] WARNING: The mand mount option has been deprecated and mount("/dev/loop0", "./file2", "hfsplus", MS_NODEV|MS_SYNCHRONOUS|MS_MANDLOCK|MS_DIRSYNC|MS_NODIRATIME|MS_POSIXACL|MS_STRICTATIME, "") = 0 openat(AT_FDCWD, "./file2", O_RDONLY|O_DIRECTORY) = 3 chdir("./file2") = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) mknod("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 000) = 0 [ 78.863712][ T5084] and is ignored by this kernel. Remove the mand [ 78.863712][ T5084] option from the mount to silence this warning. [ 78.863712][ T5084] ======================================================= [ 78.919611][ T5084] [ 78.921970][ T5084] ============================================ [ 78.928105][ T5084] WARNING: possible recursive locking detected [ 78.934235][ T5084] 6.9.0-rc7-syzkaller-00023-g6d7ddd805123 #0 Not tainted [ 78.941236][ T5084] -------------------------------------------- [ 78.947367][ T5084] syz-executor249/5084 is trying to acquire lock: [ 78.953759][ T5084] ffff888022731548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x383/0x14f0 [ 78.964667][ T5084] [ 78.964667][ T5084] but task is already holding lock: [ 78.972017][ T5084] ffff8880227307c8 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x21b/0x1b70 [ 78.983081][ T5084] [ 78.983081][ T5084] other info that might help us debug this: [ 78.991126][ T5084] Possible unsafe locking scenario: [ 78.991126][ T5084] [ 78.998562][ T5084] CPU0 [ 79.001820][ T5084] ---- [ 79.005082][ T5084] lock(&HFSPLUS_I(inode)->extents_lock); [ 79.010881][ T5084] lock(&HFSPLUS_I(inode)->extents_lock); [ 79.016681][ T5084] [ 79.016681][ T5084] *** DEADLOCK *** [ 79.016681][ T5084] [ 79.024807][ T5084] May be due to missing lock nesting notation [ 79.024807][ T5084] [ 79.033110][ T5084] 7 locks held by syz-executor249/5084: [ 79.038637][ T5084] #0: ffff888022498420 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 [ 79.047803][ T5084] #1: ffff888022731e00 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 [ 79.058732][ T5084] #2: ffff88807c3e0300 (&sb->s_type->i_mutex_key#15){+.+.}-{3:3}, at: vfs_link+0x3b3/0x690 [ 79.068967][ T5084] #3: ffff888017f55198 (&sbi->vh_mutex){+.+.}-{3:3}, at: hfsplus_link+0x237/0x800 [ 79.078322][ T5084] #4: ffff88802307c0b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x14a/0x1c0 [ 79.088281][ T5084] #5: ffff8880227307c8 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x21b/0x1b70 [ 79.099787][ T5084] #6: ffff888017f550f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_allocate+0x9e/0x8c0 [ 79.110148][ T5084] [ 79.110148][ T5084] stack backtrace: [ 79.116023][ T5084] CPU: 0 PID: 5084 Comm: syz-executor249 Not tainted 6.9.0-rc7-syzkaller-00023-g6d7ddd805123 #0 [ 79.126624][ T5084] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 79.136842][ T5084] Call Trace: [ 79.140133][ T5084] [ 79.143078][ T5084] dump_stack_lvl+0x241/0x360 [ 79.147800][ T5084] ? __pfx_dump_stack_lvl+0x10/0x10 [ 79.153006][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.158649][ T5084] ? print_deadlock_bug+0x479/0x620 [ 79.163935][ T5084] ? _find_first_zero_bit+0xd4/0x100 [ 79.169228][ T5084] validate_chain+0x15c1/0x58e0 [ 79.174089][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.179727][ T5084] ? __pfx_stack_trace_save+0x10/0x10 [ 79.185294][ T5084] ? check_noncircular+0x259/0x4a0 [ 79.190591][ T5084] ? __pfx_validate_chain+0x10/0x10 [ 79.195808][ T5084] ? __pfx_check_noncircular+0x10/0x10 [ 79.201360][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.206994][ T5084] ? lockdep_unlock+0x16a/0x300 [ 79.211838][ T5084] ? __pfx_lockdep_unlock+0x10/0x10 [ 79.217030][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.222665][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.228292][ T5084] ? look_up_lock_class+0x77/0x160 [ 79.233402][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.239032][ T5084] ? register_lock_class+0x102/0x980 [ 79.244309][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.249940][ T5084] ? validate_chain+0x15a2/0x58e0 [ 79.255071][ T5084] ? __pfx_stack_trace_consume_entry+0x10/0x10 [ 79.261247][ T5084] ? __pfx_register_lock_class+0x10/0x10 [ 79.266880][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.272546][ T5084] ? mark_lock+0x9a/0x350 [ 79.276916][ T5084] __lock_acquire+0x1346/0x1fd0 [ 79.281867][ T5084] lock_acquire+0x1ed/0x550 [ 79.286370][ T5084] ? hfsplus_get_block+0x383/0x14f0 [ 79.291578][ T5084] ? __pfx_lock_acquire+0x10/0x10 [ 79.296603][ T5084] ? __pfx___might_resched+0x10/0x10 [ 79.301888][ T5084] ? do_read_cache_page+0x30/0x200 [ 79.307002][ T5084] ? __pfx_register_lock_class+0x10/0x10 [ 79.312632][ T5084] ? hfsplus_rename_cat+0x1d0/0x1050 [ 79.318034][ T5084] ? vfs_link+0x4f7/0x690 [ 79.322382][ T5084] ? do_linkat+0x356/0x760 [ 79.326815][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.332461][ T5084] __mutex_lock+0x136/0xd70 [ 79.336964][ T5084] ? hfsplus_get_block+0x383/0x14f0 [ 79.342165][ T5084] ? hfsplus_get_block+0x383/0x14f0 [ 79.347361][ T5084] ? __pfx___mutex_lock+0x10/0x10 [ 79.352383][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.358207][ T5084] hfsplus_get_block+0x383/0x14f0 [ 79.363249][ T5084] ? __pfx_hfsplus_get_block+0x10/0x10 [ 79.368715][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.374354][ T5084] ? _raw_spin_unlock+0x28/0x50 [ 79.379489][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.385214][ T5084] ? create_empty_buffers+0x53e/0x740 [ 79.390591][ T5084] block_read_full_folio+0x430/0xe10 [ 79.395885][ T5084] ? __pfx_hfsplus_get_block+0x10/0x10 [ 79.401429][ T5084] ? __pfx_block_read_full_folio+0x10/0x10 [ 79.407242][ T5084] ? __pfx_lru_add_fn+0x10/0x10 [ 79.412282][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.417914][ T5084] ? folio_add_lru+0x58f/0xd70 [ 79.422677][ T5084] filemap_read_folio+0x1a2/0x790 [ 79.427963][ T5084] ? __pfx_hfsplus_read_folio+0x10/0x10 [ 79.433602][ T5084] ? __pfx_filemap_read_folio+0x10/0x10 [ 79.439152][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.444874][ T5084] ? __filemap_get_folio+0x92d/0xbb0 [ 79.450161][ T5084] ? hfsplus_block_allocate+0x9e/0x8c0 [ 79.456155][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.462077][ T5084] do_read_cache_folio+0x134/0x820 [ 79.467223][ T5084] ? __pfx_hfsplus_read_folio+0x10/0x10 [ 79.472857][ T5084] do_read_cache_page+0x30/0x200 [ 79.477803][ T5084] hfsplus_block_allocate+0xee/0x8c0 [ 79.483085][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.488724][ T5084] hfsplus_file_extend+0xade/0x1b70 [ 79.493922][ T5084] ? __pfx_hfsplus_file_extend+0x10/0x10 [ 79.499554][ T5084] ? rcu_is_watching+0x15/0xb0 [ 79.504309][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.509939][ T5084] ? trace_contention_end+0x3c/0x120 [ 79.515227][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.520856][ T5084] ? __mutex_lock+0x2ef/0xd70 [ 79.525930][ T5084] ? hfsplus_find_init+0x14a/0x1c0 [ 79.531086][ T5084] ? __pfx___mutex_lock+0x10/0x10 [ 79.536117][ T5084] ? rcu_is_watching+0x15/0xb0 [ 79.540967][ T5084] hfsplus_bmap_reserve+0x105/0x4e0 [ 79.546173][ T5084] hfsplus_rename_cat+0x1d0/0x1050 [ 79.551667][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.557333][ T5084] ? mark_lock+0x9a/0x350 [ 79.562099][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.567731][ T5084] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 79.573705][ T5084] ? __pfx_hfsplus_rename_cat+0x10/0x10 [ 79.579867][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.585509][ T5084] ? number+0xb5e/0xf90 [ 79.589715][ T5084] ? __pfx_sprintf+0x10/0x10 [ 79.594380][ T5084] hfsplus_link+0x3ab/0x800 [ 79.598899][ T5084] ? __pfx_hfsplus_link+0x10/0x10 [ 79.604556][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.610195][ T5084] ? __down_write_common+0x162/0x200 [ 79.615664][ T5084] ? __pfx___down_write_common+0x10/0x10 [ 79.621305][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.626937][ T5084] ? inode_permission+0xff/0x460 [ 79.631872][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.637504][ T5084] vfs_link+0x4f7/0x690 [ 79.641665][ T5084] do_linkat+0x356/0x760 [ 79.645914][ T5084] ? __pfx_do_linkat+0x10/0x10 [ 79.650680][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.656317][ T5084] ? srso_alias_return_thunk+0x5/0xfbef5 [ 79.661946][ T5084] ? getname_flags+0x1fe/0x4f0 [ 79.666703][ T5084] __x64_sys_link+0x86/0xa0 [ 79.671209][ T5084] do_syscall_64+0xf5/0x240 [ 79.675720][ T5084] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.681611][ T5084] RIP: 0033:0x7f0ce9e86779 [ 79.686020][ T5084] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 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 [ 79.705618][ T5084] RSP: 002b:00007ffc9b6d26d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000056 [ 79.714072][ T5084] RAX: ffffffffffffffda RBX: 00007ffc9b6d28b8 RCX: 00007f0ce9e86779 [ 79.722035][ T5084] RDX: 0000000000000000 RSI: 0000000020000bc0 RDI: 0000000020000100 link("./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "./file0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") = -1 ENOSPC (No space left on device) exit_group(0) = ? +++ exited with 0 +++ [ 79.729994][ T5084] RBP: 00007f0ce9efa610 R08: 0