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: 0 PID: 7597 Comm: kworker/u4:6 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: ffff8880a0d30340 task.stack: ffff8880553d0000 RIP: 0010:batadv_iv_ogm_queue_add+0x48/0xe00 net/batman-adv/bat_iv_ogm.c:778 RSP: 0018:ffff8880553d7b88 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff888093ac0780 RCX: ffff888093ac0780 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000006 R08: ffff888093ac0780 R09: 0000000000000001 R10: ffff8880a0d30c10 R11: ffff8880a0d30340 R12: ffff88805744e480 R13: ffff888093ac07a8 R14: 0000000000000000 R15: 00000000ffffe6ae FS: 0000000000000000(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0f7ec16000 CR3: 00000000868fe000 CR4: 00000000001426f0 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: ffff8880553d7b88 ---[ end trace ffcbfdbc2d294246 ]---