wlan1 speed is unknown, defaulting to 1000 ================================================================== BUG: KASAN: use-after-free in siw_query_port+0x359/0x450 drivers/infiniband/sw/siw/siw_verbs.c:175 Read of size 4 at addr ffff8880797140d8 by task kworker/0:13/5942 CPU: 0 PID: 5942 Comm: kworker/0:13 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/0x250 lib/dump_stack.c:106 print_address_description+0x60/0x2d0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xdf/0x130 mm/kasan/report.c:451 siw_query_port+0x359/0x450 drivers/infiniband/sw/siw/siw_verbs.c:175 ib_cache_update+0x1bd/0x9c0 drivers/infiniband/core/cache.c:1484 ib_cache_event_task+0xcf/0x1c0 drivers/infiniband/core/cache.c:1558 process_one_work+0x867/0xff0 kernel/workqueue.c:2310 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457 kthread+0x42e/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 The buggy address belongs to the page: page:ffffea0001e5c500 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x79714 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 ffff8880b91409f0 ffff8880b91409f0 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 4189, ts 72676941394, free_ts 297789082451 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x24f6/0x2670 mm/page_alloc.c:4192 __alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501 __alloc_pages_node include/linux/gfp.h:570 [inline] alloc_pages_node include/linux/gfp.h:584 [inline] kmalloc_large_node+0x7d/0x1a0 mm/slub.c:4426 __kmalloc_node+0x21e/0x3a0 mm/slub.c:4442 kmalloc_node include/linux/slab.h:630 [inline] kvmalloc_node+0x84/0x130 mm/util.c:619 kvmalloc include/linux/mm.h:816 [inline] kvzalloc include/linux/mm.h:824 [inline] alloc_netdev_mqs+0x84/0xc40 net/core/dev.c:10910 ieee80211_if_add+0x11fb/0x1e00 net/mac80211/iface.c:1958 ieee80211_register_hw+0x2b39/0x3a60 net/mac80211/main.c:1323 mac80211_hwsim_new_radio+0x209d/0x4050 drivers/net/wireless/mac80211_hwsim.c:3373 hwsim_new_radio_nl+0xa7d/0xc50 drivers/net/wireless/mac80211_hwsim.c:3949 genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline] genl_family_rcv_msg net/netlink/genetlink.c:775 [inline] genl_rcv_msg+0xd0b/0xfa0 net/netlink/genetlink.c:792 netlink_rcv_skb+0x1e9/0x430 net/netlink/af_netlink.c:2519 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x78f/0x940 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x8ba/0xbe0 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:706 [inline] __sock_sendmsg net/socket.c:718 [inline] __sys_sendto+0x46d/0x620 net/socket.c:2073 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page+0x8f/0x2a0 mm/page_alloc.c:3396 free_nonslab_page+0xde/0x150 mm/slub.c:3540 device_release+0x92/0x1c0 drivers/base/core.c:-1 kobject_cleanup lib/kobject.c:713 [inline] kobject_release lib/kobject.c:744 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x217/0x450 lib/kobject.c:761 netdev_run_todo+0x942/0xac0 net/core/dev.c:10728 ieee80211_unregister_hw+0x5a/0x220 net/mac80211/main.c:1402 mac80211_hwsim_del_radio+0x282/0x470 drivers/net/wireless/mac80211_hwsim.c:3472 hwsim_exit_net+0x589/0x650 drivers/net/wireless/mac80211_hwsim.c:4242 ops_exit_list net/core/net_namespace.c:172 [inline] cleanup_net+0x703/0xba0 net/core/net_namespace.c:635 process_one_work+0x867/0xff0 kernel/workqueue.c:2310 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457 kthread+0x42e/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Memory state around the buggy address: ffff888079713f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888079714000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff888079714080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff888079714100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888079714180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================