program:
syz_mount_image$nilfs2(&(0x7f0000000a40), &(0x7f0000000200)='./file0\x00', 0x8, &(0x7f0000000480)=ANY=[], 0x5, 0xa68, &(0x7f0000001b40)="$eJzs3UuMHEfdAPCa2Z31M/E43/rL4pjEJpCER3bj9WIeFuAovmDFEbdIERfLdoKFYxCOBI5ysH3iRqLIXHmEUy7hoUj4gqycuEQilrjkFDhwwDIiEgeIsRd5tmp29r8z6Vl7vbO78/tJPTXVVd1VPdPd09OPqgQMrXrrdWZmopbSxUuvH/r7I3/blNKl8fkczdbraEeskVKq5fhomN8HI3PhjQ9fOdYtrKXp1muJp2eutafdklI6l3any6mZdl688tq7008fOX/4wp733jxw9e4sPQAADJdvXT4ws+Mvf3pg+0dvPXgwbWiPL8fnzRzfmo/7D+YD/3L8X08L47WOodNYyDeah3rIN9IlX2c5jZBvtEf5Y2G+jR75NlSUP9Ixrttyw1pW1uNmqtUnF8Tr9cnJuf/kqfW/fqw2efrkqefPDKiiwLL710Mppd0Gw9AP51sbxODrsaLD7LZB74EA5sTrhYuci2cW7kx7bqP9lX/tyXr36WEZrPT6r/y1Vf6vztvjsHzW69pUlqtsR1tzPF5HiPcvxe1vNs44bP9lfvF6RKPPeva6jrBWri/0qufICtfjdvWqf1wv1quv5bB8Dl8P6Z3bT/xO18p3DHT3b+f/DYahHRYd3wJk8b652aykx/v6YvqGivSNFembKtI3L8i1OH1LxfQwzH730k/Sq7X5//nxP33P8+BFOB9WzrPdk8N7l1ifeD5yqefjxz4mthLlx/uJYTX7/dFnT3z5+HNX5u7/r7XX/5t5fd+d4828NV3OGcr5wnhevX3vf3NhOfUe+e4L9bmnS/7W+/GF+Wrj8/NJHfuZRfWYWDjdtl75di3M1wz5NuVhY6hvPD7ZHKYrxx9lv1o+r9GwvI2wHGOhHmW/sj2HsR5wO8r62Ov+/7J+TqRG7fmTp048keNlPf3jSGPDrfF7q4v69XLXHbgz/T7/M5EWPv+ztT2+Ue/cL2ybH1/r3C80w/jpHuP35Xj5nfvOy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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAVafeep2ZmaildPHS64eePXJy6taYb7RzNFuvox2xRnu6lJ7I4UgOf57f3PjwlWOd4c0c1tJ0qqVae3x65lq7pC0ppXNpd7qcmmnnxSuvvTv99JHzhy/see/NA1fv3icAAAAA69//AgAA///snhpF")
bpf$BPF_PROG_TEST_RUN(0xa, 0x0, 0x0)
mknodat(0xffffffffffffff9c, &(0x7f0000000180)='./file5\x00', 0x1000, 0x2006fc)
r0 = landlock_create_ruleset(&(0x7f0000000240)={0x1fff}, 0x10, 0x0)
landlock_restrict_self(r0, 0x0)
renameat2(0xffffffffffffff9c, &(0x7f0000000000)='./file0\x00', 0xffffffffffffff9c, &(0x7f00000005c0)='./file5\x00', 0x2)
[ 70.475426][ T5319] Bluetooth: hci0: command tx timeout
[ 70.620904][ T5333] loop0: detected capacity change from 0 to 2048
[ 70.660483][ T5333] NILFS (loop0): broken superblock, retrying with spare superblock (blocksize = 1024)
[ 70.666317][ T5335] udevd[5335]: incorrect nilfs2 checksum on /dev/loop0
[ 70.682092][ T5336] NILFS (loop0): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds
[ 70.697417][ T5333] ------------[ cut here ]------------
[ 70.699631][ T5333] WARNING: CPU: 0 PID: 5333 at security/landlock/fs.c:955 current_check_refer_path+0x80f/0xee0
[ 70.703856][ T5333] Modules linked in:
[ 70.705407][ T5333] CPU: 0 UID: 0 PID: 5333 Comm: syz.0.0 Not tainted 6.12.0-syzkaller-07749-g28eb75e178d3 #0
[ 70.709260][ T5333] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
[ 70.713908][ T5333] RIP: 0010:current_check_refer_path+0x80f/0xee0
[ 70.716692][ T5333] Code: 89 44 24 20 eb 2f e8 80 59 20 fd 66 b8 40 00 89 44 24 20 eb 20 e8 71 59 20 fd 66 b8 00 10 89 44 24 20 eb 11 e8 62 59 20 fd 90 <0f> 0b 90 c7 44 24 20 00 00 00 00 8b 44 24 28 84 c0 0f 84 d2 00 00
[ 70.725214][ T5333] RSP: 0018:ffffc9000d25fa40 EFLAGS: 00010283
[ 70.728045][ T5333] RAX: ffffffff8474f31e RBX: 000000000000000f RCX: 0000000000100000
[ 70.731982][ T5333] RDX: ffffc9000e462000 RSI: 00000000000004d8 RDI: 00000000000004d9
[ 70.734915][ T5333] RBP: ffffc9000d25fbb8 R08: 0000000000000005 R09: ffffffff8474f1de
[ 70.737603][ T5333] R10: 0000000000000008 R11: ffff8880361f8000 R12: ffff8880510b3490
[ 70.740227][ T5333] R13: ffff888052bbaa00 R14: 1ffff1100a2166f0 R15: ffff8880510b3780
[ 70.743008][ T5333] FS: 00007f843d55f6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
[ 70.746319][ T5333] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 70.748690][ T5333] CR2: 00007f843c92a878 CR3: 0000000042d00000 CR4: 0000000000352ef0
[ 70.751635][ T5333] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 70.754298][ T5333] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 70.756884][ T5333] Call Trace:
[ 70.758188][ T5333]
[ 70.759291][ T5333] ? __warn+0x168/0x4e0
[ 70.760999][ T5333] ? current_check_refer_path+0x80f/0xee0
[ 70.763056][ T5333] ? report_bug+0x2b3/0x500
[ 70.764722][ T5333] ? current_check_refer_path+0x80f/0xee0
[ 70.766717][ T5333] ? handle_bug+0x60/0x90
[ 70.768704][ T5333] ? exc_invalid_op+0x1a/0x50
[ 70.770599][ T5333] ? asm_exc_invalid_op+0x1a/0x20
[ 70.772593][ T5333] ? current_check_refer_path+0x6ce/0xee0
[ 70.774617][ T5333] ? current_check_refer_path+0x80e/0xee0
[ 70.776653][ T5333] ? current_check_refer_path+0x80f/0xee0
[ 70.778721][ T5333] ? __pfx_lock_release+0x10/0x10
[ 70.780844][ T5333] ? __pfx_current_check_refer_path+0x10/0x10
[ 70.783141][ T5333] ? __d_lookup+0x64/0x7b0
[ 70.784865][ T5333] security_path_rename+0x22a/0x4e0
[ 70.786896][ T5333] do_renameat2+0x94a/0x13f0
[ 70.788656][ T5333] ? __pfx_do_renameat2+0x10/0x10
[ 70.790802][ T5333] ? __might_fault+0xaa/0x120
[ 70.792626][ T5333] ? getname_flags+0x1e3/0x540
[ 70.794447][ T5333] ? do_syscall_64+0x100/0x230
[ 70.796305][ T5333] __x64_sys_renameat2+0xce/0xe0
[ 70.798234][ T5333] do_syscall_64+0xf3/0x230
[ 70.800028][ T5333] ? clear_bhb_loop+0x35/0x90
[ 70.801943][ T5333] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 70.804273][ T5333] RIP: 0033:0x7f843c77e819
[ 70.806070][ T5333] 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
[ 70.814265][ T5333] RSP: 002b:00007f843d55f038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c
[ 70.817464][ T5333] RAX: ffffffffffffffda RBX: 00007f843c935fa0 RCX: 00007f843c77e819
[ 70.820514][ T5333] RDX: ffffffffffffff9c RSI: 0000000020000000 RDI: ffffffffffffff9c
[ 70.823635][ T5333] RBP: 00007f843c7f175e R08: 0000000000000002 R09: 0000000000000000
[ 70.826683][ T5333] R10: 00000000200005c0 R11: 0000000000000246 R12: 0000000000000000
[ 70.829701][ T5333] R13: 0000000000000000 R14: 00007f843c935fa0 R15: 00007ffd6a409a28
[ 70.832892][ T5333]
[ 70.834108][ T5333] Kernel panic - not syncing: kernel: panic_on_warn set ...
[ 70.836921][ T5333] CPU: 0 UID: 0 PID: 5333 Comm: syz.0.0 Not tainted 6.12.0-syzkaller-07749-g28eb75e178d3 #0
[ 70.840679][ T5333] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
[ 70.844714][ T5333] Call Trace:
[ 70.845979][ T5333]
[ 70.847107][ T5333] dump_stack_lvl+0x241/0x360
[ 70.848858][ T5333] ? __pfx_dump_stack_lvl+0x10/0x10
[ 70.850808][ T5333] ? __pfx__printk+0x10/0x10
[ 70.852526][ T5333] ? vscnprintf+0x5d/0x90
[ 70.854144][ T5333] panic+0x349/0x880
[ 70.855656][ T5333] ? __warn+0x177/0x4e0
[ 70.857195][ T5333] ? __pfx_panic+0x10/0x10
[ 70.858818][ T5333] __warn+0x34b/0x4e0
[ 70.860287][ T5333] ? current_check_refer_path+0x80f/0xee0
[ 70.862366][ T5333] report_bug+0x2b3/0x500
[ 70.864065][ T5333] ? current_check_refer_path+0x80f/0xee0
[ 70.866155][ T5333] handle_bug+0x60/0x90
[ 70.867759][ T5333] exc_invalid_op+0x1a/0x50
[ 70.869422][ T5333] asm_exc_invalid_op+0x1a/0x20
[ 70.871232][ T5333] RIP: 0010:current_check_refer_path+0x80f/0xee0
[ 70.873646][ T5333] Code: 89 44 24 20 eb 2f e8 80 59 20 fd 66 b8 40 00 89 44 24 20 eb 20 e8 71 59 20 fd 66 b8 00 10 89 44 24 20 eb 11 e8 62 59 20 fd 90 <0f> 0b 90 c7 44 24 20 00 00 00 00 8b 44 24 28 84 c0 0f 84 d2 00 00
[ 70.880924][ T5333] RSP: 0018:ffffc9000d25fa40 EFLAGS: 00010283
[ 70.883229][ T5333] RAX: ffffffff8474f31e RBX: 000000000000000f RCX: 0000000000100000
[ 70.886223][ T5333] RDX: ffffc9000e462000 RSI: 00000000000004d8 RDI: 00000000000004d9
[ 70.889216][ T5333] RBP: ffffc9000d25fbb8 R08: 0000000000000005 R09: ffffffff8474f1de
[ 70.892209][ T5333] R10: 0000000000000008 R11: ffff8880361f8000 R12: ffff8880510b3490
[ 70.895180][ T5333] R13: ffff888052bbaa00 R14: 1ffff1100a2166f0 R15: ffff8880510b3780
[ 70.898099][ T5333] ? current_check_refer_path+0x6ce/0xee0
[ 70.900254][ T5333] ? current_check_refer_path+0x80e/0xee0
[ 70.902460][ T5333] ? __pfx_lock_release+0x10/0x10
[ 70.904321][ T5333] ? __pfx_current_check_refer_path+0x10/0x10
[ 70.906569][ T5333] ? __d_lookup+0x64/0x7b0
[ 70.908417][ T5333] security_path_rename+0x22a/0x4e0
[ 70.910563][ T5333] do_renameat2+0x94a/0x13f0
[ 70.912625][ T5333] ? __pfx_do_renameat2+0x10/0x10
[ 70.914886][ T5333] ? __might_fault+0xaa/0x120
[ 70.916898][ T5333] ? getname_flags+0x1e3/0x540
[ 70.918704][ T5333] ? do_syscall_64+0x100/0x230
[ 70.920381][ T5333] __x64_sys_renameat2+0xce/0xe0
[ 70.922205][ T5333] do_syscall_64+0xf3/0x230
[ 70.923989][ T5333] ? clear_bhb_loop+0x35/0x90
[ 70.925683][ T5333] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 70.927740][ T5333] RIP: 0033:0x7f843c77e819
[ 70.929182][ T5333] 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
[ 70.935429][ T5333] RSP: 002b:00007f843d55f038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c
[ 70.938231][ T5333] RAX: ffffffffffffffda RBX: 00007f843c935fa0 RCX: 00007f843c77e819
[ 70.941235][ T5333] RDX: ffffffffffffff9c RSI: 0000000020000000 RDI: ffffffffffffff9c
[ 70.944317][ T5333] RBP: 00007f843c7f175e R08: 0000000000000002 R09: 0000000000000000
[ 70.947298][ T5333] R10: 00000000200005c0 R11: 0000000000000246 R12: 0000000000000000
[ 70.950225][ T5333] R13: 0000000000000000 R14: 00007f843c935fa0 R15: 00007ffd6a409a28
[ 70.953305][ T5333]
[ 70.954730][ T5333] Kernel Offset: disabled
[ 70.956393][ T5333] Rebooting in 86400 seconds..