batman_adv: batadv0: Removing interface: batadv_slave_0 ================================================================== 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+0x173/0x490 net/batman-adv/tvlv.c:329 Read of size 24 at addr (null) by task kworker/u4:2/20809 CPU: 1 PID: 20809 Comm: kworker/u4:2 Not tainted 4.14.171-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+0x13e/0x194 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/0x2ae mm/kasan/report.c:393 memcpy+0x20/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+0x173/0x490 net/batman-adv/tvlv.c:329 batadv_iv_ogm_schedule+0xb78/0xdf0 net/batman-adv/bat_iv_ogm.c:945 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 ================================================================== Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 20809 Comm: kworker/u4:2 Tainted: G B 4.14.171-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+0x13e/0x194 lib/dump_stack.c:58 panic+0x1f9/0x42d kernel/panic.c:183 kasan_end_report+0x43/0x49 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+0x12f/0x2ae mm/kasan/report.c:393 memcpy+0x20/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+0x173/0x490 net/batman-adv/tvlv.c:329 batadv_iv_ogm_schedule+0xb78/0xdf0 net/batman-adv/bat_iv_ogm.c:945 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 Kernel Offset: disabled Rebooting in 86400 seconds..