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") r0 = bpf$PROG_LOAD_XDP(0x5, 0x0, 0x0) bpf$BPF_PROG_TEST_RUN(0xa, &(0x7f0000000140)={r0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x8000, 0x1}, 0x50) mknodat(0xffffffffffffff9c, &(0x7f0000000180)='./file5\x00', 0x1000, 0x2006fc) r1 = landlock_create_ruleset(&(0x7f0000000240)={0x1fff}, 0x10, 0x0) landlock_restrict_self(r1, 0x0) renameat2(0xffffffffffffff9c, &(0x7f0000000000)='./file0\x00', 0xffffffffffffff9c, &(0x7f00000005c0)='./file5\x00', 0x2) [ 78.401882][ T1304] ieee802154 phy0 wpan0: encryption failed: -22 [ 78.404466][ T1304] ieee802154 phy1 wpan1: encryption failed: -22 [ 78.408642][ T5319] Bluetooth: hci0: command tx timeout [ 78.535120][ T5333] loop0: detected capacity change from 0 to 2048 [ 78.576257][ T5333] NILFS (loop0): broken superblock, retrying with spare superblock (blocksize = 1024) [ 78.583850][ T5336] udevd[5336]: incorrect nilfs2 checksum on /dev/loop0 [ 78.596693][ T5337] NILFS (loop0): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds [ 78.612348][ T5333] ------------[ cut here ]------------ [ 78.614550][ T5333] WARNING: CPU: 0 PID: 5333 at security/landlock/fs.c:955 current_check_refer_path+0x80f/0xee0 [ 78.618558][ T5333] Modules linked in: [ 78.620113][ T5333] CPU: 0 UID: 0 PID: 5333 Comm: syz.0.0 Not tainted 6.12.0-syzkaller-03657-g43fb83c17ba2 #0 [ 78.624140][ T5333] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 78.628090][ T5333] RIP: 0010:current_check_refer_path+0x80f/0xee0 [ 78.630413][ T5333] Code: 89 44 24 20 eb 2f e8 20 6f 16 fd 66 b8 40 00 89 44 24 20 eb 20 e8 11 6f 16 fd 66 b8 00 10 89 44 24 20 eb 11 e8 02 6f 16 fd 90 <0f> 0b 90 c7 44 24 20 00 00 00 00 8b 44 24 28 84 c0 0f 84 d2 00 00 [ 78.637416][ T5333] RSP: 0018:ffffc9000d0ffa40 EFLAGS: 00010283 [ 78.639688][ T5333] RAX: ffffffff847e89ce RBX: 000000000000000f RCX: 0000000000100000 [ 78.642533][ T5333] RDX: ffffc9000e36a000 RSI: 00000000000004d8 RDI: 00000000000004d9 [ 78.645464][ T5333] RBP: ffffc9000d0ffbb8 R08: 0000000000000005 R09: ffffffff847e888e [ 78.648365][ T5333] R10: 0000000000000008 R11: ffff88801ee68000 R12: ffff8880432e3608 [ 78.651505][ T5333] R13: ffff888052a7aa00 R14: 1ffff1100865c74e R15: ffff8880432e3a70 [ 78.654785][ T5333] FS: 00007fa6a1cba6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 78.658856][ T5333] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 78.661939][ T5333] CR2: 00007fa6a112f4c8 CR3: 00000000403b6000 CR4: 0000000000352ef0 [ 78.664900][ T5333] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 78.667887][ T5333] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 78.671089][ T5333] Call Trace: [ 78.672381][ T5333] [ 78.673461][ T5333] ? __warn+0x168/0x4e0 [ 78.674941][ T5333] ? current_check_refer_path+0x80f/0xee0 [ 78.677216][ T5333] ? report_bug+0x2b3/0x500 [ 78.678984][ T5333] ? current_check_refer_path+0x80f/0xee0 [ 78.681328][ T5333] ? handle_bug+0x60/0x90 [ 78.682898][ T5333] ? exc_invalid_op+0x1a/0x50 [ 78.684541][ T5333] ? asm_exc_invalid_op+0x1a/0x20 [ 78.686481][ T5333] ? current_check_refer_path+0x6ce/0xee0 [ 78.688514][ T5333] ? current_check_refer_path+0x80e/0xee0 [ 78.690701][ T5333] ? current_check_refer_path+0x80f/0xee0 [ 78.692881][ T5333] ? __pfx_lock_release+0x10/0x10 [ 78.694819][ T5333] ? __pfx_current_check_refer_path+0x10/0x10 [ 78.697207][ T5333] ? __d_lookup+0x64/0x7b0 [ 78.698958][ T5333] security_path_rename+0x22a/0x4e0 [ 78.701180][ T5333] do_renameat2+0x94a/0x13f0 [ 78.703014][ T5333] ? __pfx_do_renameat2+0x10/0x10 [ 78.704915][ T5333] ? __might_fault+0xaa/0x120 [ 78.706780][ T5333] ? getname_flags+0x1e3/0x540 [ 78.708686][ T5333] ? do_syscall_64+0x100/0x230 [ 78.710483][ T5333] __x64_sys_renameat2+0xce/0xe0 [ 78.712577][ T5333] do_syscall_64+0xf3/0x230 [ 78.714400][ T5333] ? clear_bhb_loop+0x35/0x90 [ 78.716182][ T5333] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 78.718269][ T5333] RIP: 0033:0x7fa6a0f7e819 [ 78.719703][ 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 [ 78.726394][ T5333] RSP: 002b:00007fa6a1cba038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c [ 78.729325][ T5333] RAX: ffffffffffffffda RBX: 00007fa6a1135fa0 RCX: 00007fa6a0f7e819 [ 78.732323][ T5333] RDX: ffffffffffffff9c RSI: 0000000020000000 RDI: ffffffffffffff9c [ 78.735341][ T5333] RBP: 00007fa6a0ff175e R08: 0000000000000002 R09: 0000000000000000 [ 78.738149][ T5333] R10: 00000000200005c0 R11: 0000000000000246 R12: 0000000000000000 [ 78.741074][ T5333] R13: 0000000000000000 R14: 00007fa6a1135fa0 R15: 00007ffc0d6f3018 [ 78.744064][ T5333] [ 78.745281][ T5333] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 78.748077][ T5333] CPU: 0 UID: 0 PID: 5333 Comm: syz.0.0 Not tainted 6.12.0-syzkaller-03657-g43fb83c17ba2 #0 [ 78.751870][ T5333] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 78.755686][ T5333] Call Trace: [ 78.757004][ T5333] [ 78.758144][ T5333] dump_stack_lvl+0x241/0x360 [ 78.759901][ T5333] ? __pfx_dump_stack_lvl+0x10/0x10 [ 78.761900][ T5333] ? __pfx__printk+0x10/0x10 [ 78.763702][ T5333] ? vscnprintf+0x5d/0x90 [ 78.765398][ T5333] panic+0x349/0x880 [ 78.767014][ T5333] ? __warn+0x177/0x4e0 [ 78.768702][ T5333] ? __pfx_panic+0x10/0x10 [ 78.770372][ T5333] __warn+0x34b/0x4e0 [ 78.771896][ T5333] ? current_check_refer_path+0x80f/0xee0 [ 78.774000][ T5333] report_bug+0x2b3/0x500 [ 78.775546][ T5333] ? current_check_refer_path+0x80f/0xee0 [ 78.777707][ T5333] handle_bug+0x60/0x90 [ 78.779316][ T5333] exc_invalid_op+0x1a/0x50 [ 78.780976][ T5333] asm_exc_invalid_op+0x1a/0x20 [ 78.782804][ T5333] RIP: 0010:current_check_refer_path+0x80f/0xee0 [ 78.785100][ T5333] Code: 89 44 24 20 eb 2f e8 20 6f 16 fd 66 b8 40 00 89 44 24 20 eb 20 e8 11 6f 16 fd 66 b8 00 10 89 44 24 20 eb 11 e8 02 6f 16 fd 90 <0f> 0b 90 c7 44 24 20 00 00 00 00 8b 44 24 28 84 c0 0f 84 d2 00 00 [ 78.792087][ T5333] RSP: 0018:ffffc9000d0ffa40 EFLAGS: 00010283 [ 78.794466][ T5333] RAX: ffffffff847e89ce RBX: 000000000000000f RCX: 0000000000100000 [ 78.797529][ T5333] RDX: ffffc9000e36a000 RSI: 00000000000004d8 RDI: 00000000000004d9 [ 78.800657][ T5333] RBP: ffffc9000d0ffbb8 R08: 0000000000000005 R09: ffffffff847e888e [ 78.803718][ T5333] R10: 0000000000000008 R11: ffff88801ee68000 R12: ffff8880432e3608 [ 78.806678][ T5333] R13: ffff888052a7aa00 R14: 1ffff1100865c74e R15: ffff8880432e3a70 [ 78.809680][ T5333] ? current_check_refer_path+0x6ce/0xee0 [ 78.811867][ T5333] ? current_check_refer_path+0x80e/0xee0 [ 78.814127][ T5333] ? __pfx_lock_release+0x10/0x10 [ 78.816037][ T5333] ? __pfx_current_check_refer_path+0x10/0x10 [ 78.818446][ T5333] ? __d_lookup+0x64/0x7b0 [ 78.820152][ T5333] security_path_rename+0x22a/0x4e0 [ 78.822094][ T5333] do_renameat2+0x94a/0x13f0 [ 78.823803][ T5333] ? __pfx_do_renameat2+0x10/0x10 [ 78.825675][ T5333] ? __might_fault+0xaa/0x120 [ 78.827440][ T5333] ? getname_flags+0x1e3/0x540 [ 78.829224][ T5333] ? do_syscall_64+0x100/0x230 [ 78.830999][ T5333] __x64_sys_renameat2+0xce/0xe0 [ 78.832975][ T5333] do_syscall_64+0xf3/0x230 [ 78.834784][ T5333] ? clear_bhb_loop+0x35/0x90 [ 78.836653][ T5333] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 78.838922][ T5333] RIP: 0033:0x7fa6a0f7e819 [ 78.840647][ 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 [ 78.847884][ T5333] RSP: 002b:00007fa6a1cba038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c [ 78.851095][ T5333] RAX: ffffffffffffffda RBX: 00007fa6a1135fa0 RCX: 00007fa6a0f7e819 [ 78.854167][ T5333] RDX: ffffffffffffff9c RSI: 0000000020000000 RDI: ffffffffffffff9c [ 78.857139][ T5333] RBP: 00007fa6a0ff175e R08: 0000000000000002 R09: 0000000000000000 [ 78.860308][ T5333] R10: 00000000200005c0 R11: 0000000000000246 R12: 0000000000000000 [ 78.863334][ T5333] R13: 0000000000000000 R14: 00007fa6a1135fa0 R15: 00007ffc0d6f3018 [ 78.866328][ T5333] [ 78.867789][ T5333] Kernel Offset: disabled [ 78.869510][ T5333] Rebooting in 86400 seconds..