tipc: 32-bit node address hash set to faff1eac ================================================================== BUG: KASAN: use-after-free in tipc_named_reinit+0x1aa/0x360 net/tipc/name_distr.c:344 Read of size 8 at addr ffff8881cbd56000 by task kworker/0:28/4570 CPU: 0 PID: 4570 Comm: kworker/0:28 Not tainted 5.4.17-syzkaller-00005-g2303d908db80 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events tipc_net_finalize_work Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1b0/0x228 lib/dump_stack.c:118 print_address_description+0x96/0x5d0 mm/kasan/report.c:374 __kasan_report+0x14b/0x1c0 mm/kasan/report.c:506 kasan_report+0x26/0x50 mm/kasan/common.c:634 __asan_report_load8_noabort+0x14/0x20 mm/kasan/generic_report.c:132 tipc_named_reinit+0x1aa/0x360 net/tipc/name_distr.c:344 tipc_net_finalize+0xcb/0x130 net/tipc/net.c:138 tipc_net_finalize_work+0x54/0x80 net/tipc/net.c:150 process_one_work+0x9d8/0x1030 kernel/workqueue.c:2270 worker_thread+0xbbc/0x1610 kernel/workqueue.c:2416 kthread+0x31a/0x340 kernel/kthread.c:255 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4570 Comm: kworker/0:28 Not tainted 5.4.17-syzkaller-00005-g2303d908db80 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events tipc_net_finalize_work RIP: 0010:nearest_obj include/linux/slub_def.h:176 [inline] RIP: 0010:print_address_description+0x41c/0x5d0 mm/kasan/report.c:379 Code: f7 01 00 02 00 00 0f 84 c6 fc ff ff 4c 8b 63 18 48 89 d8 48 c1 e0 06 48 b9 00 00 00 00 80 08 05 00 48 01 c1 4c 89 f0 48 29 c8 <41> 8b 7c 24 18 48 99 48 f7 ff 4c 89 f0 48 29 d0 0f b7 73 2a 81 e6 RSP: 0018:ffff8881d1907b10 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffffea00072f5580 RCX: ffff8881cbd56000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff8881d1907bc0 R08: ffffffff812cf880 R09: ffffed103b743e92 R10: ffffed103b743e92 R11: 0000000000000000 R12: dead000000000400 R13: 0000000000000008 R14: ffff8881cbd56000 R15: ffff8881cbd56000 FS: 0000000000000000(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000758080 CR3: 00000001d7532004 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __kasan_report+0x14b/0x1c0 mm/kasan/report.c:506 kasan_report+0x26/0x50 mm/kasan/common.c:634 __asan_report_load8_noabort+0x14/0x20 mm/kasan/generic_report.c:132 tipc_named_reinit+0x1aa/0x360 net/tipc/name_distr.c:344 tipc_net_finalize+0xcb/0x130 net/tipc/net.c:138 tipc_net_finalize_work+0x54/0x80 net/tipc/net.c:150 process_one_work+0x9d8/0x1030 kernel/workqueue.c:2270 worker_thread+0xbbc/0x1610 kernel/workqueue.c:2416 kthread+0x31a/0x340 kernel/kthread.c:255 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 Modules linked in: ---[ end trace 402d44389b4b6cfa ]--- RIP: 0010:nearest_obj include/linux/slub_def.h:176 [inline] RIP: 0010:print_address_description+0x41c/0x5d0 mm/kasan/report.c:379 Code: f7 01 00 02 00 00 0f 84 c6 fc ff ff 4c 8b 63 18 48 89 d8 48 c1 e0 06 48 b9 00 00 00 00 80 08 05 00 48 01 c1 4c 89 f0 48 29 c8 <41> 8b 7c 24 18 48 99 48 f7 ff 4c 89 f0 48 29 d0 0f b7 73 2a 81 e6 RSP: 0018:ffff8881d1907b10 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffffea00072f5580 RCX: ffff8881cbd56000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff8881d1907bc0 R08: ffffffff812cf880 R09: ffffed103b743e92 R10: ffffed103b743e92 R11: 0000000000000000 R12: dead000000000400 R13: 0000000000000008 R14: ffff8881cbd56000 R15: ffff8881cbd56000 FS: 0000000000000000(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000758080 CR3: 00000001d7532004 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400