================================================================== BUG: KASAN: slab-out-of-bounds in tls_get_ctx include/net/tls.h:395 [inline] BUG: KASAN: slab-out-of-bounds in tls_sw_has_ctx_rx include/net/tls.h:427 [inline] BUG: KASAN: slab-out-of-bounds in ____sk_skb_adjust_room net/core/filter.c:3684 [inline] BUG: KASAN: slab-out-of-bounds in sk_skb_adjust_room+0x34e/0x610 net/core/filter.c:3661 Read of size 8 at addr ffff88810d26e348 by task syz.2.146/680 CPU: 0 PID: 680 Comm: syz.2.146 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:88 dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106 print_address_description+0x71/0x200 mm/kasan/report.c:316 print_report+0x4a/0x60 mm/kasan/report.c:420 kasan_report+0x122/0x150 mm/kasan/report.c:524 __asan_report_load8_noabort+0x14/0x20 mm/kasan/report_generic.c:351 tls_get_ctx include/net/tls.h:395 [inline] tls_sw_has_ctx_rx include/net/tls.h:427 [inline] ____sk_skb_adjust_room net/core/filter.c:3684 [inline] sk_skb_adjust_room+0x34e/0x610 net/core/filter.c:3661 bpf_prog_e15ab8bd9cea3c06+0x19/0x20 bpf_dispatcher_nop_func include/linux/bpf.h:987 [inline] __bpf_prog_run include/linux/filter.h:607 [inline] bpf_prog_run include/linux/filter.h:614 [inline] bpf_prog_run_pin_on_cpu include/linux/filter.h:631 [inline] sk_psock_verdict_recv+0x1c8/0x7b0 net/core/skmsg.c:1250 unix_stream_read_skb+0x12e/0x2f0 net/unix/af_unix.c:2754 sk_psock_verdict_data_ready+0xaf/0x1d0 net/core/skmsg.c:1268 unix_stream_sendmsg+0x631/0xa80 net/unix/af_unix.c:2250 sock_sendmsg_nosec net/socket.c:716 [inline] __sock_sendmsg net/socket.c:728 [inline] __sys_sendto+0x4ac/0x660 net/socket.c:2143 __do_sys_sendto net/socket.c:2155 [inline] __se_sys_sendto net/socket.c:2151 [inline] __x64_sys_sendto+0xe5/0x100 net/socket.c:2151 x64_sys_call+0x83/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:45 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fc68df9e199 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc68ee0c028 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fc68e225fa0 RCX: 00007fc68df9e199 RDX: 0000000000000001 RSI: 0000200000000800 RDI: 0000000000000004 RBP: 00007fc68e0350b8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc68e226038 R14: 00007fc68e225fa0 R15: 00007ffee3e760d8 The buggy address belongs to the object at ffff88810d26e300 which belongs to the cache UNIX-STREAM of size 1152 The buggy address is located 72 bytes inside of 1152-byte region [ffff88810d26e300, ffff88810d26e780) The buggy address belongs to the physical page: page:ffffea0004349b00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10d26c head:ffffea0004349b00 order:2 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head|zone=1) raw: 4000000000010200 0000000000000000 dead000000000122 ffff8881088ab680 raw: 0000000000000000 00000000800c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 275, tgid 275 (sshd-session), ts 21367697835, free_ts 21354382136 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f5/0x210 mm/page_alloc.c:2673 prep_new_page+0x1c/0x110 mm/page_alloc.c:2680 get_page_from_freelist+0x2ca9/0x2d20 mm/page_alloc.c:4587 __alloc_pages+0x1fa/0x610 mm/page_alloc.c:5931 alloc_slab_page+0x6e/0xf0 include/linux/gfp.h:-1 allocate_slab mm/slub.c:1967 [inline] new_slab+0x98/0x3e0 mm/slub.c:2020 ___slab_alloc+0x70f/0xb70 mm/slub.c:3177 __slab_alloc+0x5e/0xa0 mm/slub.c:3263 slab_alloc_node mm/slub.c:3348 [inline] slab_alloc mm/slub.c:3392 [inline] __kmem_cache_alloc_lru mm/slub.c:3399 [inline] kmem_cache_alloc+0x1a8/0x320 mm/slub.c:3408 sk_prot_alloc+0x5f/0x320 net/core/sock.c:2053 sk_alloc+0x3b/0x460 net/core/sock.c:2119 unix_create1+0xb8/0x710 net/unix/af_unix.c:-1 unix_create+0x149/0x200 net/unix/af_unix.c:1019 __sock_create+0x39e/0x7c0 net/socket.c:1540 sock_create net/socket.c:1596 [inline] __sys_socketpair+0x1a1/0x5b0 net/socket.c:1723 __do_sys_socketpair net/socket.c:1776 [inline] __se_sys_socketpair net/socket.c:1773 [inline] __x64_sys_socketpair+0x9b/0xb0 net/socket.c:1773 page last free stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] free_pages_prepare mm/page_alloc.c:1581 [inline] free_pcp_prepare mm/page_alloc.c:1655 [inline] free_unref_page_prepare+0x81b/0x820 mm/page_alloc.c:3622 free_unref_page+0x93/0x530 mm/page_alloc.c:3720 free_the_page mm/page_alloc.c:863 [inline] __free_pages+0x67/0x100 mm/page_alloc.c:6021 __free_slab+0xc7/0x1a0 mm/slub.c:2044 free_slab mm/slub.c:2059 [inline] discard_slab mm/slub.c:2065 [inline] __unfreeze_partials+0x15a/0x190 mm/slub.c:2614 put_cpu_partial+0xa9/0x100 mm/slub.c:2690 __slab_free+0x1c4/0x280 mm/slub.c:3589 do_slab_free mm/slub.c:3666 [inline] ___cache_free+0xbf/0xd0 mm/slub.c:3722 qlink_free mm/kasan/quarantine.c:168 [inline] qlist_free_all+0xc6/0x140 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x14a/0x170 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x24/0x80 mm/kasan/common.c:311 kasan_slab_alloc include/linux/kasan.h:202 [inline] slab_post_alloc_hook+0x4f/0x2d0 mm/slab.h:768 slab_alloc_node mm/slub.c:3382 [inline] slab_alloc mm/slub.c:3392 [inline] __kmem_cache_alloc_lru mm/slub.c:3399 [inline] kmem_cache_alloc+0x166/0x320 mm/slub.c:3408 getname_flags+0xba/0x510 fs/namei.c:139 vfs_fstatat fs/stat.c:266 [inline] __do_sys_newfstatat fs/stat.c:437 [inline] __se_sys_newfstatat+0x127/0x440 fs/stat.c:431 __x64_sys_newfstatat+0x9b/0xb0 fs/stat.c:431 Memory state around the buggy address: ffff88810d26e200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88810d26e280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88810d26e300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88810d26e380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88810d26e400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================