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 ffff8880787980e0 by task kworker/1:8/4479 CPU: 1 PID: 4479 Comm: kworker/1:8 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/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:ffffea0001e1e600 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x78798 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 ffffea0001f60208 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 0x1d28c0(GFP_NOWAIT|__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 3933, tgid 3933 (dhcpcd), ts 295010602373, free_ts 295023123952 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_track_caller+0x10f/0x240 mm/slab_common.c:956 kmalloc_reserve net/core/skbuff.c:446 [inline] __alloc_skb+0x226/0x7d0 net/core/skbuff.c:515 alloc_skb include/linux/skbuff.h:1303 [inline] netlink_dump+0x19f/0xcd0 net/netlink/af_netlink.c:2201 netlink_recvmsg+0x68f/0xe00 net/netlink/af_netlink.c:1959 ____sys_recvmsg+0x2c8/0x5b0 net/socket.c:-1 ___sys_recvmsg+0x210/0x590 net/socket.c:2780 __sys_recvmsg net/socket.c:2810 [inline] __do_sys_recvmsg net/socket.c:2820 [inline] __se_sys_recvmsg net/socket.c:2817 [inline] __x64_sys_recvmsg+0x20d/0x2e0 net/socket.c:2817 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 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 skb_free_head net/core/skbuff.c:762 [inline] skb_release_data+0x5e9/0x7e0 net/core/skbuff.c:791 skb_release_all net/core/skbuff.c:856 [inline] __kfree_skb net/core/skbuff.c:870 [inline] consume_skb+0xa2/0x100 net/core/skbuff.c:1035 netlink_recvmsg+0x5e3/0xe00 net/netlink/af_netlink.c:1955 ____sys_recvmsg+0x2c8/0x5b0 net/socket.c:-1 ___sys_recvmsg+0x210/0x590 net/socket.c:2780 __sys_recvmsg net/socket.c:2810 [inline] __do_sys_recvmsg net/socket.c:2820 [inline] __se_sys_recvmsg net/socket.c:2817 [inline] __x64_sys_recvmsg+0x20d/0x2e0 net/socket.c:2817 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Memory state around the buggy address: ffff888078797f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888078798000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff888078798080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff888078798100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888078798180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================