general protection fault, probably for non-canonical address 0xdffffc000000000f: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000078-0x000000000000007f] CPU: 0 PID: 3665 Comm: syz-executor195 Not tainted 5.18.0-rc6-next-20220513-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:skb_clone+0x107/0x3c0 net/core/skbuff.c:1504 Code: 00 00 49 8b 5c 24 28 48 85 db 0f 85 ec 00 00 00 e8 de 44 2a fa 4c 8d 7d 7e 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 <0f> b6 04 02 4c 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 d3 01 00 00 RSP: 0018:ffffc90002faf488 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: ffffc90002faf598 RCX: 0000000000000000 RDX: 000000000000000f RSI: ffffffff87506512 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000140 R09: ffffffff8bee7233 R10: fffffbfff17dce46 R11: 0000000000000000 R12: ffff88801c18d140 R13: 0000000000000820 R14: ffff88801c18d210 R15: 000000000000007e FS: 000055555677f300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa8fc9522a4 CR3: 0000000076b93000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hsr_get_untagged_frame+0x4e/0x5b0 net/hsr/hsr_forward.c:164 hsr_forward_do net/hsr/hsr_forward.c:461 [inline] hsr_forward_skb+0xc7a/0x1c60 net/hsr/hsr_forward.c:623 hsr_handle_frame+0x55c/0x780 net/hsr/hsr_slave.c:69 __netif_receive_skb_core+0xa13/0x3920 net/core/dev.c:5367 __netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:5471 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5587 netif_receive_skb_internal net/core/dev.c:5673 [inline] netif_receive_skb+0x13e/0x8e0 net/core/dev.c:5732 tun_rx_batched.isra.0+0x460/0x720 drivers/net/tun.c:1533 tun_get_user+0x26cc/0x3b00 drivers/net/tun.c:1984 tun_chr_write_iter+0xdb/0x200 drivers/net/tun.c:2014 call_write_iter include/linux/fs.h:2060 [inline] new_sync_write+0x38a/0x560 fs/read_write.c:504 vfs_write+0x7c0/0xac0 fs/read_write.c:591 ksys_write+0x127/0x250 fs/read_write.c:644 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7fa8fc8b2d63 Code: e9 0e ec ff ff bf 01 00 00 00 e8 a8 6f 00 00 0f 1f 84 00 00 00 00 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 RSP: 002b:00007fff74714c38 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fa8fc8b2d63 RDX: 000000000000000e RSI: 0000000020000100 RDI: 00000000000000c8 RBP: 00007fff74714c60 R08: 0000000000000000 R09: 0000000000000001 R10: 00007fff747149d7 R11: 0000000000000246 R12: 0000000000000003 R13: 00007fff74714c80 R14: 00007fff74714c70 R15: 00007fff74714c4c Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:skb_clone+0x107/0x3c0 net/core/skbuff.c:1504 Code: 00 00 49 8b 5c 24 28 48 85 db 0f 85 ec 00 00 00 e8 de 44 2a fa 4c 8d 7d 7e 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 <0f> b6 04 02 4c 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 d3 01 00 00 RSP: 0018:ffffc90002faf488 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: ffffc90002faf598 RCX: 0000000000000000 RDX: 000000000000000f RSI: ffffffff87506512 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000140 R09: ffffffff8bee7233 R10: fffffbfff17dce46 R11: 0000000000000000 R12: ffff88801c18d140 R13: 0000000000000820 R14: ffff88801c18d210 R15: 000000000000007e FS: 000055555677f300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa8fc9522a4 CR3: 0000000076b93000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 49 8b 5c 24 28 mov 0x28(%r12),%rbx 7: 48 85 db test %rbx,%rbx a: 0f 85 ec 00 00 00 jne 0xfc 10: e8 de 44 2a fa callq 0xfa2a44f3 15: 4c 8d 7d 7e lea 0x7e(%rbp),%r15 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 4c 89 fa mov %r15,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 4c 89 fa mov %r15,%rdx 31: 83 e2 07 and $0x7,%edx 34: 38 d0 cmp %dl,%al 36: 7f 08 jg 0x40 38: 84 c0 test %al,%al 3a: 0f 85 d3 01 00 00 jne 0x213