================================================================== BUG: KASAN: use-after-free in __crypto_shash_import+0x241/0x290 crypto/shash.c:263 Write of size 1 at addr ffff888155a6f347 by task syz.0.209/6485 CPU: 1 UID: 0 PID: 6485 Comm: syz.0.209 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 lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:408 [inline] print_report+0xcd/0x680 mm/kasan/report.c:521 kasan_report+0xe0/0x110 mm/kasan/report.c:634 __crypto_shash_import+0x241/0x290 crypto/shash.c:263 crypto_shash_import+0x88/0x260 crypto/shash.c:286 crypto_ahash_import+0xcd/0x2a0 crypto/ahash.c:681 hash_accept+0x33c/0x3d0 crypto/algif_hash.c:267 do_accept+0x33e/0x530 net/socket.c:1924 __sys_accept4_file net/socket.c:1964 [inline] __sys_accept4+0x100/0x1c0 net/socket.c:1993 __do_sys_accept4 net/socket.c:2000 [inline] __se_sys_accept4 net/socket.c:1997 [inline] __x64_sys_accept4+0x96/0x100 net/socket.c:1997 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9e12f8e969 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:00007f9e13e8d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000120 RAX: ffffffffffffffda RBX: 00007f9e131b5fa0 RCX: 00007f9e12f8e969 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f9e13010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000800 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f9e131b5fa0 R15: 00007fffc747b0f8 The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x155a6f flags: 0x57ff00000000000(node=1|zone=2|lastcpupid=0x7ff) raw: 057ff00000000000 ffffea0005569bc8 ffffea0005569bc8 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: ffff888155a6f200: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888155a6f280: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff888155a6f300: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff888155a6f380: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888155a6f400: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================