================================================================== BUG: KASAN: slab-out-of-bounds in tls_get_ctx include/net/tls.h:493 [inline] BUG: KASAN: slab-out-of-bounds in tls_sw_has_ctx_rx include/net/tls.h:601 [inline] BUG: KASAN: slab-out-of-bounds in ____sk_skb_adjust_room net/core/filter.c:3673 [inline] BUG: KASAN: slab-out-of-bounds in sk_skb_adjust_room+0x35e/0x590 net/core/filter.c:3650 Read of size 8 at addr ffff88807d0b2780 by task syz.0.1278/8534 CPU: 0 PID: 8534 Comm: syz.0.1278 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 print_address_description+0x60/0x2d0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xdf/0x130 mm/kasan/report.c:451 tls_get_ctx include/net/tls.h:493 [inline] tls_sw_has_ctx_rx include/net/tls.h:601 [inline] ____sk_skb_adjust_room net/core/filter.c:3673 [inline] sk_skb_adjust_room+0x35e/0x590 net/core/filter.c:3650 bpf_prog_e15ab8bd9cea3c06+0x19/0x9a8 bpf_dispatcher_nop_func include/linux/bpf.h:890 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] bpf_prog_run_pin_on_cpu include/linux/filter.h:652 [inline] sk_psock_verdict_recv+0x329/0x9a0 net/core/skmsg.c:1230 unix_read_sock+0x10a/0x2d0 net/unix/af_unix.c:2432 sk_psock_verdict_data_ready+0x167/0x1d0 net/core/skmsg.c:1253 unix_stream_sendmsg+0x7d1/0xc90 net/unix/af_unix.c:2110 sock_sendmsg_nosec net/socket.c:706 [inline] __sock_sendmsg net/socket.c:718 [inline] __sys_sendto+0x46d/0x620 net/socket.c:2073 __do_sys_sendto net/socket.c:2085 [inline] __se_sys_sendto net/socket.c:2081 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2081 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f3760a12b19 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:00007f375ec69028 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f3760c98fa0 RCX: 00007f3760a12b19 RDX: 0000000000000004 RSI: 0000200000000540 RDI: 0000000000000006 RBP: 00007f3760aaab70 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3760c99038 R14: 00007f3760c98fa0 R15: 00007fff438820d8 Allocated by task 8534: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x92/0xc0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3225 [inline] slab_alloc mm/slub.c:3233 [inline] kmem_cache_alloc+0x15d/0x280 mm/slub.c:3238 sk_prot_alloc+0x57/0x210 net/core/sock.c:1859 sk_alloc+0x2f/0x310 net/core/sock.c:1921 unix_create1+0xad/0x610 net/unix/af_unix.c:-1 unix_create+0x139/0x1f0 net/unix/af_unix.c:929 __sock_create+0x473/0x910 net/socket.c:1496 sock_create net/socket.c:1552 [inline] __sys_socketpair+0x1bd/0x540 net/socket.c:1652 __do_sys_socketpair net/socket.c:1705 [inline] __se_sys_socketpair net/socket.c:1702 [inline] __x64_sys_socketpair+0x97/0xb0 net/socket.c:1702 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 The buggy address belongs to the object at ffff88807d0b2000 which belongs to the cache UNIX-STREAM of size 1920 The buggy address is located 0 bytes to the right of 1920-byte region [ffff88807d0b2000, ffff88807d0b2780) The buggy address belongs to the page: page:ffffea0001f42c00 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88807d0b1800 pfn:0x7d0b0 head:ffffea0001f42c00 order:3 compound_mapcount:0 compound_pincount:0 memcg:ffff88805611ab01 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 ffffea0001f56600 0000000300000003 ffff88814682fb40 raw: ffff88807d0b1800 0000000080100008 00000001ffffffff ffff88805611ab01 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 4030, ts 43249069983, free_ts 43244821033 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x24f6/0x2670 mm/page_alloc.c:4192 __alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501 alloc_slab_page mm/slub.c:1780 [inline] allocate_slab mm/slub.c:1917 [inline] new_slab+0xc0/0x4b0 mm/slub.c:1980 ___slab_alloc+0x807/0xdd0 mm/slub.c:3013 __slab_alloc mm/slub.c:3100 [inline] slab_alloc_node mm/slub.c:3191 [inline] slab_alloc mm/slub.c:3233 [inline] kmem_cache_alloc+0xf0/0x280 mm/slub.c:3238 sk_prot_alloc+0x57/0x210 net/core/sock.c:1859 sk_alloc+0x2f/0x310 net/core/sock.c:1921 unix_create1+0xad/0x610 net/unix/af_unix.c:-1 unix_create+0x139/0x1f0 net/unix/af_unix.c:929 __sock_create+0x473/0x910 net/socket.c:1496 sock_create net/socket.c:1552 [inline] __sys_socketpair+0x232/0x540 net/socket.c:1656 __do_sys_socketpair net/socket.c:1705 [inline] __se_sys_socketpair net/socket.c:1702 [inline] __x64_sys_socketpair+0x97/0xb0 net/socket.c:1702 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page+0x8f/0x2a0 mm/page_alloc.c:3396 free_slab mm/slub.c:2020 [inline] discard_slab mm/slub.c:2026 [inline] __unfreeze_partials+0x188/0x1e0 mm/slub.c:2512 put_cpu_partial+0x12d/0x190 mm/slub.c:2592 qlist_free_all+0x35/0x90 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x150/0x160 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0x2f/0xc0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3225 [inline] slab_alloc mm/slub.c:3233 [inline] kmem_cache_alloc+0x15d/0x280 mm/slub.c:3238 sock_alloc_inode+0x17/0xb0 net/socket.c:305 alloc_inode fs/inode.c:261 [inline] new_inode_pseudo+0x5f/0x210 fs/inode.c:998 sock_alloc net/socket.c:628 [inline] __sock_create+0x128/0x910 net/socket.c:1460 sock_create net/socket.c:1552 [inline] __sys_socket+0xe2/0x170 net/socket.c:1594 __do_sys_socket net/socket.c:1603 [inline] __se_sys_socket net/socket.c:1601 [inline] __x64_sys_socket+0x76/0x80 net/socket.c:1601 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Memory state around the buggy address: ffff88807d0b2680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88807d0b2700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88807d0b2780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88807d0b2800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88807d0b2880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================