================================================================== 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 ffff888077503780 by task syz.3.22/4335 CPU: 1 PID: 4335 Comm: syz.3.22 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/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/0x4dc 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:0x7f0a01930199 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:00007f09ffb88028 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f0a01bb7fa0 RCX: 00007f0a01930199 RDX: 0000000000000004 RSI: 0000200000000800 RDI: 0000000000000004 RBP: 00007f0a019c78e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0a01bb8038 R14: 00007f0a01bb7fa0 R15: 00007ffd61e417c8 Allocated by task 4335: 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 ffff888077503000 which belongs to the cache UNIX-STREAM of size 1920 The buggy address is located 0 bytes to the right of 1920-byte region [ffff888077503000, ffff888077503780) The buggy address belongs to the page: page:ffffea0001dd4000 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x77500 head:ffffea0001dd4000 order:3 compound_mapcount:0 compound_pincount:0 memcg:ffff88807e73b401 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 0000000000000000 dead000000000122 ffff8881468b5640 raw: 0000000000000000 0000000080100010 00000001ffffffff ffff88807e73b401 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 4171, ts 56393576510, free_ts 55170308734 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_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 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] kmem_cache_alloc_node+0x184/0x2c0 mm/slub.c:3261 __alloc_skb+0xf4/0x750 net/core/skbuff.c:415 alloc_skb include/linux/skbuff.h:1162 [inline] alloc_skb_with_frags+0xa7/0x720 net/core/skbuff.c:6209 sock_alloc_send_pskb+0x87f/0x9a0 net/core/sock.c:2535 unix_dgram_sendmsg+0x6f8/0x19c0 net/unix/af_unix.c:1809 sock_sendmsg_nosec net/socket.c:706 [inline] __sock_sendmsg net/socket.c:718 [inline] sock_write_iter+0x2a6/0x3a0 net/socket.c:1090 call_write_iter include/linux/fs.h:2179 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x748/0xd70 fs/read_write.c:594 ksys_write+0x153/0x260 fs/read_write.c:647 Memory state around the buggy address: ffff888077503680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888077503700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888077503780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888077503800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888077503880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================