device batadv0 entered promiscuous mode 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: 23 Comm: kworker/u4:1 Not tainted 4.19.107-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_dat_purge RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline] RIP: 0010:hsr_addr_is_self+0x70/0x2e0 net/hsr/hsr_framereg.c:64 Code: 34 c7 00 f1 f1 f1 f1 c7 40 04 00 f3 f3 f3 65 48 8b 04 25 28 00 00 00 48 89 44 24 58 31 c0 e8 57 26 52 fa 4c 89 e8 48 c1 e8 03 <42> 80 3c 30 00 0f 85 3e 02 00 00 48 8b 43 30 49 39 c5 48 89 44 24 RSP: 0018:ffff8880ae607ad0 EFLAGS: 00010206 RAX: 0000000000000006 RBX: 0000000000000000 RCX: ffffffff8716088f RDX: 0000000000000100 RSI: ffffffff87157269 RDI: 0000000000000000 RBP: ffff8880a63e7088 R08: ffff8880a9486600 R09: ffffed1015cc4733 R10: ffffed1015cc4732 R11: ffff8880ae623993 R12: 1ffff11015cc0f5a R13: 0000000000000030 R14: dffffc0000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000076c000 CR3: 00000000a47d0000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hsr_handle_frame+0x2d6/0x650 net/hsr/hsr_slave.c:38 __netif_receive_skb_core+0xec3/0x2e80 net/core/dev.c:4876 __netif_receive_skb_one_core+0x99/0x160 net/core/dev.c:4945 __netif_receive_skb+0x27/0x1c0 net/core/dev.c:5059 process_backlog+0x233/0x7c0 net/core/dev.c:5841 napi_poll net/core/dev.c:6264 [inline] net_rx_action+0x4ab/0xfc0 net/core/dev.c:6330 __do_softirq+0x26c/0x93c kernel/softirq.c:292 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1091 do_softirq.part.0+0x10f/0x160 kernel/softirq.c:336 do_softirq kernel/softirq.c:328 [inline] __local_bh_enable_ip+0x20e/0x270 kernel/softirq.c:189 spin_unlock_bh include/linux/spinlock.h:374 [inline] __batadv_dat_purge.isra.0.part.0+0x255/0x370 net/batman-adv/distributed-arp-table.c:151 __batadv_dat_purge net/batman-adv/distributed-arp-table.c:132 [inline] batadv_dat_purge+0x49/0x70 net/batman-adv/distributed-arp-table.c:170 process_one_work+0x91f/0x1640 kernel/workqueue.c:2153 worker_thread+0x96/0xe20 kernel/workqueue.c:2296 kthread+0x34a/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Modules linked in: ---[ end trace 32297ca5df732612 ]--- RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline] RIP: 0010:hsr_addr_is_self+0x70/0x2e0 net/hsr/hsr_framereg.c:64 Code: 34 c7 00 f1 f1 f1 f1 c7 40 04 00 f3 f3 f3 65 48 8b 04 25 28 00 00 00 48 89 44 24 58 31 c0 e8 57 26 52 fa 4c 89 e8 48 c1 e8 03 <42> 80 3c 30 00 0f 85 3e 02 00 00 48 8b 43 30 49 39 c5 48 89 44 24 RSP: 0018:ffff8880ae607ad0 EFLAGS: 00010206 RAX: 0000000000000006 RBX: 0000000000000000 RCX: ffffffff8716088f RDX: 0000000000000100 RSI: ffffffff87157269 RDI: 0000000000000000 RBP: ffff8880a63e7088 R08: ffff8880a9486600 R09: ffffed1015cc4733 R10: ffffed1015cc4732 R11: ffff8880ae623993 R12: 1ffff11015cc0f5a R13: 0000000000000030 R14: dffffc0000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000076c000 CR3: 00000000a47d0000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400