================================================================== BUG: KASAN: use-after-free in __crypto_shash_import+0x26a/0x2a0 crypto/shash.c:263 Write of size 1 at addr ffff888154fecb47 by task syz.7.3692/16615 CPU: 1 UID: 0 PID: 16615 Comm: syz.7.3692 Not tainted 6.15.0-syzkaller-01972-g914873bc7df9 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:408 [inline] print_report+0xd2/0x2b0 mm/kasan/report.c:521 kasan_report+0x118/0x150 mm/kasan/report.c:634 __crypto_shash_import+0x26a/0x2a0 crypto/shash.c:263 crypto_shash_import+0x84/0x230 crypto/shash.c:286 hash_accept+0x1fb/0x280 crypto/algif_hash.c:267 do_accept+0x48c/0x680 net/socket.c:1924 __sys_accept4_file net/socket.c:1964 [inline] __sys_accept4+0x11c/0x1c0 net/socket.c:1993 __do_sys_accept4 net/socket.c:2000 [inline] __se_sys_accept4 net/socket.c:1997 [inline] __x64_sys_accept4+0x9a/0xb0 net/socket.c:1997 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x220 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff8eed8e969 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:00007ff8efccf038 EFLAGS: 00000246 ORIG_RAX: 0000000000000120 RAX: ffffffffffffffda RBX: 00007ff8eefb5fa0 RCX: 00007ff8eed8e969 RDX: 0000000000000000 RSI: 0000200000000140 RDI: 0000000000000004 RBP: 00007ff8eee10ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000800 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff8eefb5fa0 R15: 00007ffe4f9f9118 The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x154fec flags: 0x57ff00000000000(node=1|zone=2|lastcpupid=0x7ff) raw: 057ff00000000000 ffffea000553fb08 ffffea000553fb08 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner info is not present (never set?) Memory state around the buggy address: ffff888154feca00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888154feca80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff888154fecb00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff888154fecb80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888154fecc00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================