==================================================================
BUG: KASAN: slab-out-of-bounds in bond_fill_info+0x973/0x27b0
Read of size 4 at addr ffff888032280b00 by task syz.0.432/7549

CPU: 0 UID: 0 PID: 7549 Comm: syz.0.432 Not tainted 6.16.0-rc5-syzkaller-00212-g9f735b6f8a77-dirty #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250
 print_report+0xd2/0x2b0
 kasan_report+0x118/0x150
 kasan_check_range+0x2b0/0x2c0
 __asan_memcpy+0x29/0x70
 bond_fill_info+0x973/0x27b0
 rtnl_link_fill+0x288/0x800
 rtnl_fill_ifinfo+0x17ca/0x1e70
 rtmsg_ifinfo_build_skb+0x17d/0x260
 rtmsg_ifinfo+0x8c/0x1a0
 __dev_notify_flags+0xf4/0x2e0
 rtnl_newlink_create+0x61c/0xb00
 rtnl_newlink+0x16d6/0x1c70
 rtnetlink_rcv_msg+0x7cf/0xb70
 netlink_rcv_skb+0x208/0x470
 netlink_unicast+0x75c/0x8e0
 netlink_sendmsg+0x805/0xb30
 __sock_sendmsg+0x21c/0x270
 ____sys_sendmsg+0x52d/0x830
 ___sys_sendmsg+0x21f/0x2a0
 __sys_sendmmsg+0x227/0x430
 __x64_sys_sendmmsg+0xa0/0xc0
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f88d5d8e9a9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f88d6b17038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007f88d5fb5fa0 RCX: 00007f88d5d8e9a9
RDX: 0000000000000001 RSI: 0000200000005200 RDI: 0000000000000003
RBP: 00007f88d5e10d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f88d5fb5fa0 R15: 00007ffcfbbaf258
 </TASK>

Allocated by task 7549:
 kasan_save_track+0x3e/0x80
 __kasan_kmalloc+0x93/0xb0
 __kmalloc_noprof+0x27a/0x4f0
 bond_option_arp_ip_targets_set+0x222/0xbc0
 __bond_opt_set+0x27b/0xee0
 bond_changelink+0xa66/0x25e0
 bond_newlink+0x49/0xb0
 rtnl_newlink_create+0x310/0xb00
 rtnl_newlink+0x16d6/0x1c70
 rtnetlink_rcv_msg+0x7cf/0xb70
 netlink_rcv_skb+0x208/0x470
 netlink_unicast+0x75c/0x8e0
 netlink_sendmsg+0x805/0xb30
 __sock_sendmsg+0x21c/0x270
 ____sys_sendmsg+0x52d/0x830
 ___sys_sendmsg+0x21f/0x2a0
 __sys_sendmmsg+0x227/0x430
 __x64_sys_sendmmsg+0xa0/0xc0
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff888032280b00
 which belongs to the cache kmalloc-8 of size 8
The buggy address is located 0 bytes inside of
 allocated 1-byte region [ffff888032280b00, ffff888032280b01)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x32280
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000000 ffff88801a441500 dead000000000100 dead000000000122
raw: 0000000000000000 0000000000800080 00000000f5000000 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 0x52cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 5835, tgid 5835 (syz-executor), ts 85813457875, free_ts 85813441065
 post_alloc_hook+0x240/0x2a0
 get_page_from_freelist+0x21e4/0x22c0
 __alloc_frozen_pages_noprof+0x181/0x370
 alloc_pages_mpol+0x232/0x4a0
 allocate_slab+0x8a/0x3b0
 ___slab_alloc+0xbfc/0x1480
 __kmalloc_node_noprof+0x2fd/0x4e0
 __vmalloc_node_range_noprof+0x5a9/0x12f0
 vzalloc_noprof+0xb2/0xf0
 alloc_counters+0xd3/0x6d0
 do_ip6t_get_ctl+0xa94/0x1180
 nf_getsockopt+0x26e/0x290
 ipv6_getsockopt+0x1ed/0x290
 do_sock_getsockopt+0x372/0x450
 __x64_sys_getsockopt+0x1a5/0x250
 do_syscall_64+0xfa/0x3b0
page last free pid 5835 tgid 5835 stack trace:
 __free_frozen_pages+0xc71/0xe70
 kasan_populate_vmalloc+0x18a/0x1a0
 alloc_vmap_area+0xd51/0x1490
 __get_vm_area_node+0x1f8/0x300
 __vmalloc_node_range_noprof+0x301/0x12f0
 vzalloc_noprof+0xb2/0xf0
 alloc_counters+0xd3/0x6d0
 do_ip6t_get_ctl+0xa94/0x1180
 nf_getsockopt+0x26e/0x290
 ipv6_getsockopt+0x1ed/0x290
 do_sock_getsockopt+0x372/0x450
 __x64_sys_getsockopt+0x1a5/0x250
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff888032280a00: fa fc fc fc fa fc fc fc fa fc fc fc fa fc fc fc
 ffff888032280a80: fa fc fc fc fa fc fc fc fa fc fc fc fa fc fc fc
>ffff888032280b00: 01 fc fc fc 05 fc fc fc fa fc fc fc fa fc fc fc
                   ^
 ffff888032280b80: 05 fc fc fc fa fc fc fc 06 fc fc fc 05 fc fc fc
 ffff888032280c00: 05 fc fc fc 05 fc fc fc 05 fc fc fc 05 fc fc fc
==================================================================
