bisecting cause commit starting from 0bf999f9c5e74c7ecf9dafb527146601e5c848b9 building syzkaller on c5ed587f4af5e639f7373d8ebf10ac049cb9c71b testing commit 0bf999f9c5e74c7ecf9dafb527146601e5c848b9 with gcc (GCC) 8.1.0 kernel signature: e6ac066a79d369e9efba18e2774cf1f88ad2dd75353d00a5fd6c5534fd44e34d run #0: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #1: crashed: KASAN: use-after-free Read in ipv6_chk_addr_and_flags run #2: crashed: KASAN: use-after-free Read in ipv6_get_ifaddr run #3: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #4: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #5: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #6: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #7: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #8: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #9: crashed: KASAN: use-after-free Read in ipv6_get_ifaddr testing release v5.5 testing commit d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 with gcc (GCC) 8.1.0 kernel signature: d4ac615a914b2c891d9035ac3a6f8c85f935ec34100090e53232936d46a2580c all runs: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu testing release v5.4 testing commit 219d54332a09e8d8741c1e1982f5eae56099de85 with gcc (GCC) 8.1.0 kernel signature: 7a81e65e524dccda606f2f7eb58cd3a794ead124a2d11fb948e2e04544e20226 all runs: OK # git bisect start d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 219d54332a09e8d8741c1e1982f5eae56099de85 Bisecting: 8639 revisions left to test after this (roughly 13 steps) [8c39f71ee2019e77ee14f88b1321b2348db51820] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 8c39f71ee2019e77ee14f88b1321b2348db51820 with gcc (GCC) 8.1.0 kernel signature: edba6078aa04152d3f2b8adbc13b9086e521e58994fe1dbb61a794f236c04f17 run #0: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #1: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #2: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #3: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #4: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #5: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #6: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #7: crashed: KASAN: use-after-free Read in ipv6_get_ifaddr run #8: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #9: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu # git bisect bad 8c39f71ee2019e77ee14f88b1321b2348db51820 Bisecting: 3435 revisions left to test after this (roughly 12 steps) [3b397c7ccafe0624018cb09fc96729f8f6165573] Merge tag 'regmap-v5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap testing commit 3b397c7ccafe0624018cb09fc96729f8f6165573 with gcc (GCC) 8.1.0 kernel signature: 750048a5c73343af80fed8340aac6ec80c2873b276d326f6564ad453b061f40d run #0: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #1: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #2: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #3: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #4: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #5: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #6: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #7: crashed: KASAN: use-after-free Read in ipv6_chk_addr_and_flags run #8: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #9: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu # git bisect bad 3b397c7ccafe0624018cb09fc96729f8f6165573 Bisecting: 1709 revisions left to test after this (roughly 11 steps) [924ea58dadea23cc28b60d02b9c0896b7b168a6f] Merge tag 'mt76-for-kvalo-2019-11-20' of https://github.com/nbd168/wireless testing commit 924ea58dadea23cc28b60d02b9c0896b7b168a6f with gcc (GCC) 8.1.0 kernel signature: 6f84765e055fdc9c23342acc19c4f30b11befd2b48371cc509ca26de6392e9d7 run #0: crashed: KASAN: use-after-free Read in ipv6_chk_addr_and_flags run #1: crashed: KASAN: use-after-free Read in ipv6_get_ifaddr run #2: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #3: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #4: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #5: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #6: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #7: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #8: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #9: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu # git bisect bad 924ea58dadea23cc28b60d02b9c0896b7b168a6f Bisecting: 855 revisions left to test after this (roughly 10 steps) [3b7ad08b5153b0eda2f4d57ac53d815c30acd172] vsock: Simplify '__vsock_release()' testing commit 3b7ad08b5153b0eda2f4d57ac53d815c30acd172 with gcc (GCC) 8.1.0 kernel signature: 67e158577c603f061151b68cc7427c589025bcd99f15f831aab1be4672c864fa all runs: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu # git bisect bad 3b7ad08b5153b0eda2f4d57ac53d815c30acd172 Bisecting: 427 revisions left to test after this (roughly 9 steps) [a3e09ded6a6d4b4cbdeb8c1ec4c7cf60798b3ce0] i40e: Extract detection of HW flags into a function testing commit a3e09ded6a6d4b4cbdeb8c1ec4c7cf60798b3ce0 with gcc (GCC) 8.1.0 kernel signature: 2ad5785aa77f33148796b7389e5f7f3b60f50d2a644d48c038eafd3af286be14 run #0: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #1: crashed: KASAN: use-after-free Read in ipv6_get_ifaddr run #2: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #3: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #4: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #5: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #6: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #7: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #8: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #9: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu # git bisect bad a3e09ded6a6d4b4cbdeb8c1ec4c7cf60798b3ce0 Bisecting: 218 revisions left to test after this (roughly 8 steps) [cb0ce18aaf4c08f1c5c60d8a09fcba34f63f6f51] genetlink: do not parse attributes for families with zero maxattr testing commit cb0ce18aaf4c08f1c5c60d8a09fcba34f63f6f51 with gcc (GCC) 8.1.0 kernel signature: 6d53b276d4fa0363169a7badfbf98045d6266737c6446f81f67039cfedc161cf run #0: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #1: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #2: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #3: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #4: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #5: crashed: KASAN: use-after-free Read in ipv6_add_addr run #6: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #7: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #8: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #9: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu # git bisect bad cb0ce18aaf4c08f1c5c60d8a09fcba34f63f6f51 Bisecting: 103 revisions left to test after this (roughly 7 steps) [4495af31947bcc8886fe43737500f12729f7bdd9] net: nfc: have genetlink code to parse the attrs during dumpit testing commit 4495af31947bcc8886fe43737500f12729f7bdd9 with gcc (GCC) 8.1.0 kernel signature: 4bbeadf6f2f47e7f6d2f00639a9e172162d6d5e2053266d2986a4b47047f9150 run #0: crashed: KASAN: use-after-free Read in ipv6_get_ifaddr run #1: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #2: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #3: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #4: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #5: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #6: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #7: crashed: KASAN: use-after-free Read in ipv6_get_ifaddr run #8: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #9: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu # git bisect bad 4495af31947bcc8886fe43737500f12729f7bdd9 Bisecting: 51 revisions left to test after this (roughly 6 steps) [9077f052abd5391a866dd99e27212213648becef] net: propagate errors correctly in register_netdevice() testing commit 9077f052abd5391a866dd99e27212213648becef with gcc (GCC) 8.1.0 kernel signature: 819020e60ba44d37d9d9bfe7a52e02a1d3505067317781a1dd33f010bc1b1887 all runs: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu # git bisect bad 9077f052abd5391a866dd99e27212213648becef Bisecting: 25 revisions left to test after this (roughly 5 steps) [e982ae6aa4e1505d7567a54ef3f259a9647dfd35] ionic: add lif_quiesce to wait for queue activity to stop testing commit e982ae6aa4e1505d7567a54ef3f259a9647dfd35 with gcc (GCC) 8.1.0 kernel signature: 8a376b65501e6e60fae472463e0a1cf11ced8f969d2eb70df454ba86ba772c53 run #0: crashed: KASAN: use-after-free Read in ipv6_chk_addr_and_flags run #1: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #2: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #3: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #4: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #5: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #6: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #7: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #8: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #9: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu # git bisect bad e982ae6aa4e1505d7567a54ef3f259a9647dfd35 Bisecting: 12 revisions left to test after this (roughly 4 steps) [9fb137aef34e4eedaa23307d309b0ebe8358fea1] net: usb: ax88179_178a: allow optionally getting mac address from device tree testing commit 9fb137aef34e4eedaa23307d309b0ebe8358fea1 with gcc (GCC) 8.1.0 kernel signature: 6ed6b693d32849935bc911c0fb548da54fc1a8e6e960f3aaa29d6eee3c225b34 run #0: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #1: crashed: KASAN: use-after-free Read in ipv6_add_addr run #2: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #3: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #4: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #5: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #6: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #7: crashed: KASAN: use-after-free Read in ipv6_chk_addr_and_flags run #8: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #9: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu # git bisect bad 9fb137aef34e4eedaa23307d309b0ebe8358fea1 Bisecting: 6 revisions left to test after this (roughly 3 steps) [36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc] net: rtnetlink: add linkprop commands to add and delete alternative ifnames testing commit 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc with gcc (GCC) 8.1.0 kernel signature: dd636eb6d6bf74a36bf0fa52bb9a76af26bf5e683be06a8ae4783197abb8ac71 run #0: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #1: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #2: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #3: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #4: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #5: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #6: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #7: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu run #8: crashed: KASAN: use-after-free Read in ipv6_chk_addr_and_flags run #9: crashed: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu # git bisect bad 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc Bisecting: 2 revisions left to test after this (roughly 2 steps) [be2644aac3e1db02d09f45d56206bbdafca582a2] tcp: add ipv6_addr_v4mapped_loopback() helper testing commit be2644aac3e1db02d09f45d56206bbdafca582a2 with gcc (GCC) 8.1.0 kernel signature: bf996e167edb1ba8450173b17e1c05a400160c7e25ab48fa2b8e93c7003183c0 all runs: OK # git bisect good be2644aac3e1db02d09f45d56206bbdafca582a2 Bisecting: 0 revisions left to test after this (roughly 1 step) [ff92741270bf8b6e78aa885f166b68c7a67ab13a] net: introduce name_node struct to be used in hashlist testing commit ff92741270bf8b6e78aa885f166b68c7a67ab13a with gcc (GCC) 8.1.0 kernel signature: 1f953c553c593ef1fd215a20d7b7e0bd31e383be4f90c9c668af5f96f16a1e9b all runs: OK # git bisect good ff92741270bf8b6e78aa885f166b68c7a67ab13a 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc is the first bad commit commit 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc Author: Jiri Pirko Date: Mon Sep 30 11:48:16 2019 +0200 net: rtnetlink: add linkprop commands to add and delete alternative ifnames Add two commands to add and delete list of link properties. Implement the first property type along - alternative ifnames. Each net device can have multiple alternative names. Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller include/linux/netdevice.h | 4 ++ include/uapi/linux/if.h | 1 + include/uapi/linux/if_link.h | 2 + include/uapi/linux/rtnetlink.h | 7 +++ net/core/dev.c | 58 ++++++++++++++++++++++- net/core/rtnetlink.c | 103 +++++++++++++++++++++++++++++++++++++++++ security/selinux/nlmsgtab.c | 4 +- 7 files changed, 177 insertions(+), 2 deletions(-) culprit signature: dd636eb6d6bf74a36bf0fa52bb9a76af26bf5e683be06a8ae4783197abb8ac71 parent signature: 1f953c553c593ef1fd215a20d7b7e0bd31e383be4f90c9c668af5f96f16a1e9b revisions tested: 16, total time: 3h0m28.458668173s (build: 1h43m24.236420872s, test: 1h15m54.716119076s) first bad commit: 36fbf1e52bd3ff8a5cb604955eedfc9350c2e6cc net: rtnetlink: add linkprop commands to add and delete alternative ifnames cc: ["ap420073@gmail.com" "davem@davemloft.net" "dledford@redhat.com" "dsahern@gmail.com" "eparis@parisplace.org" "jiri@mellanox.com" "johannes.berg@intel.com" "kda@linux-powerpc.org" "linux-kernel@vger.kernel.org" "mkubecek@suse.cz" "netdev@vger.kernel.org" "paul@paul-moore.com" "sds@tycho.nsa.gov" "selinux@vger.kernel.org" "vincent@bernat.ch"] crash: KASAN: use-after-free Read in l3mdev_master_ifindex_rcu IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready ================================================================== BUG: KASAN: use-after-free in l3mdev_master_ifindex_rcu+0xe3/0xf0 net/l3mdev/l3mdev.c:24 Read of size 4 at addr ffff8880804cac5c by task kworker/0:2/3043 CPU: 0 PID: 3043 Comm: kworker/0:2 Not tainted 5.3.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: ipv6_addrconf addrconf_dad_work Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x113/0x167 lib/dump_stack.c:113 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:634 __asan_report_load4_noabort+0x14/0x20 mm/kasan/generic_report.c:131 l3mdev_master_ifindex_rcu+0xe3/0xf0 net/l3mdev/l3mdev.c:24 ipv6_dev_get_saddr+0x60a/0x990 net/ipv6/addrconf.c:1817 ip6_route_get_saddr include/net/ip6_route.h:144 [inline] ip6_dst_lookup_tail+0xe9f/0x1980 net/ipv6/ip6_output.c:1027 ip6_dst_lookup+0x32/0x60 net/ipv6/ip6_output.c:1129 geneve_get_v6_dst+0x3ca/0xa90 drivers/net/geneve.c:856 geneve6_xmit_skb drivers/net/geneve.c:948 [inline] geneve_xmit+0x230/0x3230 drivers/net/geneve.c:999 __netdev_start_xmit include/linux/netdevice.h:4430 [inline] netdev_start_xmit include/linux/netdevice.h:4444 [inline] xmit_one net/core/dev.c:3388 [inline] dev_hard_start_xmit+0x16a/0x780 net/core/dev.c:3404 __dev_queue_xmit+0x20b9/0x3050 net/core/dev.c:3981 dev_queue_xmit+0xb/0x10 net/core/dev.c:4014 neigh_hh_output include/net/neighbour.h:500 [inline] neigh_output include/net/neighbour.h:509 [inline] ip6_finish_output2+0xc34/0x22f0 net/ipv6/ip6_output.c:116 __ip6_finish_output+0x36c/0x930 net/ipv6/ip6_output.c:142 ip6_finish_output+0x27/0x170 net/ipv6/ip6_output.c:152 NF_HOOK_COND include/linux/netfilter.h:294 [inline] ip6_output+0x1bf/0x630 net/ipv6/ip6_output.c:175 dst_output include/net/dst.h:436 [inline] NF_HOOK include/linux/netfilter.h:305 [inline] mld_sendpack+0x870/0xcb0 net/ipv6/mcast.c:1682 mld_send_initial_cr.part.32+0xd7/0x110 net/ipv6/mcast.c:2099 mld_send_initial_cr net/ipv6/mcast.c:2112 [inline] ipv6_mc_dad_complete+0x14d/0x1a0 net/ipv6/mcast.c:2106 addrconf_dad_completed+0x86f/0xbb0 net/ipv6/addrconf.c:4176 addrconf_dad_work+0x63c/0xf60 net/ipv6/addrconf.c:4107 process_one_work+0x856/0x1630 kernel/workqueue.c:2269 worker_thread+0x85/0xb60 kernel/workqueue.c:2415 kthread+0x331/0x3f0 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Allocated by task 8212: save_stack+0x21/0x90 mm/kasan/common.c:69 set_track mm/kasan/common.c:77 [inline] __kasan_kmalloc.constprop.13+0xc7/0xd0 mm/kasan/common.c:510 kasan_kmalloc+0x9/0x10 mm/kasan/common.c:524 __do_kmalloc_node mm/slab.c:3615 [inline] __kmalloc_node+0x4d/0x70 mm/slab.c:3622 kmalloc_node include/linux/slab.h:595 [inline] kvmalloc_node+0x6a/0x80 mm/util.c:564 kvmalloc include/linux/mm.h:670 [inline] kvzalloc include/linux/mm.h:678 [inline] alloc_netdev_mqs+0x5d/0xbf0 net/core/dev.c:9311 rtnl_create_link+0x1e2/0xb90 net/core/rtnetlink.c:2934 __rtnl_newlink+0xbd0/0x1400 net/core/rtnetlink.c:3189 rtnl_newlink+0x61/0x90 net/core/rtnetlink.c:3257 rtnetlink_rcv_msg+0x34f/0x8f0 net/core/rtnetlink.c:5323 netlink_rcv_skb+0x13c/0x380 net/netlink/af_netlink.c:2477 rtnetlink_rcv+0x10/0x20 net/core/rtnetlink.c:5341 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] netlink_unicast+0x43b/0x640 net/netlink/af_netlink.c:1328 netlink_sendmsg+0x74b/0xbf0 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:637 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:657 __sys_sendto+0x1f2/0x2e0 net/socket.c:1952 __do_compat_sys_socketcall net/compat.c:771 [inline] __se_compat_sys_socketcall net/compat.c:719 [inline] __ia32_compat_sys_socketcall+0x473/0x610 net/compat.c:719 do_syscall_32_irqs_on arch/x86/entry/common.c:333 [inline] do_fast_syscall_32+0x235/0xb3b arch/x86/entry/common.c:404 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 Freed by task 8549: save_stack+0x21/0x90 mm/kasan/common.c:69 set_track mm/kasan/common.c:77 [inline] kasan_set_free_info mm/kasan/common.c:332 [inline] __kasan_slab_free+0x102/0x150 mm/kasan/common.c:471 kasan_slab_free+0xe/0x10 mm/kasan/common.c:480 __cache_free mm/slab.c:3425 [inline] kfree+0x108/0x2c0 mm/slab.c:3756 __netdev_name_node_alt_destroy+0x1d0/0x270 net/core/dev.c:321 netdev_name_node_alt_destroy+0x43/0x70 net/core/dev.c:333 rtnl_alt_ifname net/core/rtnetlink.c:3400 [inline] rtnl_linkprop.isra.32+0x4e8/0x630 net/core/rtnetlink.c:3452 rtnl_dellinkprop+0x40/0x60 net/core/rtnetlink.c:3473 rtnetlink_rcv_msg+0x34f/0x8f0 net/core/rtnetlink.c:5323 netlink_rcv_skb+0x13c/0x380 net/netlink/af_netlink.c:2477 rtnetlink_rcv+0x10/0x20 net/core/rtnetlink.c:5341 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] netlink_unicast+0x43b/0x640 net/netlink/af_netlink.c:1328 netlink_sendmsg+0x74b/0xbf0 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:637 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:657 ___sys_sendmsg+0x647/0x950 net/socket.c:2311 __sys_sendmsg+0xd9/0x180 net/socket.c:2356 __compat_sys_sendmsg net/compat.c:642 [inline] __do_compat_sys_sendmsg net/compat.c:649 [inline] __se_compat_sys_sendmsg net/compat.c:646 [inline] __ia32_compat_sys_sendmsg+0x75/0xb0 net/compat.c:646 do_syscall_32_irqs_on arch/x86/entry/common.c:333 [inline] do_fast_syscall_32+0x235/0xb3b arch/x86/entry/common.c:404 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 The buggy address belongs to the object at ffff8880804caa40 which belongs to the cache kmalloc-4k of size 4096 The buggy address is located 540 bytes inside of 4096-byte region [ffff8880804caa40, ffff8880804cba40) The buggy address belongs to the page: page:ffffea0002013280 refcount:1 mapcount:0 mapping:ffff8880aa402000 index:0x0 compound_mapcount: 0 flags: 0xfffe0000010200(slab|head) raw: 00fffe0000010200 ffffea00024d7208 ffffea00024ec088 ffff8880aa402000 raw: 0000000000000000 ffff8880804caa40 0000000100000001 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880804cab00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880804cab80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff8880804cac00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8880804cac80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880804cad00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================