batman_adv: batadv0: Interface deactivated: batadv_slave_0 batman_adv: batadv0: Removing interface: batadv_slave_0 batman_adv: batadv0: Interface deactivated: batadv_slave_1 batman_adv: batadv0: Removing interface: batadv_slave_1 ================================================================== BUG: KASAN: null-ptr-deref in memcpy include/linux/string.h:347 [inline] BUG: KASAN: null-ptr-deref in batadv_tvlv_realloc_packet_buff net/batman-adv/tvlv.c:294 [inline] BUG: KASAN: null-ptr-deref in batadv_tvlv_container_ogm_append+0x172/0x480 net/batman-adv/tvlv.c:329 Read of size 24 at addr (null) by task kworker/u4:3/201 CPU: 1 PID: 201 Comm: kworker/u4:3 Not tainted 4.14.170-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 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x142/0x197 lib/dump_stack.c:58 kasan_report_error mm/kasan/report.c:349 [inline] kasan_report mm/kasan/report.c:409 [inline] kasan_report.cold+0x127/0x2af mm/kasan/report.c:393 check_memory_region_inline mm/kasan/kasan.c:260 [inline] check_memory_region+0x123/0x190 mm/kasan/kasan.c:267 memcpy+0x24/0x50 mm/kasan/kasan.c:302 memcpy include/linux/string.h:347 [inline] batadv_tvlv_realloc_packet_buff net/batman-adv/tvlv.c:294 [inline] batadv_tvlv_container_ogm_append+0x172/0x480 net/batman-adv/tvlv.c:329 batadv_iv_ogm_schedule+0xba0/0xe20 net/batman-adv/bat_iv_ogm.c:945 batadv_iv_send_outstanding_bat_ogm_packet+0x4a1/0x680 net/batman-adv/bat_iv_ogm.c:1809 process_one_work+0x863/0x1600 kernel/workqueue.c:2114 worker_thread+0x5d9/0x1050 kernel/workqueue.c:2248 kthread+0x319/0x430 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 ================================================================== Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 201 Comm: kworker/u4:3 Tainted: G B 4.14.170-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 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x142/0x197 lib/dump_stack.c:58 panic+0x1f9/0x42d kernel/panic.c:183 kasan_end_report+0x47/0x4f mm/kasan/report.c:176 kasan_report_error mm/kasan/report.c:356 [inline] kasan_report mm/kasan/report.c:409 [inline] kasan_report.cold+0x130/0x2af mm/kasan/report.c:393 check_memory_region_inline mm/kasan/kasan.c:260 [inline] check_memory_region+0x123/0x190 mm/kasan/kasan.c:267 memcpy+0x24/0x50 mm/kasan/kasan.c:302 memcpy include/linux/string.h:347 [inline] batadv_tvlv_realloc_packet_buff net/batman-adv/tvlv.c:294 [inline] batadv_tvlv_container_ogm_append+0x172/0x480 net/batman-adv/tvlv.c:329 batadv_iv_ogm_schedule+0xba0/0xe20 net/batman-adv/bat_iv_ogm.c:945 batadv_iv_send_outstanding_bat_ogm_packet+0x4a1/0x680 net/batman-adv/bat_iv_ogm.c:1809 process_one_work+0x863/0x1600 kernel/workqueue.c:2114 worker_thread+0x5d9/0x1050 kernel/workqueue.c:2248 kthread+0x319/0x430 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Kernel Offset: disabled Rebooting in 86400 seconds..