netlink: 'syz.0.2837': attribute type 29 has an invalid length.
==================================================================
BUG: KASAN: slab-out-of-bounds in bond_fill_info+0xbbb/0x2690
Read of size 4 at addr ffff88811078ae84 by task syz.0.2837/12477

CPU: 0 UID: 0 PID: 12477 Comm: syz.0.2837 Not tainted 6.16.0-rc5-syzkaller-00159-g47c84997c686-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+0xbbb/0x2690
 rtnl_link_fill+0x288/0x800
 rtnl_fill_ifinfo+0x17ca/0x1e70
 rtnl_dump_ifinfo+0xa7b/0x1060
 rtnl_dumpit+0xa2/0x200
 netlink_dump+0x6cf/0xe90
 netlink_recvmsg+0x676/0xa30
 sock_recvmsg_nosec+0x186/0x1c0
 ____sys_recvmsg+0x3aa/0x460
 ___sys_recvmsg+0x1b5/0x510
 do_recvmmsg+0x307/0x770
 __x64_sys_recvmmsg+0x190/0x240
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8cc998e929
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:00007f8cca87c038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f8cc9bb5fa0 RCX: 00007f8cc998e929
RDX: 04000000000001b7 RSI: 00002000000067c0 RDI: 0000000000000008
RBP: 00007f8cc9a10b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000120 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f8cc9bb5fa0 R15: 00007ffd042670b8
 </TASK>

Allocated by task 9512:
 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
 rtnl_newlink+0x1669/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+0x505/0x830
 ___sys_sendmsg+0x21f/0x2a0
 __x64_sys_sendmsg+0x19b/0x260
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff88811078ae80
 which belongs to the cache kmalloc-8 of size 8
The buggy address is located 4 bytes inside of
 allocated 7-byte region [ffff88811078ae80, ffff88811078ae87)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11078a
anon flags: 0x57ff00000000000(node=1|zone=2|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 057ff00000000000 ffff88801a441500 0000000000000000 dead000000000001
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 9101, tgid 9100 (syz.2.1408), ts 126692864039, free_ts 109635275910
 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_track_caller_noprof+0x2f8/0x4e0
 kstrdup+0x42/0x100
 __kernfs_new_node+0x9c/0x7e0
 kernfs_new_node+0x102/0x210
 __kernfs_create_file+0x4b/0x2e0
 sysfs_add_file_mode_ns+0x238/0x300
 internal_create_group+0x66d/0x1110
 sysfs_create_groups+0x59/0x120
 ib_setup_port_attrs+0x1407/0x2070
 add_one_compat_dev+0x3d6/0x5c0
page last free pid 5278 tgid 5278 stack trace:
 __free_frozen_pages+0xc71/0xe70
 __tlb_remove_table+0x2d2/0x3b0
 tlb_remove_table_rcu+0x85/0x100
 rcu_core+0xca8/0x1710
 handle_softirqs+0x286/0x870
 __irq_exit_rcu+0xca/0x1f0
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 asm_sysvec_apic_timer_interrupt+0x1a/0x20

Memory state around the buggy address:
 ffff88811078ad80: 05 fc fc fc fa fc fc fc 05 fc fc fc 05 fc fc fc
 ffff88811078ae00: fa fc fc fc 05 fc fc fc 05 fc fc fc 06 fc fc fc
>ffff88811078ae80: 07 fc fc fc 06 fc fc fc 06 fc fc fc fa fc fc fc
                   ^
 ffff88811078af00: fa fc fc fc 06 fc fc fc 06 fc fc fc 06 fc fc fc
 ffff88811078af80: 06 fc fc fc 06 fc fc fc 06 fc fc fc 06 fc fc fc
==================================================================
