syz.5.380: attempt to access beyond end of device loop5: rw=0, sector=6491536, nr_sectors = 2 limit=128 Buffer I/O error on dev loop5, logical block 3245768, async page read BUG: unable to handle page fault for address: ffffed1018001639 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 23ffee067 P4D 23ffee067 PUD 13fff7067 PMD 0 Oops: Oops: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 1 UID: 0 PID: 10270 Comm: syz.5.380 Not tainted 6.12.0-rc6-syzkaller-00169-g906bd684e4b1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:sysv_new_inode+0x325/0x1160 fs/sysv/ialloc.c:153 Code: 00 00 00 00 fc ff df 80 3c 08 00 74 08 4c 89 e7 e8 b0 ce 37 ff 4d 03 3c 24 4c 89 f8 48 c1 e8 03 49 bc 00 00 00 00 00 fc ff df <42> 0f b6 04 20 84 c0 0f 85 7d 0c 00 00 41 0f b7 1f 31 ff 89 de e8 RSP: 0018:ffffc9000b5f7600 EFLAGS: 00010a07 RAX: 1ffff11018001639 RBX: ffff888067428040 RCX: dffffc0000000000 RDX: ffffc9000d39c000 RSI: 0000000000006932 RDI: 0000000000006933 RBP: ffffc9000b5f78e8 R08: ffffffff82c3ac6e R09: 1ffffffff2037bad R10: dffffc0000000000 R11: fffffbfff2037bae R12: dffffc0000000000 R13: 000000000000861a R14: ffff888070e06638 R15: ffff8880c000b1ce FS: 00007f5f7284a6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed1018001639 CR3: 00000000299e0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sysv_mknod+0x4e/0xe0 fs/sysv/namei.c:53 lookup_open fs/namei.c:3595 [inline] open_last_lookups fs/namei.c:3694 [inline] path_openat+0x1c03/0x3590 fs/namei.c:3930 do_filp_open+0x235/0x490 fs/namei.c:3960 do_sys_openat2+0x13e/0x1d0 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_openat fs/open.c:1446 [inline] __se_sys_openat fs/open.c:1441 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1441 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5f7197e719 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 RSP: 002b:00007f5f7284a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f5f71b35f80 RCX: 00007f5f7197e719 RDX: 0000000000000042 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f5f719f139e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5f71b35f80 R15: 00007fff80908cd8 Modules linked in: CR2: ffffed1018001639 ---[ end trace 0000000000000000 ]--- RIP: 0010:sysv_new_inode+0x325/0x1160 fs/sysv/ialloc.c:153 Code: 00 00 00 00 fc ff df 80 3c 08 00 74 08 4c 89 e7 e8 b0 ce 37 ff 4d 03 3c 24 4c 89 f8 48 c1 e8 03 49 bc 00 00 00 00 00 fc ff df <42> 0f b6 04 20 84 c0 0f 85 7d 0c 00 00 41 0f b7 1f 31 ff 89 de e8 RSP: 0018:ffffc9000b5f7600 EFLAGS: 00010a07 RAX: 1ffff11018001639 RBX: ffff888067428040 RCX: dffffc0000000000 RDX: ffffc9000d39c000 RSI: 0000000000006932 RDI: 0000000000006933 RBP: ffffc9000b5f78e8 R08: ffffffff82c3ac6e R09: 1ffffffff2037bad R10: dffffc0000000000 R11: fffffbfff2037bae R12: dffffc0000000000 R13: 000000000000861a R14: ffff888070e06638 R15: ffff8880c000b1ce FS: 00007f5f7284a6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed1018001639 CR3: 00000000299e0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 6 bytes skipped: 0: df 80 3c 08 00 74 filds 0x7400083c(%rax) 6: 08 4c 89 e7 or %cl,-0x19(%rcx,%rcx,4) a: e8 b0 ce 37 ff call 0xff37cebf f: 4d 03 3c 24 add (%r12),%r15 13: 4c 89 f8 mov %r15,%rax 16: 48 c1 e8 03 shr $0x3,%rax 1a: 49 bc 00 00 00 00 00 movabs $0xdffffc0000000000,%r12 21: fc ff df * 24: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax <-- trapping instruction 29: 84 c0 test %al,%al 2b: 0f 85 7d 0c 00 00 jne 0xcae 31: 41 0f b7 1f movzwl (%r15),%ebx 35: 31 ff xor %edi,%edi 37: 89 de mov %ebx,%esi 39: e8 .byte 0xe8