syzkaller syzkaller login: [ 22.825011][ T909] cgroup: Unknown subsys name 'net' [ 22.825943][ T909] cgroup: Unknown subsys name 'net_prio' [ 22.827150][ T909] cgroup: Unknown subsys name 'devices' [ 22.828123][ T909] cgroup: Unknown subsys name 'blkio' [ 22.925770][ T909] cgroup: Unknown subsys name 'hugetlb' [ 22.931434][ T909] cgroup: Unknown subsys name 'rlimit' Warning: Permanently added '10.128.0.139' (ED25519) to the list of known hosts. 2023/10/13 04:07:57 ignoring optional flag "sandboxArg"="0" 2023/10/13 04:07:57 parsed 1 programs 2023/10/13 04:07:57 executed programs: 0 [ 42.843695][ T1855] loop0: detected capacity change from 0 to 1024 [ 42.850807][ T1855] ======================================================= [ 42.850807][ T1855] WARNING: The mand mount option has been deprecated and [ 42.850807][ T1855] and is ignored by this kernel. Remove the mand [ 42.850807][ T1855] option from the mount to silence this warning. [ 42.850807][ T1855] ======================================================= [ 42.895389][ T338] [ 42.897708][ T338] ============================================ [ 42.903819][ T338] WARNING: possible recursive locking detected [ 42.909934][ T338] 5.15.135-syzkaller #0 Not tainted [ 42.915101][ T338] -------------------------------------------- [ 42.921211][ T338] kworker/u4:3/338 is trying to acquire lock: [ 42.927236][ T338] ffff88817bb720b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfsplus_find_init+0x6c/0x90 [ 42.936658][ T338] [ 42.936658][ T338] but task is already holding lock: [ 42.943986][ T338] ffff88817bb720b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfsplus_find_init+0x6c/0x90 [ 42.953578][ T338] [ 42.953578][ T338] other info that might help us debug this: [ 42.961712][ T338] Possible unsafe locking scenario: [ 42.961712][ T338] [ 42.969230][ T338] CPU0 [ 42.972483][ T338] ---- [ 42.975966][ T338] lock(&tree->tree_lock/1); [ 42.980609][ T338] lock(&tree->tree_lock/1); [ 42.985256][ T338] [ 42.985256][ T338] *** DEADLOCK *** [ 42.985256][ T338] [ 42.993377][ T338] May be due to missing lock nesting notation [ 42.993377][ T338] [ 43.001756][ T338] 5 locks held by kworker/u4:3/338: [ 43.006919][ T338] #0: ffff8881085bb138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x1c1/0x460 [ 43.017391][ T338] #1: ffffc9000101be70 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x1c1/0x460 [ 43.029256][ T338] #2: ffff88817bb42688 (&hip->extents_lock){+.+.}-{3:3}, at: hfsplus_ext_write_extent+0x30/0xa0 [ 43.040168][ T338] #3: ffff88817bb720b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfsplus_find_init+0x6c/0x90 [ 43.050017][ T338] #4: ffff88817bb40108 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x65/0x360 [ 43.061260][ T338] [ 43.061260][ T338] stack backtrace: [ 43.067122][ T338] CPU: 1 PID: 338 Comm: kworker/u4:3 Not tainted 5.15.135-syzkaller #0 [ 43.075413][ T338] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 [ 43.085519][ T338] Workqueue: writeback wb_workfn (flush-7:0) [ 43.091474][ T338] Call Trace: [ 43.094721][ T338] [ 43.097624][ T338] dump_stack_lvl+0x57/0x7d [ 43.102090][ T338] __lock_acquire.cold+0x130/0x2c5 [ 43.107181][ T338] ? __lock_acquire+0xe7a/0x1a30 [ 43.112172][ T338] lock_acquire+0xbb/0x290 [ 43.116551][ T338] ? hfsplus_find_init+0x6c/0x90 [ 43.121465][ T338] ? lock_acquire+0xbb/0x290 [ 43.126017][ T338] __mutex_lock+0x60/0x660 [ 43.130400][ T338] ? hfsplus_find_init+0x6c/0x90 [ 43.135412][ T338] ? hfsplus_find_init+0x6c/0x90 [ 43.140404][ T338] ? __kmalloc+0x263/0x2f0 [ 43.144786][ T338] hfsplus_find_init+0x6c/0x90 [ 43.149509][ T338] hfsplus_ext_read_extent+0x4b/0x1b0 [ 43.154844][ T338] hfsplus_file_extend+0x16c/0x360 [ 43.159914][ T338] ? hfsplus_find_init+0x6c/0x90 [ 43.164812][ T338] hfsplus_bmap_reserve+0x89/0xa0 [ 43.169798][ T338] __hfsplus_ext_write_extent+0x9e/0xc0 [ 43.175389][ T338] hfsplus_ext_write_extent+0x87/0xa0 [ 43.180719][ T338] ? __writeback_single_inode+0xd2/0x350 [ 43.186314][ T338] hfsplus_write_inode+0xf/0x110 [ 43.191211][ T338] __writeback_single_inode+0x295/0x350 [ 43.196765][ T338] writeback_sb_inodes+0x210/0x520 [ 43.201861][ T338] wb_writeback+0xc0/0x300 [ 43.206249][ T338] wb_workfn+0xe7/0x510 [ 43.210366][ T338] ? lock_acquire+0xbb/0x290 [ 43.214918][ T338] ? process_one_work+0x1c1/0x460 [ 43.219901][ T338] ? process_one_work+0x1ea/0x460 [ 43.224885][ T338] process_one_work+0x252/0x460 [ 43.229699][ T338] ? process_one_work+0x460/0x460 [ 43.234681][ T338] worker_thread+0x4d/0x330 [ 43.239144][ T338] ? process_one_work+0x460/0x460 [ 43.244149][ T338] kthread+0x119/0x130 [ 43.248181][ T338] ? set_kthread_struct+0x40/0x40 [ 43.253164][ T338] ret_from_fork+0x1f/0x30 [ 43.257543][ T338]