program: syz_mount_image$hfsplus(&(0x7f0000000040), &(0x7f0000000080)='./file1\x00', 0x400, &(0x7f0000000140)=ANY=[], 0x1, 0x694, &(0x7f0000001100)="$eJzs3U1sHGf9B/DvbnbX3vz/Sp02SQOqRNRIBRGROLGSYi4NCKFIVKgqB8TRSpzGyiatHBc5EYLwfuDCoXeKRG5cQOIeVM7AqVcfKyFx6SmAxKKZnbXXr9l1Yq8tPp9odp5nnpd5nt/M7OzOKnKA/1nXzqXxOLVcO/fmcpFfeTTTWXk0c6efTjKRpJ40eqvU7ia1j5Kr6S35TLGx6q623X4+WJh9++NPVz7p5RrVUtav79Rukyv1LTY+rJacSXKkWj+Ddf1d39Bfa+TuaqszLAJ2th84GLdmku463z21VvJUw1+3wIFVK++bm6/5qeRoksnqc0Dvrti7Zx9qD8c9AAAAANgHL/yy/Ap/bNzjAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgMOk9/f/i1W51PvpM6n1//5/q9qWKn2oPR73AAAAAAAAAABgdN/8/w0bPvckT7KcY/18t1b+5v9qmTlRvv5f3s+9zGcx57OcuSxlKYu5mGSqLG+Wr63luaWlxYtDtLy02jIDLS8NOYP27icPAAAAAAAAAIdFY/QmP861td//AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgIKglR3qrcjnRT0+l3kgymaRV1HuY/LWfPpB+/afBXPff3dKmao/3c0wAAAAwJi88yZMs51g/362V3/lPld/7J/N+7mYpC1lKJ/O5UT4L6H3rr688mumsPJq5Uyyb+/3qP0YaRtljes8ett7z6bJGOzezUG45n+t5N53cSL1sWTjdH8/W4/pRMabaG5UhR3ajWhcz/1WaI81qN2pD15wqI1KMqBeR6aptEY3jO0dixKPT31M/9hdTX33yc+J5xny5t3r9t711MZ+fjxSTvbYxEpcGzr5TK6ntEInk83/83Xdude7enrh579zBmdIIJgaeoG2MxMxAJF7e+ZxIM1Ukbh3WSAyaLiNxcjV/Ld/It3MuZ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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcEhdOzdRpc5PF68rj2Y6xdJPr1Ysq9WT1L6f1D5Krqa3ZGqgu9p2+/lgYfbtjz9d+aSXa1RLWb++rl1zN7N4WC05k+RItR40+Qz9Xa/WuxpZqbY6wyJgZ/uBg3H7bwAAAP//2wMQAg==") r0 = creat(&(0x7f0000000000)='./bus\x00', 0x0) io_setup(0x202, &(0x7f0000000200)=0x0) ioctl$sock_inet_SIOCGIFNETMASK(r0, 0x891b, &(0x7f0000000100)={'macvlan1\x00', {0x2, 0x0, @remote}}) read$FUSE(r0, &(0x7f00000017c0)={0x2020, 0x0, 0x0}, 0x2020) write$FUSE_BMAP(r0, &(0x7f0000000140)={0x18, 0x0, r2, {0xf93}}, 0x18) syz_mount_image$ext4(&(0x7f0000000400)='ext4\x00', &(0x7f0000000440)='./file0\x00', 0x0, &(0x7f0000000480), 0x1, 0x3e8, &(0x7f00000004c0)="$eJzs3MtrXNUfAPDvvXn1+UvyMz5qXURcGBCTJo21gojZiIiu7NKFMY9aOmkkGcGGgIrirju3LhQX/g2uFPwPBHHlWgpB0oIuR+7MvemYzKSdTsaLmc8HTjnnnhnOuffbc0977j0TQN+ajIhPImI4IlYjYjQ/nuQpXm2k7HN3d7eXspRErfb2H0m9/s7u9lI0fSdzOvsjjZhKI9LPI863aHfz5tb1xUplZSMvz1TXPpjZvLn1/LW1xasrV1duzF18cXb+0tyl2ReO7Fxvnb/80tPzb/x667Vvln658t17WX/P5HXN53FUJmNy75rsd+GoGyvZmbI7wENJI2IgIgbr4380Buq5htH4+J1SOwcA9EStVhvYVwYAjr3EnA8Afab4f/+d3e2lIpWyEEEpdhYi4kQj/sXz3UbN4N6ToKEePt+bjIj30+8nshQ9eg4LAAAA0M9+WIiIy63W/9J4qulzZyPif/n+gLGIGI+I/0fEI122P7mvfHD9J73dZRMcYmch4uWmvR13m+KfGxvIS2frsR9KVq9VVi7kfx+mYmgkK88e0safW9e/aFfXvP6Xpaz9Yi0w78ftwZF/fmd5sbrYzTlzz86nEU8Otop/srf+m0TERBdt/Di+9lW7uvvHn16qfR3xbMvxf2/nUnL4/qyZ+v1gprgrHPTWT5+926598S9XNv5PHR7/saR5v95m5208fu63jXZ1D3v/H06u1Ds4nB/7aLFa3ZiNGE7ePHh8rvM+H1fF9SiuVxb/qWdaz/9FELIL+mhEPJbFMiKeiIhzHbT57fhfJ9vVGf/lyuK/3NH47zzzysTrP7dr/8HG/3y9M1P5Ef/+u78HDVDZ/QQAAAAAAADgaKT1vd1JOr2XT9Pp6cZveE/EqbSyvll9bnX9wxvLjT3gYzGUFm96jTa9DzqbvxdclOf2lS/m7wx/OXKyXp5eWq8sl33yANCnTreZ/zO/j5TdOwCgZ06U3QEA4F9n/geA/mP+B4D+Y/4HgP5j/geA/mP+B4C+0s3v+svIyBzXTNl3JgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgP+2vwMAAP//xC/MZQ==") r3 = creat(&(0x7f0000000040)='./file1\x00', 0x0) ioctl$EXT4_IOC_GROUP_ADD(r3, 0xc0406618, 0x0) io_submit(r1, 0x3b, &(0x7f0000000540)=[&(0x7f00000000c0)={0x25, 0xe7030000, 0x0, 0x1, 0x0, r0, &(0x7f0000000000), 0x70000}]) syz_mount_image$hfsplus(&(0x7f0000000040), &(0x7f0000000080)='./file1\x00', 0x400, &(0x7f0000000140)=ANY=[], 0x1, 0x694, &(0x7f0000001100)="$eJzs3U1sHG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Krqa3ZGqgu9p2+/lgYfbtjz9d+aSXa1RLWb++rl1zN7N4WC05k+RItR40+Qz9Xa/WuxpZqbY6wyJgZ/uBg3H7bwAAAP//2wMQAg==") (async) creat(&(0x7f0000000000)='./bus\x00', 0x0) (async) io_setup(0x202, &(0x7f0000000200)) (async) ioctl$sock_inet_SIOCGIFNETMASK(r0, 0x891b, &(0x7f0000000100)={'macvlan1\x00', {0x2, 0x0, @remote}}) (async) read$FUSE(r0, &(0x7f00000017c0)={0x2020}, 0x2020) (async) write$FUSE_BMAP(r0, &(0x7f0000000140)={0x18, 0x0, r2, {0xf93}}, 0x18) (async) syz_mount_image$ext4(&(0x7f0000000400)='ext4\x00', &(0x7f0000000440)='./file0\x00', 0x0, &(0x7f0000000480), 0x1, 0x3e8, &(0x7f00000004c0)="$eJzs3MtrXNUfAPDvvXn1+UvyMz5qXURcGBCTJo21gojZiIiu7NKFMY9aOmkkGcGGgIrirju3LhQX/g2uFPwPBHHlWgpB0oIuR+7MvemYzKSdTsaLmc8HTjnnnhnOuffbc0977j0TQN+ajIhPImI4IlYjYjQ/nuQpXm2k7HN3d7eXspRErfb2H0m9/s7u9lI0fSdzOvsjjZhKI9LPI863aHfz5tb1xUplZSMvz1TXPpjZvLn1/LW1xasrV1duzF18cXb+0tyl2ReO7Fxvnb/80tPzb/x667Vvln658t17WX/P5HXN53FUJmNy75rsd+GoGyvZmbI7wENJI2IgIgbr4380Buq5htH4+J1SOwcA9EStVhvYVwYAjr3EnA8Afab4f/+d3e2lIpWyEEEpdhYi4kQj/sXz3UbN4N6ToKEePt+bjIj30+8nshQ9eg4LAAAA0M9+WIiIy63W/9J4qulzZyPif/n+gLGIGI+I/0fEI122P7mvfHD9J73dZRMcYmch4uWmvR13m+KfGxvIS2frsR9KVq9VVi7kfx+mYmgkK88e0safW9e/aFfXvP6Xpaz9Yi0w78ftwZF/fmd5sbrYzTlzz86nEU8Otop/srf+m0TERBdt/Di+9lW7uvvHn16qfR3xbMvxf2/nUnL4/qyZ+v1gprgrHPTWT5+926598S9XNv5PHR7/saR5v95m5208fu63jXZ1D3v/H06u1Ds4nB/7aLFa3ZiNGE7ePHh8rvM+H1fF9SiuVxb/qWdaz/9FELIL+mhEPJbFMiKeiIhzHbT57fhfJ9vVGf/lyuK/3NH47zzzysTrP7dr/8HG/3y9M1P5Ef/+u78HDVDZ/QQAAAAAAADgaKT1vd1JOr2XT9Pp6cZveE/EqbSyvll9bnX9wxvLjT3gYzGUFm96jTa9DzqbvxdclOf2lS/m7wx/OXKyXp5eWq8sl33yANCnTreZ/zO/j5TdOwCgZ06U3QEA4F9n/geA/mP+B4D+Y/4HgP5j/geA/mP+B4C+0s3v+svIyBzXTNl3JgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgP+2vwMAAP//xC/MZQ==") (async) creat(&(0x7f0000000040)='./file1\x00', 0x0) (async) ioctl$EXT4_IOC_GROUP_ADD(r3, 0xc0406618, 0x0) (async) io_submit(r1, 0x3b, &(0x7f0000000540)=[&(0x7f00000000c0)={0x25, 0xe7030000, 0x0, 0x1, 0x0, r0, &(0x7f0000000000), 0x70000}]) (async) [ 71.952184][ T48] Bluetooth: hci0: command tx timeout [ 72.049079][ T5314] loop0: detected capacity change from 0 to 1024 [ 72.116481][ T5314] [ 72.117479][ T5314] ====================================================== [ 72.120008][ T5314] WARNING: possible circular locking dependency detected [ 72.122584][ T5314] 6.12.0-syzkaller-12128-gf788b5ef1ca9 #0 Not tainted [ 72.125021][ T5314] ------------------------------------------------------ [ 72.127596][ T5314] syz.0.0/5314 is trying to acquire lock: [ 72.129692][ T5314] ffff888052edc108 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{4:4}, at: hfsplus_file_extend+0x21b/0x1b70 [ 72.133633][ T5314] [ 72.133633][ T5314] but task is already holding lock: [ 72.136381][ T5314] ffff8880518ba0b0 (&tree->tree_lock/1){+.+.}-{4:4}, at: hfsplus_find_init+0x14a/0x1c0 [ 72.139843][ T5314] [ 72.139843][ T5314] which lock already depends on the new lock. [ 72.139843][ T5314] [ 72.143544][ T5314] [ 72.143544][ T5314] the existing dependency chain (in reverse order) is: [ 72.146815][ T5314] [ 72.146815][ T5314] -> #1 (&tree->tree_lock/1){+.+.}-{4:4}: [ 72.149513][ T5314] lock_acquire+0x1ed/0x550 [ 72.151393][ T5314] __mutex_lock+0x1ac/0xee0 [ 72.154251][ T5314] hfsplus_find_init+0x14a/0x1c0 [ 72.156307][ T5314] hfsplus_file_truncate+0x45f/0xc70 [ 72.158492][ T5314] hfsplus_setattr+0x1bd/0x270 [ 72.160300][ T5314] notify_change+0xbca/0xe90 [ 72.162200][ T5314] do_truncate+0x220/0x310 [ 72.164087][ T5314] path_openat+0x2e1e/0x3590 [ 72.166067][ T5314] do_filp_open+0x27f/0x4e0 [ 72.167981][ T5314] do_sys_openat2+0x13e/0x1d0 [ 72.169946][ T5314] __x64_sys_creat+0x123/0x170 [ 72.171833][ T5314] do_syscall_64+0xf3/0x230 [ 72.173752][ T5314] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 72.176012][ T5314] [ 72.176012][ T5314] -> #0 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{4:4}: [ 72.179154][ T5314] validate_chain+0x18ef/0x5920 [ 72.181092][ T5314] __lock_acquire+0x1397/0x2100 [ 72.183007][ T5314] lock_acquire+0x1ed/0x550 [ 72.184903][ T5314] __mutex_lock+0x1ac/0xee0 [ 72.186723][ T5314] hfsplus_file_extend+0x21b/0x1b70 [ 72.188653][ T5314] hfsplus_bmap_reserve+0x105/0x4e0 [ 72.190613][ T5314] __hfsplus_ext_write_extent+0x2a4/0x5c0 [ 72.192787][ T5314] __hfsplus_ext_cache_extent+0x84/0xe10 [ 72.194966][ T5314] hfsplus_file_extend+0x48c/0x1b70 [ 72.197004][ T5314] hfsplus_get_block+0x406/0x14f0 [ 72.199013][ T5314] __block_write_begin_int+0x50c/0x1a70 [ 72.201196][ T5314] cont_write_begin+0x6e2/0x9d0 [ 72.203185][ T5314] hfsplus_write_begin+0x68/0xb0 [ 72.205130][ T5314] generic_perform_write+0x344/0x6d0 [ 72.207250][ T5314] generic_file_write_iter+0xae/0x310 [ 72.209393][ T5314] aio_write+0x56b/0x7c0 [ 72.211088][ T5314] io_submit_one+0x8a7/0x18a0 [ 72.213043][ T5314] __se_sys_io_submit+0x171/0x2e0 [ 72.214948][ T5314] do_syscall_64+0xf3/0x230 [ 72.216593][ T5314] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 72.219025][ T5314] [ 72.219025][ T5314] other info that might help us debug this: [ 72.219025][ T5314] [ 72.222719][ T5314] Possible unsafe locking scenario: [ 72.222719][ T5314] [ 72.225245][ T5314] CPU0 CPU1 [ 72.227188][ T5314] ---- ---- [ 72.229075][ T5314] lock(&tree->tree_lock/1); [ 72.230783][ T5314] lock(&HFSPLUS_I(inode)->extents_lock); [ 72.233930][ T5314] lock(&tree->tree_lock/1); [ 72.236664][ T5314] lock(&HFSPLUS_I(inode)->extents_lock); [ 72.238679][ T5314] [ 72.238679][ T5314] *** DEADLOCK *** [ 72.238679][ T5314] [ 72.241540][ T5314] 3 locks held by syz.0.0/5314: [ 72.243315][ T5314] #0: ffff888052edeb78 (&sb->s_type->i_mutex_key#19){+.+.}-{4:4}, at: generic_file_write_iter+0x82/0x310 [ 72.247367][ T5314] #1: ffff888052ede988 (&hip->extents_lock){+.+.}-{4:4}, at: hfsplus_file_extend+0x21b/0x1b70 [ 72.251123][ T5314] #2: ffff8880518ba0b0 (&tree->tree_lock/1){+.+.}-{4:4}, at: hfsplus_find_init+0x14a/0x1c0 [ 72.254606][ T5314] [ 72.254606][ T5314] stack backtrace: [ 72.256686][ T5314] CPU: 0 UID: 0 PID: 5314 Comm: syz.0.0 Not tainted 6.12.0-syzkaller-12128-gf788b5ef1ca9 #0 [ 72.260375][ T5314] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 72.264256][ T5314] Call Trace: [ 72.265476][ T5314] [ 72.266489][ T5314] dump_stack_lvl+0x241/0x360 [ 72.268191][ T5314] ? __pfx_dump_stack_lvl+0x10/0x10 [ 72.270159][ T5314] ? __pfx__printk+0x10/0x10 [ 72.271898][ T5314] print_circular_bug+0x13a/0x1b0 [ 72.273655][ T5314] check_noncircular+0x36a/0x4a0 [ 72.275458][ T5314] ? __pfx_check_noncircular+0x10/0x10 [ 72.277422][ T5314] ? lockdep_lock+0x123/0x2b0 [ 72.279119][ T5314] ? stack_trace_save+0x118/0x1d0 [ 72.280893][ T5314] ? unwind_next_frame+0x18e6/0x22d0 [ 72.282755][ T5314] ? deref_stack_reg+0x17c/0x210 [ 72.284484][ T5314] validate_chain+0x18ef/0x5920 [ 72.286346][ T5314] ? unwind_get_return_address+0x4d/0x90 [ 72.288342][ T5314] ? arch_stack_walk+0xfd/0x150 [ 72.289980][ T5314] ? __pfx_validate_chain+0x10/0x10 [ 72.291919][ T5314] ? stack_trace_save+0x118/0x1d0 [ 72.293736][ T5314] ? __pfx_stack_trace_save+0x10/0x10 [ 72.295593][ T5314] ? check_noncircular+0x259/0x4a0 [ 72.297390][ T5314] ? look_up_lock_class+0x77/0x170 [ 72.299240][ T5314] ? register_lock_class+0x102/0x980 [ 72.301227][ T5314] ? lockdep_unlock+0x16a/0x300 [ 72.303149][ T5314] ? __pfx_register_lock_class+0x10/0x10 [ 72.305012][ T5314] ? mark_lock+0x9a/0x360 [ 72.306572][ T5314] __lock_acquire+0x1397/0x2100 [ 72.308335][ T5314] lock_acquire+0x1ed/0x550 [ 72.310038][ T5314] ? hfsplus_file_extend+0x21b/0x1b70 [ 72.311886][ T5314] ? __pfx_lock_acquire+0x10/0x10 [ 72.313728][ T5314] ? __pfx___might_resched+0x10/0x10 [ 72.315663][ T5314] __mutex_lock+0x1ac/0xee0 [ 72.317228][ T5314] ? hfsplus_file_extend+0x21b/0x1b70 [ 72.319054][ T5314] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 72.321367][ T5314] ? mark_lock+0x9a/0x360 [ 72.322996][ T5314] ? hfsplus_file_extend+0x21b/0x1b70 [ 72.324914][ T5314] ? __pfx___mutex_lock+0x10/0x10 [ 72.326411][ T5314] hfsplus_file_extend+0x21b/0x1b70 [ 72.327921][ T5314] ? __pfx_hfsplus_file_extend+0x10/0x10 [ 72.329552][ T5314] ? __pfx___mutex_trylock_common+0x10/0x10 [ 72.331281][ T5314] ? rcu_is_watching+0x15/0xb0 [ 72.332739][ T5314] ? trace_contention_end+0x3c/0x120 [ 72.334524][ T5314] ? __mutex_lock+0x37f/0xee0 [ 72.336103][ T5314] ? hfsplus_brec_find+0x19d/0x570 [ 72.338038][ T5314] hfsplus_bmap_reserve+0x105/0x4e0 [ 72.340026][ T5314] __hfsplus_ext_write_extent+0x2a4/0x5c0 [ 72.342247][ T5314] __hfsplus_ext_cache_extent+0x84/0xe10 [ 72.344226][ T5314] hfsplus_file_extend+0x48c/0x1b70 [ 72.346214][ T5314] ? __pfx_hfsplus_file_extend+0x10/0x10 [ 72.348348][ T5314] ? clean_bdev_aliases+0x654/0x7e0 [ 72.350189][ T5314] ? __pfx_clean_bdev_aliases+0x10/0x10 [ 72.352283][ T5314] hfsplus_get_block+0x406/0x14f0 [ 72.354137][ T5314] ? __pfx_hfsplus_get_block+0x10/0x10 [ 72.356183][ T5314] ? create_empty_buffers+0x53e/0x740 [ 72.357983][ T5314] __block_write_begin_int+0x50c/0x1a70 [ 72.360049][ T5314] ? irqentry_exit+0x63/0x90 [ 72.361974][ T5314] ? __pfx_hfsplus_get_block+0x10/0x10 [ 72.364106][ T5314] ? __pfx___block_write_begin_int+0x10/0x10 [ 72.366361][ T5314] cont_write_begin+0x6e2/0x9d0 [ 72.368250][ T5314] ? __pfx_cont_write_begin+0x10/0x10 [ 72.370342][ T5314] ? __pfx_fault_in_readable+0x10/0x10 [ 72.372469][ T5314] ? __mark_inode_dirty+0x3db/0xe90 [ 72.374447][ T5314] hfsplus_write_begin+0x68/0xb0 [ 72.376479][ T5314] ? __pfx_hfsplus_get_block+0x10/0x10 [ 72.378175][ T5314] generic_perform_write+0x344/0x6d0 [ 72.379944][ T5314] ? __pfx_generic_perform_write+0x10/0x10 [ 72.382021][ T5314] ? file_update_time+0x2ab/0x450 [ 72.383759][ T5314] ? __generic_file_write_iter+0x102/0x230 [ 72.385759][ T5314] generic_file_write_iter+0xae/0x310 [ 72.387380][ T5314] aio_write+0x56b/0x7c0 [ 72.388801][ T5314] ? __pfx_aio_write+0x10/0x10 [ 72.390681][ T5314] ? __might_fault+0xaa/0x120 [ 72.392714][ T5314] ? __pfx_lock_release+0x10/0x10 [ 72.394749][ T5314] ? __fget_files+0x2a/0x410 [ 72.396323][ T5314] ? __might_fault+0xaa/0x120 [ 72.398000][ T5314] io_submit_one+0x8a7/0x18a0 [ 72.399906][ T5314] ? __pfx_io_submit_one+0x10/0x10 [ 72.401958][ T5314] ? __might_fault+0xaa/0x120 [ 72.403836][ T5314] ? __pfx_lock_release+0x10/0x10 [ 72.405918][ T5314] ? __might_fault+0xaa/0x120 [ 72.407758][ T5314] ? __might_fault+0xc6/0x120 [ 72.409591][ T5314] __se_sys_io_submit+0x171/0x2e0 [ 72.411610][ T5314] ? __pfx___se_sys_io_submit+0x10/0x10 [ 72.413880][ T5314] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 72.416431][ T5314] ? do_syscall_64+0x100/0x230 [ 72.418331][ T5314] ? do_syscall_64+0xb6/0x230 [ 72.420177][ T5314] do_syscall_64+0xf3/0x230 [ 72.421983][ T5314] ? clear_bhb_loop+0x35/0x90 [ 72.423678][ T5314] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 72.425916][ T5314] RIP: 0033:0x7f3561580849 [ 72.427547][ T5314] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 [ 72.434182][ T5314] RSP: 002b:00007f3562348058 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1 [ 72.437038][ T5314] RAX: ffffffffffffffda RBX: 00007f3561745fa0 RCX: 00007f3561580849 [ 72.439902][ T5314] RDX: 0000000020000540 RSI: 000000000000003b RDI: 00007f35622fe000 [ 72.442748][ T5314] RBP: 00007f35615f3986 R08: 0000000000000000 R09: 0000000000000000 [ 72.445607][ T5314] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 72.448334][ T5314] R13: 0000000000000000 R14: 00007f3561745fa0 R15: 00007ffcc6c52708 [ 72.451247][ T5314]