netlink: 8 bytes leftover after parsing attributes in process `syz.4.2719'. ================================================================== BUG: KASAN: slab-out-of-bounds in seq_buf_putmem+0x124/0x180 lib/seq_buf.c:241 Read of size 4450 at addr ffff88801b06a5cc by task syz.4.2719/18894 CPU: 1 UID: 0 PID: 18894 Comm: syz.4.2719 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_address_description+0x55/0x1e0 mm/kasan/report.c:378 print_report+0x58/0x70 mm/kasan/report.c:482 kasan_report+0x117/0x150 mm/kasan/report.c:595 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x264/0x2c0 mm/kasan/generic.c:200 __asan_memcpy+0x29/0x70 mm/kasan/shadow.c:105 seq_buf_putmem+0x124/0x180 lib/seq_buf.c:241 blk_trace_synthesize_old_trace kernel/trace/blktrace.c:1780 [inline] blk_trace_event_print_binary+0x130/0x1b0 kernel/trace/blktrace.c:1788 tracing_read_pipe+0x568/0xb50 kernel/trace/trace.c:5444 vfs_read+0x213/0xa80 fs/read_write.c:572 ksys_read+0x150/0x270 fs/read_write.c:716 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff25179e0d9 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:00007ff252734028 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007ff251a25fa0 RCX: 00007ff25179e0d9 RDX: 00000000fffffe23 RSI: 0000200000001500 RDI: 0000000000000003 RBP: 00007ff251835024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff251a26038 R14: 00007ff251a25fa0 R15: 00007ffe1048c748 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1b06a flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x44100(__GFP_ZERO|__GFP_RETRY_MAYFAIL|__GFP_COMP), pid 0, tgid 0 (swapper), ts 975561078, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859 prep_new_page mm/page_alloc.c:1867 [inline] get_page_from_freelist+0x21fe/0x2270 mm/page_alloc.c:3946 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304 __alloc_pages_noprof+0x10/0x100 mm/page_alloc.c:5338 __alloc_pages_node_noprof include/linux/gfp.h:291 [inline] alloc_pages_node_noprof include/linux/gfp.h:318 [inline] alloc_cpu_data kernel/trace/ring_buffer.c:438 [inline] __rb_allocate_pages+0xe97/0x17f0 kernel/trace/ring_buffer.c:2496 rb_allocate_pages kernel/trace/ring_buffer.c:2529 [inline] rb_allocate_cpu_buffer+0x113c/0x2ff0 kernel/trace/ring_buffer.c:2627 alloc_buffer+0x18e0/0x1e70 kernel/trace/ring_buffer.c:2882 __ring_buffer_alloc+0x2c/0x40 kernel/trace/ring_buffer.c:2928 allocate_trace_buffer+0x1d2/0x950 kernel/trace/trace.c:8412 allocate_trace_buffers kernel/trace/trace.c:8445 [inline] tracer_alloc_buffers+0x130/0x3f0 kernel/trace/trace.c:9851 early_trace_init+0x39/0x70 kernel/trace/trace.c:9950 start_kernel+0x171/0x3e0 init/main.c:1046 x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:310 x86_64_start_kernel+0x137/0x1b0 arch/x86/kernel/head64.c:291 common_startup_64+0x13e/0x157 page_owner free stack trace missing Memory state around the buggy address: ffff88801b06af00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88801b06af80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88801b06b000: 00 00 06 fc fc fc fc fc 00 00 06 fc fc fc fc fc ^ ffff88801b06b080: 00 00 01 fc fc fc fc fc 00 00 07 fc fc fc fc fc ffff88801b06b100: 00 00 07 fc fc fc fc fc 00 00 03 fc fc fc fc fc ==================================================================