kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 25552 Comm: kworker/u4:7 Not tainted 4.14.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet task: ffff88800de32440 task.stack: ffff8881a7d18000 RIP: 0010:batadv_iv_ogm_queue_add+0x48/0xe00 net/batman-adv/bat_iv_ogm.c:778 RSP: 0018:ffff8881a7d1fb88 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff888086f66a80 RCX: ffff888086f66a80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000006 R08: ffff888086f66a80 R09: 0000000000000001 R10: ffff88800de32d10 R11: ffff88800de32440 R12: ffff888058ca9180 R13: ffff888086f66aa8 R14: 0000000000000000 R15: 000000010000f77d FS: 0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31622000 CR3: 00000001d69fc000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: batadv_iv_ogm_schedule+0xa38/0xdf0 net/batman-adv/bat_iv_ogm.c:982 batadv_iv_send_outstanding_bat_ogm_packet+0x4ad/0x6a0 net/batman-adv/bat_iv_ogm.c:1809 process_one_work+0x813/0x1540 kernel/workqueue.c:2114 worker_thread+0x5d1/0x1070 kernel/workqueue.c:2248 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Code: 00 00 48 89 4c 24 08 4c 89 44 24 10 44 89 4c 24 20 e8 5d 9b 35 fb 49 8d 7e 03 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 c5 0b 00 RIP: batadv_iv_ogm_queue_add+0x48/0xe00 net/batman-adv/bat_iv_ogm.c:778 RSP: ffff8881a7d1fb88 ---[ end trace b854a28e4ad1dc13 ]---