@: renamed from hsr_slave_0 ================================================================== BUG: KASAN: slab-out-of-bounds in hsr_debugfs_rename+0x87/0xa0 net/hsr/hsr_debugfs.c:73 Read of size 8 at addr ffff8880a4bf4ca0 by task syz-executor.2/7879 CPU: 1 PID: 7879 Comm: syz-executor.2 Not tainted 5.5.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x12d/0x187 lib/dump_stack.c:118 print_address_description.constprop.8.cold.10+0x9/0x31d mm/kasan/report.c:374 __kasan_report.cold.11+0x1b/0x3a mm/kasan/report.c:506 kasan_report+0x12/0x20 mm/kasan/common.c:639 __asan_report_load8_noabort+0x14/0x20 mm/kasan/generic_report.c:135 hsr_debugfs_rename+0x87/0xa0 net/hsr/hsr_debugfs.c:73 hsr_netdev_notify+0x57e/0x9d0 net/hsr/hsr_main.c:49 notifier_call_chain+0x8a/0x160 kernel/notifier.c:83 __raw_notifier_call_chain kernel/notifier.c:361 [inline] raw_notifier_call_chain+0x11/0x20 kernel/notifier.c:368 call_netdevice_notifiers_info+0x87/0xd0 net/core/dev.c:1893 call_netdevice_notifiers_extack net/core/dev.c:1905 [inline] call_netdevice_notifiers net/core/dev.c:1919 [inline] dev_change_name+0x42c/0x880 net/core/dev.c:1270 do_setlink+0x782/0x2dc0 net/core/rtnetlink.c:2571 __rtnl_newlink+0xa7a/0x1480 net/core/rtnetlink.c:3238 rtnl_newlink+0x61/0x90 net/core/rtnetlink.c:3363 rtnetlink_rcv_msg+0x34a/0x8d0 net/core/rtnetlink.c:5424 netlink_rcv_skb+0x13c/0x380 net/netlink/af_netlink.c:2477 rtnetlink_rcv+0x10/0x20 net/core/rtnetlink.c:5442 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] netlink_unicast+0x45e/0x6a0 net/netlink/af_netlink.c:1328 netlink_sendmsg+0x7b0/0xcb0 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:639 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:659 ____sys_sendmsg+0x603/0x950 net/socket.c:2330 ___sys_sendmsg+0xe4/0x160 net/socket.c:2384 __sys_sendmsg+0xd9/0x180 net/socket.c:2417 __do_sys_sendmsg net/socket.c:2426 [inline] __se_sys_sendmsg net/socket.c:2424 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2424 do_syscall_64+0xca/0x5f0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a919 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f8d2a212c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a919 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8d2a2136d4 R13: 00000000004c99b6 R14: 00000000004e1888 R15: 00000000ffffffff Allocated by task 7861: save_stack+0x21/0x90 mm/kasan/common.c:72 set_track mm/kasan/common.c:80 [inline] __kasan_kmalloc.constprop.17+0xc7/0xd0 mm/kasan/common.c:513 kasan_kmalloc+0x9/0x10 mm/kasan/common.c:527 __do_kmalloc_node mm/slab.c:3616 [inline] __kmalloc_node+0x4d/0x70 mm/slab.c:3623 kmalloc_node include/linux/slab.h:579 [inline] kvmalloc_node+0x6a/0x80 mm/util.c:574 kvmalloc include/linux/mm.h:655 [inline] kvzalloc include/linux/mm.h:663 [inline] alloc_netdev_mqs+0x5d/0xca0 net/core/dev.c:9731 rtnl_create_link+0x1e2/0xb90 net/core/rtnetlink.c:3042 __rtnl_newlink+0xbee/0x1480 net/core/rtnetlink.c:3295 rtnl_newlink+0x61/0x90 net/core/rtnetlink.c:3363 rtnetlink_rcv_msg+0x34a/0x8d0 net/core/rtnetlink.c:5424 netlink_rcv_skb+0x13c/0x380 net/netlink/af_netlink.c:2477 rtnetlink_rcv+0x10/0x20 net/core/rtnetlink.c:5442 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] netlink_unicast+0x45e/0x6a0 net/netlink/af_netlink.c:1328 netlink_sendmsg+0x7b0/0xcb0 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:639 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:659 __sys_sendto+0x1f2/0x2e0 net/socket.c:1985 __do_sys_sendto net/socket.c:1997 [inline] __se_sys_sendto net/socket.c:1993 [inline] __x64_sys_sendto+0xdc/0x1a0 net/socket.c:1993 do_syscall_64+0xca/0x5f0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff8880a4bf4000 which belongs to the cache kmalloc-4k of size 4096 The buggy address is located 3232 bytes inside of 4096-byte region [ffff8880a4bf4000, ffff8880a4bf5000) The buggy address belongs to the page: page:ffffea000292fd00 refcount:1 mapcount:0 mapping:ffff8880aa402000 index:0x0 compound_mapcount: 0 raw: 00fffe0000010200 ffffea0002696608 ffffea0002a29188 ffff8880aa402000 raw: 0000000000000000 ffff8880a4bf4000 0000000100000001 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880a4bf4b80: 00 00 00 00 00 00 00 00 07 fc fc fc fc fc fc fc ffff8880a4bf4c00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8880a4bf4c80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8880a4bf4d00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880a4bf4d80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================