wlan0 speed is unknown, defaulting to 1000 ================================================================== BUG: KASAN: use-after-free in siw_query_port+0x2f8/0x3dc drivers/infiniband/sw/siw/siw_verbs.c:175 Read of size 4 at addr ffff0000e6dcc0d8 by task kworker/0:10/4304 CPU: 0 PID: 4304 Comm: kworker/0:10 Not tainted 5.15.163-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: infiniband ib_cache_event_task Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 print_address_description+0x7c/0x3f0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0x174/0x1e4 mm/kasan/report.c:451 __asan_report_load4_noabort+0x44/0x50 mm/kasan/report_generic.c:308 siw_query_port+0x2f8/0x3dc drivers/infiniband/sw/siw/siw_verbs.c:175 iw_query_port drivers/infiniband/core/device.c:2055 [inline] ib_query_port+0x5ac/0x754 drivers/infiniband/core/device.c:2096 ib_cache_update+0x17c/0x914 drivers/infiniband/core/cache.c:1481 ib_cache_event_task+0xd8/0x1c4 drivers/infiniband/core/cache.c:1555 process_one_work+0x790/0x11b8 kernel/workqueue.c:2310 worker_thread+0x910/0x1034 kernel/workqueue.c:2457 kthread+0x37c/0x45c kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 The buggy address belongs to the page: page:00000000d203b67e refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x126dcc flags: 0x5ffc00000000000(node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000000000 fffffc000354d108 ffff0001b47cd570 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000e6dcbf80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000e6dcc000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff0000e6dcc080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff0000e6dcc100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff0000e6dcc180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================