program: syz_mount_image$squashfs(&(0x7f0000000080), &(0x7f0000000000)='./file0\x00', 0x0, &(0x7f0000000780)=ANY=[@ANYRES16=0x0, @ANYRESHEX, @ANYRESHEX, @ANYRES32=0x0, @ANYRESDEC=0x0, @ANYRES64, @ANYBLOB="01ce6671a3b30f673148672100038bbb4413ea284b892438cdddda3da4c78d940655fbd68a286059c5766f98f85fb413503eaf8c90a24dda1e09f68cd741168d69dae50652ca7b67c5b0a27ab80ff9afa5000443de8c748e1d5beabee7c1346b215f641ae190d56ea4ab81bacd909929deb5757040e8d5b2752ea779c30f600bd516a68d881e7fc7289826d49e35134a94e27f115c8195a0f152cbd840ffdb008356c72319cceb43ccb1280556efdf0fdf582fd3cfc830dff1787f000000b7400f5aef57b6dcbfde7af6012383adb085c40e4c295c2a3be750a42400e58523d24b8eecd75caabcee22347bdb78b72b400d080a044ebde5d39ad91ff0ef75aa244381cf00cd6fe9b9a92a9968104bf02481022af426853287e521a4e3cfe480f984efcea1359ff932ebd3bc75aefea41074799f3502a7472a6686b4011a41d7f0cfb25b3dc3077b4e8ded17cfff2b1d59bc12f637c36690f5ca91ee999ec138f6ce66522e652939a37435edb78f9ae18489f9d2b73c81609399f0d123f1721171bd72c012623f04d8965d3e5785d057c15798ab36af821c9b308731422ba3858b9895ace14068ea58f8cb6060c205caf209a73628eff5b9270a4a55c2d7fc59a4fe6e023bd424d8b010e2232d1b2e6ca603b466b2c82afff4a8cc469e8664d54769fc97df122b3ff8c34354dad46f900eaf6e72e538c0595caa056984ab8974dadad47a42af7cdae5bde6a12f412fe2a876aa191e78e91fbf780e2f4a20f57d41376b29f990ce63aa6edf622d2203fee37df269abf869d13b175852b775fff70491d1e5d1311b7eef954a101ddb98c5ba2b312528485ece7aff23cc6fee599daea0fca71a5970cf0fc82b49640cc3fabbc401dead4f83aa0c4072a9e98ab5afb790be17961fc073e2f8ec00000000000000005089d6db5ad893ee9b22b9250d01980952d0a3e0076c877556fa43f90cb574fd6ad67398ac4d9f8ff4e3ef09f99220928602523adc2289b5130c5f8e48384eff563a10787b0199642385e811504e7168804114842d51f42dd6937515fa64b2fd14ef427072c6556b99171bd00165a9aada7173f001679ac791ee67188c670f583f7b1f8d", @ANYRES8=0x0, @ANYRES32], 0x1, 0x1d2, &(0x7f0000000580)="$eJzslU9rE0EYxn+zO2kazaFnrxbbi7bZgvgN7AfwAxjStRYT/3QDmlAweunFg/glCn4KD4LePYgIXupBQQ8VTxWJzM474ywNRMVQAvPA8j7vM++fmVlm5mZxr6gDP4/2OixRQtHkvVJoYEVZ7XjB2m9ix4JP2vot0Z+L/Si2GAzfPLF0eKvd7ea7xWAKUQqmxVTISUn/cbMJ5PXjqqL4tzqzJ/3U7uzJoacVpT4pRnI59VXMgnxvQqh8/t8tasx6FeCVH83pv+ndM/s7J8akkt6gui3zR5K/yiqQ66u4+ijha+m8PdrrGHJdbjGjbdnPHYkyxjgvg5hzGkagUsa+ji5vS1gB1vq9u2vFYHhxp9fezrfz21m2cXn91Vk5ouOHsNPN11UwjcQQjYc5p41gvAZ8+D0+IoAKpmZwBpTLdSnucl49HyQ2IAlywxq27gvfvy5aSo9rXGARuD8ywxl2t5Yx1TQ3zNI2UaTitHQwTzgmYbEcuNS5093aR6Fc2gHa12gdUvNOJo5plG9c8cvfF7ssdlPsgdhDse7tcm+SLit8EW91BAs8aPf7u+XjZZnXMq9lS75zIl3da6jcTOpERERERERERMwJfgUAAP//B6hPCg==") r0 = openat$dir(0xffffffffffffff9c, &(0x7f0000000080)='.\x00', 0x0, 0x0) r1 = inotify_init() r2 = openat$cgroup_ro(0xffffffffffffff9c, &(0x7f0000000080)='memory.events\x00', 0x275a, 0x0) write$binfmt_script(r2, &(0x7f00000004c0), 0x4) mmap(&(0x7f0000000000/0x4000)=nil, 0x4000, 0x1, 0x12, r2, 0x0) r3 = socket$rxrpc(0x21, 0x2, 0xa) bind$rxrpc(r3, &(0x7f0000000140)=@in6={0x21, 0x0, 0x2, 0xfffffffffffffca2, {0xa, 0x0, 0x0, @mcast1}}, 0x24) openat$sequencer(0xffffffffffffff9c, &(0x7f0000000040), 0x8002, 0x0) creat(&(0x7f0000000300)='./bus\x00', 0x0) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000180)='/proc/sysvipc/shm\x00', 0x0, 0x0) r5 = socket$nl_netfilter(0x10, 0x3, 0xc) r6 = socket$nl_netfilter(0x10, 0x3, 0xc) ioctl$sock_SIOCGIFINDEX(r6, 0x8933, &(0x7f0000000880)={'bridge_slave_0\x00', 0x0}) setsockopt$MRT_ADD_VIF(0xffffffffffffffff, 0x0, 0xca, &(0x7f0000000000)={0x0, 0x1, 0x0, 0x200, @vifc_lcl_ifindex=r7, @local}, 0x10) poll(&(0x7f0000000000)=[{r4}], 0x1, 0x0) ioctl$sock_ifreq(r5, 0x89f0, &(0x7f0000000280)={'bridge0\x00', @ifru_settings={0x20000000, 0x0, @cisco=0x0}}) inotify_add_watch(r1, &(0x7f0000000240)='./file0\x00', 0x4000842) getdents64(r0, &(0x7f0000000f80)=""/4096, 0x1000) r8 = socket$nl_netfilter(0x10, 0x3, 0xc) syz_emit_ethernet(0x3e, &(0x7f0000000000)={@local, @broadcast, @void, {@ipv4={0x800, @icmp={{0x5, 0x4, 0x0, 0x0, 0x30, 0x0, 0x0, 0x0, 0x1, 0x0, @initdev={0xac, 0x1e, 0x0, 0x0}, @local}, @time_exceeded={0xb, 0x4, 0x0, 0x3, 0x0, 0x0, {0x5, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2f, 0x0, @broadcast=0xac14140a, @multicast1}}}}}}, 0x0) syz_emit_ethernet(0xbe, &(0x7f0000000000)={@broadcast, @dev, @void, {@ipv4={0x800, @icmp={{0x5, 0x4, 0x0, 0x0, 0xb0, 0x0, 0x0, 0x0, 0x1, 0x0, @initdev={0xac, 0x1e, 0x0, 0x0}, @local}, @dest_unreach={0x3, 0x0, 0x0, 0x0, 0x0, 0x0, {0x25, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x0, @dev, @local, {[@noop={0x2a}, @generic={0x0, 0xd, "c045d45768dc37efa0fc58"}, @timestamp_prespec={0x44, 0xc, 0x0, 0x3, 0x0, [{@loopback}]}, @ssrr={0x89, 0xf, 0x0, [@private, @remote, @broadcast]}, @timestamp_addr={0x44, 0x4c, 0x0, 0x1, 0x0, [{@initdev={0xac, 0x1e, 0x0, 0x0}}, {@private}, {}, {@local}, {@loopback}, {@private}, {@multicast2}, {@broadcast}, {@broadcast}]}, @timestamp={0x44, 0x8, 0x0, 0x0, 0x0, [0x0]}]}}}}}}}, 0x0) sendmsg$IPSET_CMD_TYPE(r8, &(0x7f0000000240)={0x0, 0x0, &(0x7f00000001c0)={&(0x7f0000000140)={0x2c, 0xd, 0x6, 0x201, 0x0, 0x0, {0x1, 0x0, 0x4}, [@IPSET_ATTR_PROTOCOL={0x5}, @IPSET_ATTR_TYPENAME={0xe, 0x3, 'bitmap:ip\x00'}]}, 0x2c}, 0x1, 0x0, 0x0, 0x8c0}, 0x48000) [ 72.673579][ T4531] Bluetooth: hci0: command tx timeout [ 73.762801][ T5105] loop0: detected capacity change from 0 to 8 [ 73.834409][ T5105] SQUASHFS error: Unable to read directory block [631:26] [ 73.892733][ T5105] SQUASHFS error: Unable to read directory block [631:72] [ 73.897625][ T80] [ 73.898651][ T80] ====================================================== [ 73.901384][ T80] WARNING: possible circular locking dependency detected [ 73.904218][ T80] 6.11.0-rc5-syzkaller-00148-g3b9dfd9e5936 #0 Not tainted [ 73.907838][ T80] ------------------------------------------------------ [ 73.910816][ T80] kswapd0/80 is trying to acquire lock: [ 73.913054][ T80] ffff88801e21d930 (&group->mark_mutex){+.+.}-{3:3}, at: fsnotify_destroy_mark+0x38/0x3c0 [ 73.916989][ T80] [ 73.916989][ T80] but task is already holding lock: [ 73.920028][ T80] ffffffff8ea2fd60 (fs_reclaim){+.+.}-{0:0}, at: kswapd+0xbf1/0x3720 [ 73.923783][ T80] [ 73.923783][ T80] which lock already depends on the new lock. [ 73.923783][ T80] [ 73.928475][ T80] [ 73.928475][ T80] the existing dependency chain (in reverse order) is: [ 73.932102][ T80] [ 73.932102][ T80] -> #1 (fs_reclaim){+.+.}-{0:0}: [ 73.934932][ T80] lock_acquire+0x1ed/0x550 [ 73.936930][ T80] fs_reclaim_acquire+0x88/0x140 [ 73.939187][ T80] kmem_cache_alloc_noprof+0x3d/0x2a0 [ 73.941982][ T80] __se_sys_inotify_add_watch+0x72e/0x1070 [ 73.945077][ T80] do_syscall_64+0xf3/0x230 [ 73.947336][ T80] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 73.949924][ T80] [ 73.949924][ T80] -> #0 (&group->mark_mutex){+.+.}-{3:3}: [ 73.953012][ T80] validate_chain+0x18e0/0x5900 [ 73.955156][ T80] __lock_acquire+0x137a/0x2040 [ 73.957474][ T80] lock_acquire+0x1ed/0x550 [ 73.959814][ T80] __mutex_lock+0x136/0xd70 [ 73.962165][ T80] fsnotify_destroy_mark+0x38/0x3c0 [ 73.964673][ T80] fsnotify_destroy_marks+0x14a/0x660 [ 73.966882][ T80] dentry_unlink_inode+0x2e0/0x430 [ 73.968998][ T80] __dentry_kill+0x20d/0x630 [ 73.970976][ T80] shrink_kill+0xa9/0x2c0 [ 73.972997][ T80] shrink_dentry_list+0x2c0/0x5b0 [ 73.975598][ T80] prune_dcache_sb+0x10f/0x180 [ 73.978283][ T80] super_cache_scan+0x34f/0x4b0 [ 73.980516][ T80] do_shrink_slab+0x701/0x1160 [ 73.982599][ T80] shrink_slab+0x1093/0x14d0 [ 73.984607][ T80] shrink_one+0x43b/0x850 [ 73.986514][ T80] shrink_node+0x3799/0x3de0 [ 73.988336][ T80] kswapd+0x1cbc/0x3720 [ 73.990081][ T80] kthread+0x2f0/0x390 [ 73.992276][ T80] ret_from_fork+0x4b/0x80 [ 73.994936][ T80] ret_from_fork_asm+0x1a/0x30 [ 73.997299][ T80] [ 73.997299][ T80] other info that might help us debug this: [ 73.997299][ T80] [ 74.001353][ T80] Possible unsafe locking scenario: [ 74.001353][ T80] [ 74.004234][ T80] CPU0 CPU1 [ 74.006309][ T80] ---- ---- [ 74.008486][ T80] lock(fs_reclaim); [ 74.010543][ T80] lock(&group->mark_mutex); [ 74.014295][ T80] lock(fs_reclaim); [ 74.016891][ T80] lock(&group->mark_mutex); [ 74.018747][ T80] [ 74.018747][ T80] *** DEADLOCK *** [ 74.018747][ T80] [ 74.021875][ T80] 2 locks held by kswapd0/80: [ 74.023712][ T80] #0: ffffffff8ea2fd60 (fs_reclaim){+.+.}-{0:0}, at: kswapd+0xbf1/0x3720 [ 74.027081][ T80] #1: ffff888011da80e0 (&type->s_umount_key#47){.+.+}-{3:3}, at: super_cache_scan+0x94/0x4b0 [ 74.032208][ T80] [ 74.032208][ T80] stack backtrace: [ 74.034738][ T80] CPU: 0 UID: 0 PID: 80 Comm: kswapd0 Not tainted 6.11.0-rc5-syzkaller-00148-g3b9dfd9e5936 #0 [ 74.038683][ T80] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 74.042791][ T80] Call Trace: [ 74.044210][ T80] [ 74.045455][ T80] dump_stack_lvl+0x241/0x360 [ 74.047593][ T80] ? __pfx_dump_stack_lvl+0x10/0x10 [ 74.050095][ T80] ? print_circular_bug+0x130/0x1a0 [ 74.052272][ T80] check_noncircular+0x36a/0x4a0 [ 74.054264][ T80] ? __pfx_check_noncircular+0x10/0x10 [ 74.056346][ T80] validate_chain+0x18e0/0x5900 [ 74.058252][ T80] ? __pfx_validate_chain+0x10/0x10 [ 74.060358][ T80] ? __pfx_validate_chain+0x10/0x10 [ 74.062646][ T80] ? __pfx_validate_chain+0x10/0x10 [ 74.065063][ T80] ? mark_lock+0x9a/0x350 [ 74.067159][ T80] __lock_acquire+0x137a/0x2040 [ 74.069345][ T80] lock_acquire+0x1ed/0x550 [ 74.071146][ T80] ? fsnotify_destroy_mark+0x38/0x3c0 [ 74.073275][ T80] ? __pfx_lock_acquire+0x10/0x10 [ 74.075254][ T80] ? __pfx___might_resched+0x10/0x10 [ 74.077342][ T80] __mutex_lock+0x136/0xd70 [ 74.079352][ T80] ? fsnotify_destroy_mark+0x38/0x3c0 [ 74.081924][ T80] ? fsnotify_destroy_mark+0x38/0x3c0 [ 74.084796][ T80] ? __pfx___mutex_lock+0x10/0x10 [ 74.087156][ T80] ? __pfx_lock_release+0x10/0x10 [ 74.089145][ T80] fsnotify_destroy_mark+0x38/0x3c0 [ 74.091186][ T80] ? fsnotify_grab_connector+0x3e/0x240 [ 74.093413][ T80] fsnotify_destroy_marks+0x14a/0x660 [ 74.095591][ T80] dentry_unlink_inode+0x2e0/0x430 [ 74.097753][ T80] __dentry_kill+0x20d/0x630 [ 74.099822][ T80] ? shrink_kill+0x8d/0x2c0 [ 74.102017][ T80] shrink_kill+0xa9/0x2c0 [ 74.103967][ T80] shrink_dentry_list+0x2c0/0x5b0 [ 74.105950][ T80] prune_dcache_sb+0x10f/0x180 [ 74.107793][ T80] ? __pfx_prune_dcache_sb+0x10/0x10 [ 74.109724][ T80] ? list_lru_count_one+0x29/0x2e0 [ 74.111755][ T80] ? list_lru_count_one+0x283/0x2e0 [ 74.114259][ T80] ? list_lru_count_one+0x29/0x2e0 [ 74.117109][ T80] super_cache_scan+0x34f/0x4b0 [ 74.119155][ T80] do_shrink_slab+0x701/0x1160 [ 74.121083][ T80] ? shrink_slab+0x12b/0x14d0 [ 74.122962][ T80] shrink_slab+0x1093/0x14d0 [ 74.124858][ T80] ? shrink_slab+0x12b/0x14d0 [ 74.126634][ T80] ? __pfx_shrink_slab+0x10/0x10 [ 74.128599][ T80] ? shrink_node+0x3547/0x3de0 [ 74.130518][ T80] ? __pfx_lock_release+0x10/0x10 [ 74.132548][ T80] shrink_one+0x43b/0x850 [ 74.134399][ T80] ? shrink_node+0x3547/0x3de0 [ 74.136534][ T80] shrink_node+0x3799/0x3de0 [ 74.138553][ T80] ? shrink_node+0x3547/0x3de0 [ 74.140822][ T80] ? __pfx_lock_acquire+0x10/0x10 [ 74.142908][ T80] ? mem_cgroup_iter+0x3a/0x560 [ 74.144841][ T80] ? __pfx_lock_release+0x10/0x10 [ 74.146776][ T80] ? __pfx_shrink_node+0x10/0x10 [ 74.148620][ T80] ? mem_cgroup_iter+0x3a/0x560 [ 74.150332][ T80] ? mem_cgroup_iter+0x3e9/0x560 [ 74.152181][ T80] ? mem_cgroup_iter+0x3a/0x560 [ 74.154205][ T80] kswapd+0x1cbc/0x3720 [ 74.156059][ T80] ? kswapd+0xbf1/0x3720 [ 74.157962][ T80] ? __pfx_kswapd+0x10/0x10 [ 74.159827][ T80] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 74.162016][ T80] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 74.164509][ T80] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 74.166967][ T80] ? __pfx_autoremove_wake_function+0x10/0x10 [ 74.169395][ T80] ? __kthread_parkme+0x169/0x1d0 [ 74.171451][ T80] ? __pfx_kswapd+0x10/0x10 [ 74.173399][ T80] kthread+0x2f0/0x390 [ 74.175351][ T80] ? __pfx_kswapd+0x10/0x10 [ 74.177531][ T80] ? __pfx_kthread+0x10/0x10 [ 74.179487][ T80] ret_from_fork+0x4b/0x80 [ 74.181320][ T80] ? __pfx_kthread+0x10/0x10 [ 74.183135][ T80] ret_from_fork_asm+0x1a/0x30 [ 74.185043][ T80]