program: r0 = socket$netlink(0x10, 0x3, 0x14) unshare(0x22020600) syz_mount_image$nilfs2(&(0x7f0000005980), &(0x7f0000000300)='./file1\x00', 0x0, &(0x7f00000002c0)=ANY=[], 0x1, 0xaca, &(0x7f0000000e00)="$eJzs3U2MW0cBAOB53vUmm6TEKQld0tAmFNry002zWcJPBEmVCImoqRCXShWXKE1LRAgSRQKqSiQ5caNVFSRO/IhTL1VBSPSCop64VKKRKqSeCgcOREFU4gCBxFXsGa89sfvs/bHX6++TxuN5855n3vPz8/udCcDEqjReFxfnihAuv/7y8X88+PfZ20OOtMaoNV6n21LVEEIR09PZ57071YxvvvfC6W5xERYarykdnrjemnZrCOFC2BuuhFrYffnqS28uPH7y4olL+9565fC1tZl7AACYLF+/cnhx11//fO+OG6/edzRsag1P++e1mN4W9/uPxh3/tP9fCZ3poi20m8nGm46hMts53lSX8RrlTHcfb7pH+TNZ+dUe420KH1z+VNuwbvMN4yytx7VQVOY70pXK/HzzmDw0jutnivnzZ88989yIKgqsun/fH0LY2xaOXepMr2VIG5tBpjmyFnUpmv/razy/9WEt140Wjg6vrBv1ppHP85BCfftotz8ASX698A4X8jMLK9P6tOn+yr/+WKX79LAKhr3+D1T+zIjLD8r/zUVbHFbPRl2b0nyl39G2mE7/3ukepvz+pd6/v/xKR+fQ/HpEtc969rqOMC7XF3rVc2rI9ViuXvXP14uN6ssxTsvhK1l+++8n/07H5TsGuvtPfv5fEDrC3nVQB6EjhI50dSWfVR/x9gdYv/L75urp+miU39eX528qyd9ckj9bkr+lJH9rST5Mst99/6fhxWLpOD8/ph/0fHg6z3ZXjD80YH3y85GDlp/f9zuolZaf308M69kfTj155gtPP3W1ef9/0Vr/b8X1PR1u1OJv60ocIZ0vzM+rt+79r3WWU+kx3t1Zfe7qMn7j/c7O8YqdS58T2rYzd9RjrnO67b3G29M5Xi0bbzaGzVl98/2TLdl0af8jbVfT8prO5reazcdMVo+0XdkR47wesBxpfex1/39aP+dCtXjm7Lkzj8Z0Wk//NFX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4c02, &(0x7f00000000c0)={0x0, {}, 0x0, {}, 0x40010001, 0x2, 0xa, 0x1d, "9e959f16b6787b08aa26e66c4056a51695284854c382ec6bcfeef4fb0efcc1d8a6078ed98e203fd5f0643902dd8f6fac274de9d940bba5e51e92bbd4ce85450d", "f625c1076e4c36c800def96015e0fb7e904d865c2fdc458ec58d347f41be5a08", [0x4, 0x7]}) r2 = syz_open_procfs$namespace(0x0, &(0x7f0000000140)='ns/mnt\x00') unlink(&(0x7f0000000580)='./file1\x00') setns(r2, 0x0) close_range(r0, 0xffffffffffffffff, 0x0) [ 71.612563][ T5095] Bluetooth: hci0: command tx timeout [ 72.807654][ T5110] loop0: detected capacity change from 0 to 2048 [ 72.885787][ T5112] NILFS (loop0): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds [ 73.011510][ T5110] loop0: detected capacity change from 2048 to 0 [ 73.022639][ T5110] syz.0.0: attempt to access beyond end of device [ 73.022639][ T5110] loop0: rw=0, sector=102, nr_sectors = 2 limit=0 [ 73.027201][ T5110] NILFS (loop0): I/O error reading b-tree node block (ino=3, blocknr=51) [ 73.054153][ T5110] ------------[ cut here ]------------ [ 73.056155][ T5110] kernel BUG at fs/nilfs2/dir.c:544! [ 73.057887][ T5110] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 73.060253][ T5110] CPU: 0 UID: 0 PID: 5110 Comm: syz.0.0 Not tainted 6.11.0-syzkaller-11993-g3efc57369a0c #0 [ 73.063947][ T5110] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 73.068058][ T5110] RIP: 0010:nilfs_delete_entry+0x359/0x360 [ 73.070385][ T5110] Code: e8 dc d9 88 fe eb b9 44 89 f9 80 e1 07 fe c1 38 c1 0f 8c 10 ff ff ff 4c 89 ff e8 92 d9 88 fe e9 03 ff ff ff e8 08 26 1f fe 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 [ 73.077511][ T5110] RSP: 0000:ffffc90002e0fb18 EFLAGS: 00010287 [ 73.079745][ T5110] RAX: ffffffff8375c018 RBX: 0000000000000068 RCX: 0000000000040000 [ 73.082776][ T5110] RDX: ffffc9000b561000 RSI: 0000000000001508 RDI: 0000000000001509 [ 73.085826][ T5110] RBP: 00000000fffffffb R08: ffffffff8375bede R09: 1ffff110025c5c3a [ 73.088950][ T5110] R10: dffffc0000000000 R11: ffffed10025c5c3b R12: ffffea00012e30c0 [ 73.092015][ T5110] R13: ffff88804b8c3050 R14: 0000000000000038 R15: ffff88804b8c3038 [ 73.094954][ T5110] FS: 00007fed6dec76c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 73.098220][ T5110] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 73.100643][ T5110] CR2: 0000557c9f12c1d8 CR3: 000000001fd5e000 CR4: 0000000000352ef0 [ 73.103738][ T5110] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 73.106806][ T5110] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 73.109846][ T5110] Call Trace: [ 73.111091][ T5110] [ 73.112200][ T5110] ? __die_body+0x5f/0xb0 [ 73.113835][ T5110] ? die+0x9e/0xc0 [ 73.115288][ T5110] ? do_trap+0x15a/0x3a0 [ 73.116950][ T5110] ? nilfs_delete_entry+0x359/0x360 [ 73.119009][ T5110] ? do_error_trap+0x1dc/0x2c0 [ 73.120845][ T5110] ? nilfs_delete_entry+0x359/0x360 [ 73.122800][ T5110] ? __pfx_do_error_trap+0x10/0x10 [ 73.124679][ T5110] ? handle_invalid_op+0x34/0x40 [ 73.126528][ T5110] ? nilfs_delete_entry+0x359/0x360 [ 73.128420][ T5110] ? exc_invalid_op+0x38/0x50 [ 73.130189][ T5110] ? asm_exc_invalid_op+0x1a/0x20 [ 73.132135][ T5110] ? nilfs_delete_entry+0x21e/0x360 [ 73.134128][ T5110] ? nilfs_delete_entry+0x358/0x360 [ 73.136095][ T5110] ? nilfs_delete_entry+0x359/0x360 [ 73.138130][ T5110] ? nilfs_delete_entry+0x358/0x360 [ 73.140043][ T5110] nilfs_do_unlink+0x205/0x430 [ 73.141782][ T5110] ? __pfx_nilfs_do_unlink+0x10/0x10 [ 73.143810][ T5110] ? nilfs_transaction_begin+0x4fd/0x6e0 [ 73.145999][ T5110] nilfs_unlink+0xed/0x1d0 [ 73.147675][ T5110] ? __pfx_nilfs_unlink+0x10/0x10 [ 73.149592][ T5110] ? down_write+0x18c/0x220 [ 73.151284][ T5110] ? bpf_lsm_inode_unlink+0x9/0x10 [ 73.153215][ T5110] ? security_inode_unlink+0xd9/0x340 [ 73.155251][ T5110] vfs_unlink+0x365/0x650 [ 73.156931][ T5110] do_unlinkat+0x4ae/0x830 [ 73.158528][ T5110] ? __pfx_do_unlinkat+0x10/0x10 [ 73.160245][ T5110] ? __might_fault+0xaa/0x120 [ 73.161860][ T5110] ? __might_fault+0xc6/0x120 [ 73.163657][ T5110] ? strncpy_from_user+0x131/0x250 [ 73.165633][ T5110] ? getname_flags+0x1e3/0x540 [ 73.167523][ T5110] __x64_sys_unlink+0x47/0x50 [ 73.169382][ T5110] do_syscall_64+0xf3/0x230 [ 73.171181][ T5110] ? clear_bhb_loop+0x35/0x90 [ 73.172952][ T5110] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 73.175215][ T5110] RIP: 0033:0x7fed6d17dff9 [ 73.176903][ T5110] 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 [ 73.183775][ T5110] RSP: 002b:00007fed6dec7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 [ 73.186646][ T5110] RAX: ffffffffffffffda RBX: 00007fed6d335f80 RCX: 00007fed6d17dff9 [ 73.189340][ T5110] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000580 [ 73.192046][ T5110] RBP: 00007fed6d1f0296 R08: 0000000000000000 R09: 0000000000000000 [ 73.194712][ T5110] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 73.197305][ T5110] R13: 0000000000000000 R14: 00007fed6d335f80 R15: 00007fff6107cfe8 [ 73.200235][ T5110] [ 73.201427][ T5110] Modules linked in: [ 73.203843][ T5110] ---[ end trace 0000000000000000 ]--- [ 73.377499][ T5110] RIP: 0010:nilfs_delete_entry+0x359/0x360 [ 73.381465][ T5110] Code: e8 dc d9 88 fe eb b9 44 89 f9 80 e1 07 fe c1 38 c1 0f 8c 10 ff ff ff 4c 89 ff e8 92 d9 88 fe e9 03 ff ff ff e8 08 26 1f fe 90 <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 [ 73.397788][ T5110] RSP: 0000:ffffc90002e0fb18 EFLAGS: 00010287 [ 73.402372][ T5110] RAX: ffffffff8375c018 RBX: 0000000000000068 RCX: 0000000000040000 [ 73.408745][ T5110] RDX: ffffc9000b561000 RSI: 0000000000001508 RDI: 0000000000001509 [ 73.414303][ T5110] RBP: 00000000fffffffb R08: ffffffff8375bede R09: 1ffff110025c5c3a [ 73.420499][ T5110] R10: dffffc0000000000 R11: ffffed10025c5c3b R12: ffffea00012e30c0 [ 73.426734][ T5110] R13: ffff88804b8c3050 R14: 0000000000000038 R15: ffff88804b8c3038 [ 73.432977][ T5110] FS: 00007fed6dec76c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 73.439678][ T5110] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 73.445561][ T5110] CR2: 0000557c9f24c9a8 CR3: 000000001fd5e000 CR4: 0000000000352ef0 [ 73.451367][ T5110] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 73.457857][ T5110] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 73.464704][ T5110] Kernel panic - not syncing: Fatal exception [ 73.467132][ T5110] Kernel Offset: disabled [ 73.468751][ T5110] Rebooting in 86400 seconds..