================================================================== 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 ffff888078d36790 by task syz.0.856/7168 CPU: 1 PID: 7168 Comm: syz.0.856 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:0x7f0099b9e199 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:00007f009a9a8028 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f0099e25fa0 RCX: 00007f0099b9e199 RDX: 0000000000000004 RSI: 0000200000000800 RDI: 0000000000000004 RBP: 00007f0099c358e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0099e26038 R14: 00007f0099e25fa0 R15: 00007fff0fbf2758 Allocated by task 7168: 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 ffff888078d36000 which belongs to the cache UNIX-STREAM of size 1920 The buggy address is located 16 bytes to the right of 1920-byte region [ffff888078d36000, ffff888078d36780) The buggy address belongs to the physical page: page:ffffea0001e34c00 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff888078d35000 pfn:0x78d30 head:ffffea0001e34c00 order:3 compound_mapcount:0 compound_pincount:0 memcg:ffff88805b82c501 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 0000000000000000 dead000000000122 ffff8880202c1000 raw: ffff888078d35000 0000000080100008 00000001ffffffff ffff88805b82c501 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 4258, tgid 4258 (sshd-session), ts 75514111134, free_ts 75465161854 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 qlink_free mm/kasan/quarantine.c:168 [inline] qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x144/0x160 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x1e/0x80 mm/kasan/common.c:306 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 getname_flags+0xb7/0x500 fs/namei.c:139 do_sys_openat2+0xdd/0x4f0 fs/open.c:1314 do_sys_open fs/open.c:1336 [inline] __do_sys_openat fs/open.c:1352 [inline] __se_sys_openat fs/open.c:1347 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1347 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: ffff888078d36680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888078d36700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888078d36780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888078d36800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888078d36880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================