wlan0 speed is unknown, defaulting to 1000 ================================================================== BUG: KASAN: use-after-free in siw_query_port+0x358/0x450 drivers/infiniband/sw/siw/siw_verbs.c:177 Read of size 4 at addr ffff88805598c0e0 by task kworker/1:16/14557 CPU: 1 PID: 14557 Comm: kworker/1:16 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/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+0x358/0x450 drivers/infiniband/sw/siw/siw_verbs.c:177 ib_cache_update+0x1bf/0x9c0 drivers/infiniband/core/cache.c:1490 ib_cache_event_task+0xdc/0x1d0 drivers/infiniband/core/cache.c:1564 process_one_work+0x8a2/0x1160 kernel/workqueue.c:2292 worker_thread+0xaa2/0x1270 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:ffffea0001566300 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5598c flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 ffffea0001d13908 ffff8880b8e413f0 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 0x102c00(GFP_NOIO|__GFP_NOWARN|__GFP_HARDWALL), pid 4473, tgid 4473 (kworker/u4:13), ts 1485106305775, free_ts 1485106312278 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2559 prep_new_page mm/page_alloc.c:2566 [inline] get_page_from_freelist+0x1a1e/0x1ab0 mm/page_alloc.c:4357 __alloc_pages+0x1ec/0x4f0 mm/page_alloc.c:5657 __stack_depot_save+0x35a/0x460 lib/stackdepot.c:474 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_set_track+0x60/0x70 mm/kasan/common.c:53 ____kasan_kmalloc mm/kasan/common.c:375 [inline] __kasan_kmalloc+0x8e/0xa0 mm/kasan/common.c:384 kmalloc include/linux/slab.h:563 [inline] kzalloc include/linux/slab.h:699 [inline] call_usermodehelper_setup+0x8a/0x260 kernel/umh.c:366 kobject_uevent_env+0x659/0x8a0 lib/kobject_uevent.c:629 device_del+0x958/0xaf0 drivers/base/core.c:3905 __ib_unregister_device+0x8a/0x170 drivers/infiniband/core/device.c:1496 ib_unregister_work+0x15/0x30 drivers/infiniband/core/device.c:1601 process_one_work+0x8a2/0x1160 kernel/workqueue.c:2292 worker_thread+0xaa2/0x1270 kernel/workqueue.c:2439 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1486 [inline] free_pcp_prepare mm/page_alloc.c:1536 [inline] free_unref_page_prepare+0x8b4/0x9a0 mm/page_alloc.c:3413 free_unref_page+0x2e/0x3f0 mm/page_alloc.c:3508 __stack_depot_save+0x435/0x460 lib/stackdepot.c:506 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_set_track+0x60/0x70 mm/kasan/common.c:53 ____kasan_kmalloc mm/kasan/common.c:375 [inline] __kasan_kmalloc+0x8e/0xa0 mm/kasan/common.c:384 kmalloc include/linux/slab.h:563 [inline] kzalloc include/linux/slab.h:699 [inline] call_usermodehelper_setup+0x8a/0x260 kernel/umh.c:366 kobject_uevent_env+0x659/0x8a0 lib/kobject_uevent.c:629 device_del+0x958/0xaf0 drivers/base/core.c:3905 __ib_unregister_device+0x8a/0x170 drivers/infiniband/core/device.c:1496 ib_unregister_work+0x15/0x30 drivers/infiniband/core/device.c:1601 process_one_work+0x8a2/0x1160 kernel/workqueue.c:2292 worker_thread+0xaa2/0x1270 kernel/workqueue.c:2439 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Memory state around the buggy address: ffff88805598bf80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88805598c000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff88805598c080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff88805598c100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88805598c180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================