kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4148 [inline] slab_alloc_node mm/slub.c:4197 [inline] kmem_cache_alloc_noprof+0x1c1/0x3c0 mm/slub.c:4204 getname_flags+0xb8/0x540 fs/namei.c:146 getname include/linux/fs.h:2903 [inline] do_sys_openat2+0xbc/0x1c0 fs/open.c:1431 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1463 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f ------------[ cut here ]------------ kernel BUG at mm/filemap.c:3442! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 7603 Comm: syz.4.329 Not tainted 6.15.0-syzkaller-12293-g7fdaba912981 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:filemap_fault+0x117d/0x1200 mm/filemap.c:3442 Code: 38 c1 0f 8c 8e fc ff ff 4c 89 e7 e8 5d 5f 29 00 e9 81 fc ff ff e8 83 18 c8 ff 48 89 df 48 c7 c6 a0 2e 94 8b e8 c4 a7 0d 00 90 <0f> 0b e8 6c 18 c8 ff 48 8b 3c 24 48 c7 c6 20 35 94 8b e8 ac a7 0d RSP: 0018:ffffc9000420f360 EFLAGS: 00010246 RAX: 5c100e6a02e49f00 RBX: ffffea000149f580 RCX: 0000000000000000 RDX: 0000000000000006 RSI: ffffffff8d96929a RDI: 00000000ffffffff RBP: ffffc9000420f498 R08: ffffffff8f9fd6f7 R09: 1ffffffff1f3fade R10: dffffc0000000000 R11: fffffbfff1f3fadf R12: dffffc0000000000 R13: 1ffffd4000293eb1 R14: ffffea000149f598 R15: ffffea000149f588 FS: 00007f25875626c0(0000) GS:ffff888125d89000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000022000 CR3: 000000007908c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __do_fault+0x135/0x390 mm/memory.c:5189 do_read_fault mm/memory.c:5610 [inline] do_fault mm/memory.c:5744 [inline] do_pte_missing mm/memory.c:4251 [inline] handle_pte_fault mm/memory.c:6089 [inline] __handle_mm_fault+0x37ed/0x5620 mm/memory.c:6232 handle_mm_fault+0x2d5/0x7f0 mm/memory.c:6401 do_user_addr_fault+0x764/0x1390 arch/x86/mm/fault.c:1387 handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x76/0xf0 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:do_strncpy_from_user lib/strncpy_from_user.c:41 [inline] RIP: 0010:strncpy_from_user+0xb7/0x290 lib/strncpy_from_user.c:130 Code: 00 00 4c 89 f6 e8 09 6a d1 fc 49 83 fe 07 0f 86 9d 00 00 00 48 89 1c 24 4c 89 74 24 08 48 c7 c5 f8 ff ff ff 45 31 e4 4c 89 fb <4f> 8b 34 27 48 b8 ff fe fe fe fe fe fe fe 4d 8d 3c 06 4d 89 f5 49 RSP: 0018:ffffc9000420f910 EFLAGS: 00050246 RAX: ffffffff84eee5a7 RBX: 0000200000000480 RCX: ffff888032819e00 RDX: 0000000000000002 RSI: 0000000000000fe0 RDI: 0000000000000007 RBP: fffffffffffffff8 R08: ffff8880639642ff R09: 1ffff1100c72c85f R10: dffffc0000000000 R11: ffffed100c72c860 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000fe0 R15: 0000200000000480 getname_flags+0xf3/0x540 fs/namei.c:157 getname include/linux/fs.h:2903 [inline] __io_openat_prep io_uring/openclose.c:69 [inline] io_openat_prep+0x236/0x5a0 io_uring/openclose.c:94 io_init_req io_uring/io_uring.c:2131 [inline] io_submit_sqe io_uring/io_uring.c:2178 [inline] io_submit_sqes+0x90c/0x1c50 io_uring/io_uring.c:2329 __do_sys_io_uring_enter io_uring/io_uring.c:3396 [inline] __se_sys_io_uring_enter+0x2df/0x2b20 io_uring/io_uring.c:3330 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f258678e929 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:00007f2587562038 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f25869b6080 RCX: 00007f258678e929 RDX: 000000000000addf RSI: 0000000000003516 RDI: 000000000000000b RBP: 00007f2586810b39 R08: 0000000000000000 R09: 000000000001517f R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f25869b6080 R15: 00007ffff0d73fd8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:filemap_fault+0x117d/0x1200 mm/filemap.c:3442 Code: 38 c1 0f 8c 8e fc ff ff 4c 89 e7 e8 5d 5f 29 00 e9 81 fc ff ff e8 83 18 c8 ff 48 89 df 48 c7 c6 a0 2e 94 8b e8 c4 a7 0d 00 90 <0f> 0b e8 6c 18 c8 ff 48 8b 3c 24 48 c7 c6 20 35 94 8b e8 ac a7 0d RSP: 0018:ffffc9000420f360 EFLAGS: 00010246 RAX: 5c100e6a02e49f00 RBX: ffffea000149f580 RCX: 0000000000000000 RDX: 0000000000000006 RSI: ffffffff8d96929a RDI: 00000000ffffffff RBP: ffffc9000420f498 R08: ffffffff8f9fd6f7 R09: 1ffffffff1f3fade R10: dffffc0000000000 R11: fffffbfff1f3fadf R12: dffffc0000000000 R13: 1ffffd4000293eb1 R14: ffffea000149f598 R15: ffffea000149f588 FS: 00007f25875626c0(0000) GS:ffff888125d89000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000002a000 CR3: 000000007908c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 4c 89 f6 mov %r14,%rsi 5: e8 09 6a d1 fc call 0xfcd16a13 a: 49 83 fe 07 cmp $0x7,%r14 e: 0f 86 9d 00 00 00 jbe 0xb1 14: 48 89 1c 24 mov %rbx,(%rsp) 18: 4c 89 74 24 08 mov %r14,0x8(%rsp) 1d: 48 c7 c5 f8 ff ff ff mov $0xfffffffffffffff8,%rbp 24: 45 31 e4 xor %r12d,%r12d 27: 4c 89 fb mov %r15,%rbx * 2a: 4f 8b 34 27 mov (%r15,%r12,1),%r14 <-- trapping instruction 2e: 48 b8 ff fe fe fe fe movabs $0xfefefefefefefeff,%rax 35: fe fe fe 38: 4d 8d 3c 06 lea (%r14,%rax,1),%r15 3c: 4d 89 f5 mov %r14,%r13 3f: 49 rex.WB