RBP: 00007fd52d7ae1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000002a R11: 0000000000000293 R12: 0000000000000001 R13: 00007fff4dacd72f R14: 00007fd52d7ae300 R15: 0000000000022000 general protection fault, probably for non-canonical address 0xdffffc000000000f: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000078-0x000000000000007f] CPU: 1 PID: 30815 Comm: syz-executor.2 Not tainted 5.16.0-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:1511 Code: 00 00 49 8b 5c 24 28 48 85 db 0f 85 ec 00 00 00 e8 1e 35 50 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:ffffc9000fca74a0 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: ffffc9000fca75a8 RCX: ffffc90005a59000 RDX: 000000000000000f RSI: ffffffff872741d2 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000140 R09: ffffffff8bcd2313 R10: fffffbfff179a462 R11: 0000000000000000 R12: ffff888029314b40 R13: 0000000000000a20 R14: ffff888029314c08 R15: 000000000000007e FS: 00007fd52d7ae700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd52d7adff8 CR3: 0000000079c2f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hsr_get_untagged_frame+0x4e/0x5a0 net/hsr/hsr_forward.c:164 hsr_forward_do net/hsr/hsr_forward.c:461 [inline] hsr_forward_skb+0xc0d/0x1bc0 net/hsr/hsr_forward.c:620 hsr_handle_frame+0x565/0x790 net/hsr/hsr_slave.c:69 __netif_receive_skb_core+0x9f9/0x3850 net/core/dev.c:5245 __netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:5349 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5465 netif_receive_skb_internal net/core/dev.c:5551 [inline] netif_receive_skb+0x13e/0x8e0 net/core/dev.c:5610 tun_rx_batched.isra.0+0x460/0x720 drivers/net/tun.c:1516 tun_get_user+0x257e/0x3720 drivers/net/tun.c:1963 tun_chr_write_iter+0xdd/0x1a0 drivers/net/tun.c:1993 call_write_iter include/linux/fs.h:2162 [inline] new_sync_write+0x429/0x660 fs/read_write.c:503 vfs_write+0x7cd/0xae0 fs/read_write.c:590 ksys_write+0x12d/0x250 fs/read_write.c:643 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+0x44/0xae RIP: 0033:0x7fd52edebaff Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:00007fd52d7ae130 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fd52ef4bf60 RCX: 00007fd52edebaff RDX: 000000000000002a RSI: 0000000020001180 RDI: 00000000000000c8 RBP: 00007fd52d7ae1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000002a R11: 0000000000000293 R12: 0000000000000001 R13: 00007fff4dacd72f R14: 00007fd52d7ae300 R15: 0000000000022000 Modules linked in: ---[ end trace 243f67184e74c4c4 ]--- RIP: 0010:skb_clone+0x107/0x3c0 net/core/skbuff.c:1511 Code: 00 00 49 8b 5c 24 28 48 85 db 0f 85 ec 00 00 00 e8 1e 35 50 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:ffffc9000fca74a0 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: ffffc9000fca75a8 RCX: ffffc90005a59000 RDX: 000000000000000f RSI: ffffffff872741d2 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000140 R09: ffffffff8bcd2313 R10: fffffbfff179a462 R11: 0000000000000000 R12: ffff888029314b40 R13: 0000000000000a20 R14: ffff888029314c08 R15: 000000000000007e FS: 00007fd52d7ae700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd52d7adff8 CR3: 0000000079c2f000 CR4: 00000000003506e0 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 1e 35 50 fa callq 0xfa503533 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