bisecting fixing commit since bc403203d65a874df2f3156046468052e4109cb0 building syzkaller on 744a39e220cece33e207035facce6c5ae161b775 testing commit bc403203d65a874df2f3156046468052e4109cb0 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 3ae80fbf793a1939c8a3efda1b0c448998bbb3a249cc376e17a6474ebfcb44d0 all runs: crashed: general protection fault in skb_clone testing current HEAD 018ab4fabddd94f1c96f3b59e180691b9e88d5d8 testing commit 018ab4fabddd94f1c96f3b59e180691b9e88d5d8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b2f5bb9f449152e954fe43eeeea7f46a643baa08b08a25b472cd127ca780977f run #0: basic kernel testing failed: BUG: program execution failed: executor NUM: exit status NUM run #1: basic kernel testing failed: BUG: program execution failed: executor NUM: failed to write control pipe: write |NUM: broken pipe run #2: crashed: general protection fault in skb_clone run #3: crashed: general protection fault in skb_clone run #4: crashed: general protection fault in skb_clone run #5: crashed: general protection fault in skb_clone run #6: crashed: general protection fault in skb_clone run #7: crashed: general protection fault in skb_clone run #8: crashed: general protection fault in skb_clone run #9: crashed: general protection fault in skb_clone revisions tested: 2, total time: 31m18.411638352s (build: 13m0.491200307s, test: 17m46.370892187s) the crash still happens on HEAD commit msg: netfs: fix up netfs_inode_init() docbook comment crash: general protection fault in skb_clone 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: 15271 Comm: syz-executor.0 Not tainted 5.19.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:skb_clone+0xd6/0x2f0 net/core/skbuff.c:1507 Code: 02 00 0f 85 fd 01 00 00 48 8b 5b 28 48 85 db 0f 85 ab 00 00 00 4c 8d 75 7e 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <0f> b6 04 02 4c 89 f2 83 e2 07 38 d0 7f 08 84 c0 0f 85 44 01 00 00 RSP: 0018:ffffc900034bf518 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: ffff88801f8d6d00 RCX: 1ffff1100eb404e1 RDX: 000000000000000f RSI: 0000000000000a20 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000140 R09: ffffffff8b2d3313 R10: fffffbfff165a662 R11: ffff888075a02640 R12: 0000000000000a20 R13: ffff88801f8d6d10 R14: 000000000000007e R15: ffffc900034bf5c8 FS: 00007faac2485700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faac2484ff8 CR3: 000000001e738000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hsr_forward_do net/hsr/hsr_forward.c:461 [inline] hsr_forward_skb+0xa6a/0x1ab0 net/hsr/hsr_forward.c:623 hsr_handle_frame+0x472/0x670 net/hsr/hsr_slave.c:69 __netif_receive_skb_core+0x782/0x2fd0 net/core/dev.c:5372 __netif_receive_skb_one_core+0xaa/0x180 net/core/dev.c:5476 netif_receive_skb_internal net/core/dev.c:5678 [inline] netif_receive_skb+0xec/0x640 net/core/dev.c:5737 tun_rx_batched.isra.0+0x4b5/0x7d0 drivers/net/tun.c:1533 tun_get_user+0x1df4/0x3210 drivers/net/tun.c:1984 tun_chr_write_iter+0xb7/0x1b0 drivers/net/tun.c:2014 call_write_iter include/linux/fs.h:2058 [inline] new_sync_write+0x2e0/0x520 fs/read_write.c:504 vfs_write+0x607/0x8f0 fs/read_write.c:591 ksys_write+0xee/0x1c0 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:0x7faac123bbff 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:00007faac2485130 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007faac139bf60 RCX: 00007faac123bbff RDX: 000000000000000e RSI: 0000000020000100 RDI: 00000000000000c8 RBP: 00007faac24851d0 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000000e R11: 0000000000000293 R12: 0000000000000001 R13: 00007ffcfb701caf R14: 00007faac2485300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:skb_clone+0xd6/0x2f0 net/core/skbuff.c:1507 Code: 02 00 0f 85 fd 01 00 00 48 8b 5b 28 48 85 db 0f 85 ab 00 00 00 4c 8d 75 7e 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <0f> b6 04 02 4c 89 f2 83 e2 07 38 d0 7f 08 84 c0 0f 85 44 01 00 00 RSP: 0018:ffffc900034bf518 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: ffff88801f8d6d00 RCX: 1ffff1100eb404e1 RDX: 000000000000000f RSI: 0000000000000a20 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000140 R09: ffffffff8b2d3313 R10: fffffbfff165a662 R11: ffff888075a02640 R12: 0000000000000a20 R13: ffff88801f8d6d10 R14: 000000000000007e R15: ffffc900034bf5c8 FS: 00007faac2485700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faac2484ff8 CR3: 000000001e738000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 02 00 add (%rax),%al 2: 0f 85 fd 01 00 00 jne 0x205 8: 48 8b 5b 28 mov 0x28(%rbx),%rbx c: 48 85 db test %rbx,%rbx f: 0f 85 ab 00 00 00 jne 0xc0 15: 4c 8d 75 7e lea 0x7e(%rbp),%r14 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 4c 89 f2 mov %r14,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 4c 89 f2 mov %r14,%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 44 01 00 00 jne 0x184