================================================================== BUG: KASAN: slab-out-of-bounds in tls_get_ctx include/net/tls.h:385 [inline] BUG: KASAN: slab-out-of-bounds in tls_sw_has_ctx_rx include/net/tls.h:417 [inline] BUG: KASAN: slab-out-of-bounds in ____sk_skb_adjust_room net/core/filter.c:3688 [inline] BUG: KASAN: slab-out-of-bounds in sk_skb_adjust_room+0x371/0x5f0 net/core/filter.c:3665 Read of size 8 at addr ffff88802592a790 by task syz.2.143/4860 CPU: 0 PID: 4860 Comm: syz.2.143 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 print_address_description mm/kasan/report.c:316 [inline] print_report+0xa8/0x210 mm/kasan/report.c:420 kasan_report+0x10b/0x140 mm/kasan/report.c:524 tls_get_ctx include/net/tls.h:385 [inline] tls_sw_has_ctx_rx include/net/tls.h:417 [inline] ____sk_skb_adjust_room net/core/filter.c:3688 [inline] sk_skb_adjust_room+0x371/0x5f0 net/core/filter.c:3665 bpf_prog_e15ab8bd9cea3c06+0x19/0x20 bpf_dispatcher_nop_func include/linux/bpf.h:1013 [inline] __bpf_prog_run include/linux/filter.h:608 [inline] bpf_prog_run include/linux/filter.h:615 [inline] bpf_prog_run_pin_on_cpu+0x64/0x150 include/linux/filter.h:632 sk_psock_verdict_recv+0x279/0x8c0 net/core/skmsg.c:1256 unix_stream_read_skb+0x12a/0x2f0 net/unix/af_unix.c:2774 sk_psock_verdict_data_ready+0xa0/0x380 net/core/skmsg.c:1274 unix_stream_sendmsg+0x61f/0xa70 net/unix/af_unix.c:2258 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] __sys_sendto+0x497/0x650 net/socket.c:2153 __do_sys_sendto net/socket.c:2165 [inline] __se_sys_sendto net/socket.c:2161 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2161 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:0x7f8d36f9e199 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:00007f8d37e0c028 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f8d37225fa0 RCX: 00007f8d36f9e199 RDX: 0000000000000001 RSI: 0000200000000800 RDI: 0000000000000004 RBP: 00007f8d370350b8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8d37226038 R14: 00007f8d37225fa0 R15: 00007ffeadbfd208 Allocated by task 4860: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 __kasan_slab_alloc+0x6b/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x4b/0x490 mm/slab.h:737 slab_alloc_node mm/slub.c:3359 [inline] slab_alloc mm/slub.c:3367 [inline] __kmem_cache_alloc_lru mm/slub.c:3374 [inline] kmem_cache_alloc+0x18b/0x2f0 mm/slub.c:3383 sk_prot_alloc+0x57/0x210 net/core/sock.c:2050 sk_alloc+0x36/0x330 net/core/sock.c:2112 unix_create1+0xb3/0x710 net/unix/af_unix.c:-1 unix_create+0x139/0x1f0 net/unix/af_unix.c:1017 __sock_create+0x49a/0x940 net/socket.c:1550 sock_create net/socket.c:1606 [inline] __sys_socketpair+0x232/0x540 net/socket.c:1737 __do_sys_socketpair net/socket.c:1786 [inline] __se_sys_socketpair net/socket.c:1783 [inline] __x64_sys_socketpair+0x97/0xb0 net/socket.c:1783 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 The buggy address belongs to the object at ffff88802592a000 which belongs to the cache UNIX-STREAM of size 1920 The buggy address is located 16 bytes to the right of 1920-byte region [ffff88802592a000, ffff88802592a780) The buggy address belongs to the physical page: page:ffffea0000964a00 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88802592c000 pfn:0x25928 head:ffffea0000964a00 order:3 compound_mapcount:0 compound_pincount:0 memcg:ffff88802710c001 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 0000000000000000 dead000000000122 ffff888018b96500 raw: ffff88802592c000 000000008010000c 00000001ffffffff ffff88802710c001 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 4126, tgid 4126 (sshd-session), ts 63724632624, free_ts 63716832103 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2560 prep_new_page mm/page_alloc.c:2567 [inline] get_page_from_freelist+0x206b/0x2180 mm/page_alloc.c:4358 __alloc_pages+0x1ec/0x4f0 mm/page_alloc.c:5658 alloc_slab_page+0x5d/0x180 mm/slub.c:1799 allocate_slab mm/slub.c:1944 [inline] new_slab+0x87/0x2d0 mm/slub.c:1997 ___slab_alloc+0xbc5/0x1240 mm/slub.c:3154 __slab_alloc mm/slub.c:3240 [inline] slab_alloc_node mm/slub.c:3325 [inline] slab_alloc mm/slub.c:3367 [inline] __kmem_cache_alloc_lru mm/slub.c:3374 [inline] kmem_cache_alloc+0x111/0x2f0 mm/slub.c:3383 sk_prot_alloc+0x57/0x210 net/core/sock.c:2050 sk_alloc+0x36/0x330 net/core/sock.c:2112 unix_create1+0xb3/0x710 net/unix/af_unix.c:-1 unix_create+0x139/0x1f0 net/unix/af_unix.c:1017 __sock_create+0x49a/0x940 net/socket.c:1550 sock_create net/socket.c:1606 [inline] __sys_socket_create net/socket.c:1643 [inline] __sys_socket+0xc4/0x190 net/socket.c:1671 __do_sys_socket net/socket.c:1684 [inline] __se_sys_socket net/socket.c:1682 [inline] __x64_sys_socket+0x76/0x80 net/socket.c:1682 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 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1487 [inline] free_pcp_prepare mm/page_alloc.c:1537 [inline] free_unref_page_prepare+0x8e5/0x9e0 mm/page_alloc.c:3414 free_unref_page+0x2e/0x3f0 mm/page_alloc.c:3509 folio_put include/linux/mm.h:1182 [inline] put_page include/linux/mm.h:1234 [inline] do_exit+0x1ad1/0x2570 kernel/exit.c:918 do_group_exit+0x229/0x2e0 kernel/exit.c:1030 __do_sys_exit_group kernel/exit.c:1041 [inline] __se_sys_exit_group kernel/exit.c:1039 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1039 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 Memory state around the buggy address: ffff88802592a680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88802592a700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88802592a780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88802592a800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88802592a880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================