wlan0 speed is unknown, defaulting to 1000 wlan0 speed is unknown, defaulting to 1000 wlan0 speed is unknown, defaulting to 1000 ================================================================== BUG: KASAN: use-after-free in siw_query_port+0x359/0x450 drivers/infiniband/sw/siw/siw_verbs.c:177 Read of size 4 at addr ffff88805719c0e0 by task kworker/0:7/4320 CPU: 0 PID: 4320 Comm: kworker/0:7 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 Workqueue: infiniband ib_cache_event_task Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 print_address_description mm/kasan/report.c:316 [inline] print_report+0xa8/0x210 mm/kasan/report.c:420 kasan_report+0x10b/0x140 mm/kasan/report.c:524 siw_query_port+0x359/0x450 drivers/infiniband/sw/siw/siw_verbs.c:177 ib_cache_update+0x1bd/0x9c0 drivers/infiniband/core/cache.c:1490 ib_cache_event_task+0xcf/0x1c0 drivers/infiniband/core/cache.c:1564 process_one_work+0x8ab/0x1160 kernel/workqueue.c:2292 worker_thread+0xaf5/0x12a0 kernel/workqueue.c:2439 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 The buggy address belongs to the physical page: page:ffffea00015c6700 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5719c flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 ffffea0001db4008 ffff8880b8e415f0 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as freed page last allocated via order 2, migratetype Unmovable, gfp_mask 0x546dc0(GFP_USER|__GFP_NOWARN|__GFP_RETRY_MAYFAIL|__GFP_COMP|__GFP_ZERO|__GFP_ACCOUNT), pid 8090, tgid 8090 (syz-executor), ts 468955703098, free_ts 720212122494 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2560 prep_new_page mm/page_alloc.c:2567 [inline] get_page_from_freelist+0x206b/0x2180 mm/page_alloc.c:4358 __alloc_pages+0x1ec/0x4f0 mm/page_alloc.c:5658 __alloc_pages_node include/linux/gfp.h:237 [inline] alloc_pages_node include/linux/gfp.h:260 [inline] __kmalloc_large_node+0x8c/0x1f0 mm/slab_common.c:1077 __do_kmalloc_node mm/slab_common.c:924 [inline] __kmalloc_node+0x111/0x240 mm/slab_common.c:943 kmalloc_node include/linux/slab.h:589 [inline] kvmalloc_node+0x6c/0x180 mm/util.c:581 kvmalloc include/linux/slab.h:716 [inline] kvzalloc include/linux/slab.h:724 [inline] alloc_netdev_mqs+0x84/0xf10 net/core/dev.c:10770 ieee80211_if_add+0xbfe/0x1580 net/mac80211/iface.c:2192 ieee80211_register_hw+0x2e7b/0x39f0 net/mac80211/main.c:1407 mac80211_hwsim_new_radio+0x2927/0x4cd0 drivers/net/wireless/mac80211_hwsim.c:4587 hwsim_new_radio_nl+0xab7/0xc90 drivers/net/wireless/mac80211_hwsim.c:5181 genl_family_rcv_msg_doit+0x22f/0x350 net/netlink/genetlink.c:756 genl_family_rcv_msg net/netlink/genetlink.c:833 [inline] genl_rcv_msg+0x601/0x790 net/netlink/genetlink.c:850 netlink_rcv_skb+0x1ef/0x440 net/netlink/af_netlink.c:2516 genl_rcv+0x24/0x40 net/netlink/genetlink.c:861 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x7ad/0x920 net/netlink/af_netlink.c:1344 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1487 [inline] free_pcp_prepare mm/page_alloc.c:1537 [inline] free_unref_page_prepare+0x8e5/0x9e0 mm/page_alloc.c:3414 free_unref_page+0x2e/0x3f0 mm/page_alloc.c:3509 free_large_kmalloc+0xfd/0x1a0 mm/slab_common.c:913 device_release+0x92/0x1c0 drivers/base/core.c:-1 kobject_cleanup lib/kobject.c:681 [inline] kobject_release lib/kobject.c:712 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x217/0x450 lib/kobject.c:729 netdev_run_todo+0xca9/0xdb0 net/core/dev.c:10560 nl80211_post_doit+0x219/0x310 net/wireless/nl80211.c:16496 genl_family_rcv_msg_doit+0x274/0x350 net/netlink/genetlink.c:759 genl_family_rcv_msg net/netlink/genetlink.c:833 [inline] genl_rcv_msg+0x601/0x790 net/netlink/genetlink.c:850 netlink_rcv_skb+0x1ef/0x440 net/netlink/af_netlink.c:2516 genl_rcv+0x24/0x40 net/netlink/genetlink.c:861 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x7ad/0x920 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x8ad/0xbd0 net/netlink/af_netlink.c:1877 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] ____sys_sendmsg+0x5ed/0x9a0 net/socket.c:2519 ___sys_sendmsg+0x2a2/0x360 net/socket.c:2573 __sys_sendmsg net/socket.c:2602 [inline] __do_sys_sendmsg net/socket.c:2611 [inline] __se_sys_sendmsg+0x1c3/0x2b0 net/socket.c:2609 Memory state around the buggy address: ffff88805719bf80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88805719c000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff88805719c080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff88805719c100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88805719c180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================