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/jpHuP35Xj5nfvOyK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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAVafeep2ZmaildPHS64eePXJy6taYb7RzNFuvox2xRnu6lJ7I4UgOf57f3PjwlWOd4c0c1tJ0qqVae3x65lq7pC0ppXNpd7qcmmnnxSuvvTv99JHzhy/see/NA1fv3icAAAAA69//AgAA///snhpF") mknodat(0xffffffffffffff9c, &(0x7f0000000180)='./file5\x00', 0x8000, 0x80000001) r0 = landlock_create_ruleset(&(0x7f0000000240)={0x1fff}, 0x10, 0x0) landlock_restrict_self(r0, 0x0) renameat2(0xffffffffffffff9c, &(0x7f0000000000)='./file0\x00', 0xffffffffffffff9c, &(0x7f00000005c0)='./file5\x00', 0x2) [ 68.752898][ T4677] Bluetooth: hci0: command tx timeout [ 68.823799][ T5330] loop0: detected capacity change from 0 to 2048 [ 68.839074][ T5330] NILFS (loop0): broken superblock, retrying with spare superblock (blocksize = 1024) [ 68.846079][ T5311] udevd[5311]: incorrect nilfs2 checksum on /dev/loop0 [ 68.861674][ T5332] NILFS (loop0): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds [ 68.877759][ T5330] ------------[ cut here ]------------ [ 68.879862][ T5330] WARNING: CPU: 0 PID: 5330 at security/landlock/fs.c:955 current_check_refer_path+0x80f/0xee0 [ 68.883934][ T5330] Modules linked in: [ 68.885358][ T5330] CPU: 0 UID: 0 PID: 5330 Comm: syz.0.0 Not tainted 6.12.0-syzkaller-07749-g28eb75e178d3 #0 [ 68.889120][ T5330] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 68.893562][ T5330] RIP: 0010:current_check_refer_path+0x80f/0xee0 [ 68.896072][ T5330] 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 [ 68.903491][ T5330] RSP: 0018:ffffc9000d25fa40 EFLAGS: 00010287 [ 68.905842][ T5330] RAX: ffffffff8474f31e RBX: 000000000000000f RCX: 0000000000100000 [ 68.908925][ T5330] RDX: ffffc9000eb72000 RSI: 00000000000004da RDI: 00000000000004db [ 68.911991][ T5330] RBP: ffffc9000d25fbb8 R08: 0000000000000005 R09: ffffffff8474f1de [ 68.915264][ T5330] R10: 0000000000000008 R11: ffff888000ffa440 R12: ffff888043e6ea48 [ 68.918218][ T5330] R13: ffff88801245ea00 R14: 1ffff110087cde34 R15: ffff888043e6f1a0 [ 68.921484][ T5330] FS: 00007f6e2023b6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 68.925029][ T5330] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 68.928125][ T5330] CR2: 00007f6e1f52a878 CR3: 0000000052d70000 CR4: 0000000000352ef0 [ 68.931257][ T5330] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 68.934352][ T5330] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 68.937313][ T5330] Call Trace: [ 68.938573][ T5330] [ 68.939648][ T5330] ? __warn+0x168/0x4e0 [ 68.941290][ T5330] ? current_check_refer_path+0x80f/0xee0 [ 68.943531][ T5330] ? report_bug+0x2b3/0x500 [ 68.945285][ T5330] ? current_check_refer_path+0x80f/0xee0 [ 68.947436][ T5330] ? handle_bug+0x60/0x90 [ 68.949027][ T5330] ? exc_invalid_op+0x1a/0x50 [ 68.950891][ T5330] ? asm_exc_invalid_op+0x1a/0x20 [ 68.953017][ T5330] ? current_check_refer_path+0x6ce/0xee0 [ 68.955201][ T5330] ? current_check_refer_path+0x80e/0xee0 [ 68.957248][ T5330] ? current_check_refer_path+0x80f/0xee0 [ 68.959350][ T5330] ? __pfx_lock_release+0x10/0x10 [ 68.961245][ T5330] ? __pfx_current_check_refer_path+0x10/0x10 [ 68.963649][ T5330] ? __d_lookup+0x64/0x7b0 [ 68.965395][ T5330] security_path_rename+0x22a/0x4e0 [ 68.967527][ T5330] do_renameat2+0x94a/0x13f0 [ 68.969308][ T5330] ? __pfx_do_renameat2+0x10/0x10 [ 68.971299][ T5330] ? __might_fault+0xaa/0x120 [ 68.973289][ T5330] ? getname_flags+0x1e3/0x540 [ 68.975270][ T5330] ? do_syscall_64+0x100/0x230 [ 68.977115][ T5330] __x64_sys_renameat2+0xce/0xe0 [ 68.979022][ T5330] do_syscall_64+0xf3/0x230 [ 68.980766][ T5330] ? clear_bhb_loop+0x35/0x90 [ 68.982678][ T5330] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 68.984892][ T5330] RIP: 0033:0x7f6e1f37e819 [ 68.986611][ T5330] 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 [ 68.993901][ T5330] RSP: 002b:00007f6e2023b038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c [ 68.996891][ T5330] RAX: ffffffffffffffda RBX: 00007f6e1f535fa0 RCX: 00007f6e1f37e819 [ 68.999981][ T5330] RDX: ffffffffffffff9c RSI: 0000000020000000 RDI: ffffffffffffff9c [ 69.003190][ T5330] RBP: 00007f6e1f3f175e R08: 0000000000000002 R09: 0000000000000000 [ 69.006033][ T5330] R10: 00000000200005c0 R11: 0000000000000246 R12: 0000000000000000 [ 69.008912][ T5330] R13: 0000000000000000 R14: 00007f6e1f535fa0 R15: 00007ffc752ec238 [ 69.011952][ T5330] [ 69.013291][ T5330] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 69.015998][ T5330] CPU: 0 UID: 0 PID: 5330 Comm: syz.0.0 Not tainted 6.12.0-syzkaller-07749-g28eb75e178d3 #0 [ 69.019638][ T5330] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 69.023636][ T5330] Call Trace: [ 69.024869][ T5330] [ 69.025913][ T5330] dump_stack_lvl+0x241/0x360 [ 69.027679][ T5330] ? __pfx_dump_stack_lvl+0x10/0x10 [ 69.029705][ T5330] ? __pfx__printk+0x10/0x10 [ 69.031510][ T5330] ? vscnprintf+0x5d/0x90 [ 69.033219][ T5330] panic+0x349/0x880 [ 69.034708][ T5330] ? __warn+0x177/0x4e0 [ 69.036249][ T5330] ? __pfx_panic+0x10/0x10 [ 69.037950][ T5330] __warn+0x34b/0x4e0 [ 69.039500][ T5330] ? current_check_refer_path+0x80f/0xee0 [ 69.041643][ T5330] report_bug+0x2b3/0x500 [ 69.043320][ T5330] ? current_check_refer_path+0x80f/0xee0 [ 69.045432][ T5330] handle_bug+0x60/0x90 [ 69.047084][ T5330] exc_invalid_op+0x1a/0x50 [ 69.048956][ T5330] asm_exc_invalid_op+0x1a/0x20 [ 69.050833][ T5330] RIP: 0010:current_check_refer_path+0x80f/0xee0 [ 69.053180][ T5330] 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 [ 69.060481][ T5330] RSP: 0018:ffffc9000d25fa40 EFLAGS: 00010287 [ 69.062962][ T5330] RAX: ffffffff8474f31e RBX: 000000000000000f RCX: 0000000000100000 [ 69.065824][ T5330] RDX: ffffc9000eb72000 RSI: 00000000000004da RDI: 00000000000004db [ 69.068956][ T5330] RBP: ffffc9000d25fbb8 R08: 0000000000000005 R09: ffffffff8474f1de [ 69.071723][ T5330] R10: 0000000000000008 R11: ffff888000ffa440 R12: ffff888043e6ea48 [ 69.074587][ T5330] R13: ffff88801245ea00 R14: 1ffff110087cde34 R15: ffff888043e6f1a0 [ 69.077562][ T5330] ? current_check_refer_path+0x6ce/0xee0 [ 69.079516][ T5330] ? current_check_refer_path+0x80e/0xee0 [ 69.081388][ T5330] ? __pfx_lock_release+0x10/0x10 [ 69.083274][ T5330] ? __pfx_current_check_refer_path+0x10/0x10 [ 69.085588][ T5330] ? __d_lookup+0x64/0x7b0 [ 69.087417][ T5330] security_path_rename+0x22a/0x4e0 [ 69.089482][ T5330] do_renameat2+0x94a/0x13f0 [ 69.091221][ T5330] ? __pfx_do_renameat2+0x10/0x10 [ 69.093190][ T5330] ? __might_fault+0xaa/0x120 [ 69.095158][ T5330] ? getname_flags+0x1e3/0x540 [ 69.097069][ T5330] ? do_syscall_64+0x100/0x230 [ 69.098917][ T5330] __x64_sys_renameat2+0xce/0xe0 [ 69.100728][ T5330] do_syscall_64+0xf3/0x230 [ 69.102492][ T5330] ? clear_bhb_loop+0x35/0x90 [ 69.104336][ T5330] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 69.106735][ T5330] RIP: 0033:0x7f6e1f37e819 [ 69.108365][ T5330] 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 [ 69.116388][ T5330] RSP: 002b:00007f6e2023b038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c [ 69.119883][ T5330] RAX: ffffffffffffffda RBX: 00007f6e1f535fa0 RCX: 00007f6e1f37e819 [ 69.122910][ T5330] RDX: ffffffffffffff9c RSI: 0000000020000000 RDI: ffffffffffffff9c [ 69.125954][ T5330] RBP: 00007f6e1f3f175e R08: 0000000000000002 R09: 0000000000000000 [ 69.129039][ T5330] R10: 00000000200005c0 R11: 0000000000000246 R12: 0000000000000000 [ 69.132152][ T5330] R13: 0000000000000000 R14: 00007f6e1f535fa0 R15: 00007ffc752ec238 [ 69.135175][ T5330] [ 69.136518][ T5330] Kernel Offset: disabled [ 69.138201][ T5330] Rebooting in 86400 seconds..