program:
syz_mount_image$nilfs2(&(0x7f0000000a40), &(0x7f0000000040)='./file1\x00', 0x10, &(0x7f0000000480)=ANY=[], 0x5, 0xa80, &(0x7f00000016c0)="$eJzs3UuMFMcBANDq2Z2FxWAGZ4k3mNgQJ8b5eNcsG/JBSbDMJchYuVmyckEYOyhAomApwfIBOPkWWxa55nvyxfnIUrhEyKdcLMVIufjk5JBDEJEs5ZCYwEbMVs2ndmZ7Ztlldnbek3pqqqt6qrqnu6enP1UBGFmV+uv8/HQRwuUrbx7552P/mAzhylQzR63+Ot4Sq4YQihgfzz7vw7HF8NZHr57oFBZhrv6a4uHZG41p7wshXAh7wtVQC7suX3vjvblnjl08emnv+28dur42cw8AAKPlO1cPze/8218e2vHx2w8fDpsa49PxeS3Gt8bj/sPxwD8d/1dCe7xoGVpNZPnG41DJ8o11yNdaTjXLN96l/Insc6td8m0qKX+sZVyn+YZhltbjWigqM23xSmVmZvE/eaj/r58oZs6eOv3iuQFVFFh1/34khLDH0M8wmRbeOqiLYdWGi6P4nS5sH+TeB6Apv164xIX8zMLdaXzaeG/l33iq0nl6WAX3ev1X/nCV/5uL9jisno26NqX5StvR1hhvuY5wJnS4fynf/hbyD862//R5+fWIao/17HYdYViuL3Sr51j3SfbtWKvKrEC3+ufrxUb1jRim5fDNLL11+8m/02W+Y2AI/GdjnP9/bVsYeB0MhqEblhzfLiO/VwbY2PL75hailJ7f15enbypJ31ySPlmSvqUt19L0+0qmh1H2h5d/Gl4vmv/z8//0/Z4PT+fZtsXw/j7rk5+P7Lf8iWVi96J8x0gMkz8ef+7kV194/tri/f9FY/2/Hdf3PTFei1vT1ZghnS/Mz6s37v2vtZdT6ZLvgaw+2zrkr7+fas9XTDU/J7TsZ5bUY7p9uu3d8u1uz1fL8k3GYXNW3/z4ZEs2XTr+SPvVtLzGs/mtZvMxkdUj7VfSufO8HrASaX3sdv9/Wj+nQ7V48dTpk0/GeFpP/zxW3XRn/P7yon672nUH7k6vz/9Mh/bnf7Y2xlcrrfu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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMDCV+uv8/HQRwuUrbx557tip2TtjvtXIUau/jrfEqo3pQngyhmMx/EV8c+ujV0+0hrdjWIS5UISiMT48e6NR0n0hhAthT7gaamHX5WtvvDf3zLGLRy/tff+tQ9fXbgkAAADAxvf/AAAA//8Vph0L")
r0 = landlock_create_ruleset(&(0x7f0000000240)={0x1fff}, 0x10, 0x0)
landlock_restrict_self(r0, 0x0)
renameat2(0xffffffffffffff9c, &(0x7f0000000780)='./file3\x00', 0xffffffffffffff9c, &(0x7f00000007c0)='./file0\x00', 0x2)
[ 59.359722][ T5317] Bluetooth: hci0: command tx timeout
[ 59.390065][ T5332] loop0: detected capacity change from 0 to 2048
[ 59.407381][ T5332] NILFS (loop0): broken superblock, retrying with spare superblock (blocksize = 1024)
[ 59.415523][ T5311] udevd[5311]: incorrect nilfs2 checksum on /dev/loop0
[ 59.431326][ T5334] NILFS (loop0): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds
[ 59.447643][ T5332] ------------[ cut here ]------------
[ 59.450003][ T5332] WARNING: CPU: 0 PID: 5332 at security/landlock/fs.c:955 current_check_refer_path+0xc35/0xee0
[ 59.453851][ T5332] Modules linked in:
[ 59.455408][ T5332] CPU: 0 UID: 0 PID: 5332 Comm: syz.0.0 Not tainted 6.12.0-syzkaller-10553-gb86545e02e8c #0
[ 59.459185][ T5332] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
[ 59.463157][ T5332] RIP: 0010:current_check_refer_path+0xc35/0xee0
[ 59.465561][ T5332] Code: e8 b0 5c 15 fd 66 b8 40 00 89 44 24 18 e9 58 fa ff ff e8 9e 5c 15 fd 66 b8 00 10 89 44 24 18 e9 46 fa ff ff e8 8c 5c 15 fd 90 <0f> 0b 90 c7 44 24 18 00 00 00 00 e9 30 fa ff ff e8 76 5c 15 fd eb
[ 59.472706][ T5332] RSP: 0018:ffffc9000d457a40 EFLAGS: 00010287
[ 59.474938][ T5332] RAX: ffffffff848087f4 RBX: 000000000000000f RCX: 0000000000100000
[ 59.477756][ T5332] RDX: ffffc9000e3da000 RSI: 0000000000000f52 RDI: 0000000000000f53
[ 59.480955][ T5332] RBP: ffffc9000d457bb8 R08: 0000000000000005 R09: ffffffff848081e2
[ 59.484145][ T5332] R10: 0000000000000008 R11: ffff88801e26c880 R12: ffff88803f4ff490
[ 59.487084][ T5332] R13: ffff888052baaa00 R14: 1ffff11002561bac R15: ffff888012b0dd60
[ 59.490155][ T5332] FS: 00007f626cdfe6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
[ 59.493427][ T5332] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 59.495978][ T5332] CR2: 00007f626d5360e8 CR3: 0000000043f60000 CR4: 0000000000352ef0
[ 59.499445][ T5332] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 59.502420][ T5332] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 59.505313][ T5332] Call Trace:
[ 59.506590][ T5332]
[ 59.507721][ T5332] ? __warn+0x168/0x4e0
[ 59.509329][ T5332] ? current_check_refer_path+0xc35/0xee0
[ 59.511652][ T5332] ? report_bug+0x2b3/0x500
[ 59.513377][ T5332] ? current_check_refer_path+0xc35/0xee0
[ 59.515493][ T5332] ? handle_bug+0x60/0x90
[ 59.517127][ T5332] ? exc_invalid_op+0x1a/0x50
[ 59.519335][ T5332] ? asm_exc_invalid_op+0x1a/0x20
[ 59.521256][ T5332] ? current_check_refer_path+0x622/0xee0
[ 59.523411][ T5332] ? current_check_refer_path+0xc34/0xee0
[ 59.525522][ T5332] ? current_check_refer_path+0xc35/0xee0
[ 59.527687][ T5332] ? __pfx_current_check_refer_path+0x10/0x10
[ 59.530020][ T5332] ? _raw_spin_unlock+0x28/0x50
[ 59.531953][ T5332] ? nilfs_lookup+0x1a3/0x210
[ 59.533690][ T5332] ? __pfx_nilfs_lookup+0x10/0x10
[ 59.535612][ T5332] ? _raw_spin_unlock+0x28/0x50
[ 59.537317][ T5332] security_path_rename+0x22a/0x4e0
[ 59.539352][ T5332] do_renameat2+0x94a/0x13f0
[ 59.541184][ T5332] ? __pfx_do_renameat2+0x10/0x10
[ 59.543141][ T5332] ? __virt_addr_valid+0x183/0x530
[ 59.545048][ T5332] ? __check_object_size+0x48e/0x900
[ 59.547101][ T5332] ? getname_flags+0x1e3/0x540
[ 59.548953][ T5332] ? do_syscall_64+0x100/0x230
[ 59.550757][ T5332] __x64_sys_renameat2+0xce/0xe0
[ 59.552568][ T5332] do_syscall_64+0xf3/0x230
[ 59.554236][ T5332] ? clear_bhb_loop+0x35/0x90
[ 59.556014][ T5332] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 59.558077][ T5332] RIP: 0033:0x7f626d380809
[ 59.559770][ T5332] 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
[ 59.566783][ T5332] RSP: 002b:00007f626cdfe058 EFLAGS: 00000246 ORIG_RAX: 000000000000013c
[ 59.569969][ T5332] RAX: ffffffffffffffda RBX: 00007f626d545fa0 RCX: 00007f626d380809
[ 59.572475][ T5332] RDX: ffffffffffffff9c RSI: 0000000020000780 RDI: ffffffffffffff9c
[ 59.575257][ T5332] RBP: 00007f626d3f393e R08: 0000000000000002 R09: 0000000000000000
[ 59.578029][ T5332] R10: 00000000200007c0 R11: 0000000000000246 R12: 0000000000000000
[ 59.580860][ T5332] R13: 0000000000000000 R14: 00007f626d545fa0 R15: 00007ffc02203f08
[ 59.583607][ T5332]
[ 59.584686][ T5332] Kernel panic - not syncing: kernel: panic_on_warn set ...
[ 59.587246][ T5332] CPU: 0 UID: 0 PID: 5332 Comm: syz.0.0 Not tainted 6.12.0-syzkaller-10553-gb86545e02e8c #0
[ 59.591318][ T5332] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
[ 59.595201][ T5332] Call Trace:
[ 59.596454][ T5332]
[ 59.597531][ T5332] dump_stack_lvl+0x241/0x360
[ 59.599343][ T5332] ? __pfx_dump_stack_lvl+0x10/0x10
[ 59.601255][ T5332] ? __pfx__printk+0x10/0x10
[ 59.603037][ T5332] ? vscnprintf+0x5d/0x90
[ 59.604668][ T5332] panic+0x349/0x880
[ 59.606154][ T5332] ? __warn+0x177/0x4e0
[ 59.607779][ T5332] ? __pfx_panic+0x10/0x10
[ 59.609522][ T5332] __warn+0x34b/0x4e0
[ 59.611011][ T5332] ? current_check_refer_path+0xc35/0xee0
[ 59.613167][ T5332] report_bug+0x2b3/0x500
[ 59.614744][ T5332] ? current_check_refer_path+0xc35/0xee0
[ 59.616936][ T5332] handle_bug+0x60/0x90
[ 59.618538][ T5332] exc_invalid_op+0x1a/0x50
[ 59.620361][ T5332] asm_exc_invalid_op+0x1a/0x20
[ 59.622232][ T5332] RIP: 0010:current_check_refer_path+0xc35/0xee0
[ 59.624658][ T5332] Code: e8 b0 5c 15 fd 66 b8 40 00 89 44 24 18 e9 58 fa ff ff e8 9e 5c 15 fd 66 b8 00 10 89 44 24 18 e9 46 fa ff ff e8 8c 5c 15 fd 90 <0f> 0b 90 c7 44 24 18 00 00 00 00 e9 30 fa ff ff e8 76 5c 15 fd eb
[ 59.631912][ T5332] RSP: 0018:ffffc9000d457a40 EFLAGS: 00010287
[ 59.634254][ T5332] RAX: ffffffff848087f4 RBX: 000000000000000f RCX: 0000000000100000
[ 59.637214][ T5332] RDX: ffffc9000e3da000 RSI: 0000000000000f52 RDI: 0000000000000f53
[ 59.640125][ T5332] RBP: ffffc9000d457bb8 R08: 0000000000000005 R09: ffffffff848081e2
[ 59.643150][ T5332] R10: 0000000000000008 R11: ffff88801e26c880 R12: ffff88803f4ff490
[ 59.645983][ T5332] R13: ffff888052baaa00 R14: 1ffff11002561bac R15: ffff888012b0dd60
[ 59.648710][ T5332] ? current_check_refer_path+0x622/0xee0
[ 59.650911][ T5332] ? current_check_refer_path+0xc34/0xee0
[ 59.653002][ T5332] ? __pfx_current_check_refer_path+0x10/0x10
[ 59.655296][ T5332] ? _raw_spin_unlock+0x28/0x50
[ 59.657130][ T5332] ? nilfs_lookup+0x1a3/0x210
[ 59.658872][ T5332] ? __pfx_nilfs_lookup+0x10/0x10
[ 59.660619][ T5332] ? _raw_spin_unlock+0x28/0x50
[ 59.662391][ T5332] security_path_rename+0x22a/0x4e0
[ 59.664527][ T5332] do_renameat2+0x94a/0x13f0
[ 59.666601][ T5332] ? __pfx_do_renameat2+0x10/0x10
[ 59.668926][ T5332] ? __virt_addr_valid+0x183/0x530
[ 59.671204][ T5332] ? __check_object_size+0x48e/0x900
[ 59.673120][ T5332] ? getname_flags+0x1e3/0x540
[ 59.674942][ T5332] ? do_syscall_64+0x100/0x230
[ 59.676763][ T5332] __x64_sys_renameat2+0xce/0xe0
[ 59.678761][ T5332] do_syscall_64+0xf3/0x230
[ 59.680581][ T5332] ? clear_bhb_loop+0x35/0x90
[ 59.682348][ T5332] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 59.684577][ T5332] RIP: 0033:0x7f626d380809
[ 59.686282][ T5332] 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
[ 59.693209][ T5332] RSP: 002b:00007f626cdfe058 EFLAGS: 00000246 ORIG_RAX: 000000000000013c
[ 59.696270][ T5332] RAX: ffffffffffffffda RBX: 00007f626d545fa0 RCX: 00007f626d380809
[ 59.699157][ T5332] RDX: ffffffffffffff9c RSI: 0000000020000780 RDI: ffffffffffffff9c
[ 59.702157][ T5332] RBP: 00007f626d3f393e R08: 0000000000000002 R09: 0000000000000000
[ 59.705065][ T5332] R10: 00000000200007c0 R11: 0000000000000246 R12: 0000000000000000
[ 59.708074][ T5332] R13: 0000000000000000 R14: 00007f626d545fa0 R15: 00007ffc02203f08
[ 59.710928][ T5332]
[ 59.712377][ T5332] Kernel Offset: disabled
[ 59.714102][ T5332] Rebooting in 86400 seconds..