kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN XFS (loop1): Unmounting Filesystem Modules linked in: CPU: 1 PID: 9103 Comm: kworker/1:4 Not tainted 4.14.305-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Workqueue: events linkwatch_event task: ffff88808d012300 task.stack: ffff88808d018000 RIP: 0010:hsr_check_carrier_and_operstate+0x3f/0x710 net/hsr/hsr_device.c:116 RSP: 0018:ffff88808d01fb78 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888057d62c00 RCX: 0000000000000001 RDX: 0000000000000002 RSI: 0000000000000004 RDI: ffff88809ee698a0 RBP: ffff888066127200 R08: 0000000000000000 R09: 0000000000000003 R10: 0000000000000000 R11: ffff88808d012300 R12: 0000000000000001 R13: ffff888066127200 R14: 0000000000000000 R15: 0000000000000004 FS: 0000000000000000(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1bbf292718 CR3: 000000009ce83000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hsr_netdev_notify+0x201/0x8b0 net/hsr/hsr_main.c:51 notifier_call_chain+0x108/0x1a0 kernel/notifier.c:93 call_netdevice_notifiers_info net/core/dev.c:1667 [inline] netdev_state_change net/core/dev.c:1314 [inline] netdev_state_change+0xca/0xf0 net/core/dev.c:1308 linkwatch_do_dev+0x8a/0x100 net/core/link_watch.c:164 __linkwatch_run_queue+0x260/0x480 net/core/link_watch.c:202 linkwatch_event+0x3c/0x50 net/core/link_watch.c:237 process_one_work+0x793/0x14a0 kernel/workqueue.c:2117 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2251 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406 Code: 59 fa be 04 00 00 00 48 89 ef e8 0d b0 ff ff 49 89 c6 48 83 c0 10 48 89 c2 48 89 04 24 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 67 06 00 00 48 b8 00 00 00 00 00 fc ff df 49 RIP: hsr_check_carrier_and_operstate+0x3f/0x710 net/hsr/hsr_device.c:116 RSP: ffff88808d01fb78 ---[ end trace 10505aa7f6d3f97a ]--- ---------------- Code disassembly (best guess): 0: 59 pop %rcx 1: fa cli 2: be 04 00 00 00 mov $0x4,%esi 7: 48 89 ef mov %rbp,%rdi a: e8 0d b0 ff ff callq 0xffffb01c f: 49 89 c6 mov %rax,%r14 12: 48 83 c0 10 add $0x10,%rax 16: 48 89 c2 mov %rax,%rdx 19: 48 89 04 24 mov %rax,(%rsp) 1d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 24: fc ff df 27: 48 c1 ea 03 shr $0x3,%rdx * 2b: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2f: 0f 85 67 06 00 00 jne 0x69c 35: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 3c: fc ff df 3f: 49 rex.WB