bisecting fixing commit since cc4c818b2219c58af5f0ca59f3e9f02c48bc0b65 building syzkaller on aff9e255cd708709adef545d1f932020ee5c0978 testing commit cc4c818b2219c58af5f0ca59f3e9f02c48bc0b65 with gcc (GCC) 8.1.0 kernel signature: 341519e1f66b941d32452814fd1bb5e89bc556fa38d293abcdb90acb19384257 all runs: crashed: general protection fault in rose_send_frame testing current HEAD a39e75458e1ceb7fefaa3a0bd9df21558713cf0d testing commit a39e75458e1ceb7fefaa3a0bd9df21558713cf0d with gcc (GCC) 8.1.0 kernel signature: 7ff79b8ad5eec387e7917d3de24c3e7cbf87a8c7b70f9afa66df7f196169a9d5 all runs: crashed: general protection fault in rose_send_frame revisions tested: 2, total time: 22m50.531340828s (build: 16m6.663279036s, test: 6m1.687271447s) the crash still happens on HEAD commit msg: Linux 4.19.130 crash: general protection fault in rose_send_frame IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready 8021q: adding VLAN 0 to HW filter on device batadv0 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: 1 PID: 0 Comm: swapper/1 Not tainted 4.19.130-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rose_send_frame+0x140/0x240 net/rose/rose_link.c:104 Code: 41 5e 5d c3 80 3c 02 00 0f 85 e0 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 4b 20 49 8d b9 58 03 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 d1 00 00 00 49 8b 91 58 03 00 00 e9 04 ff ff ff RSP: 0018:ffff8880aeb07ae0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88809b256ac0 RCX: 0000000000000006 RDX: 000000000000006b RSI: ffffffff8781e820 RDI: 0000000000000358 RBP: ffff8880aeb07b10 R08: ffffed1012ce7715 R09: 0000000000000000 R10: ffffed1012ce7714 R11: ffff88809673b8a3 R12: ffff88809b256ac0 R13: 0000000000000078 R14: ffff88809f313ac0 R15: ffff88809f313ac0 FS: 0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c1a95df920 CR3: 00000000a69bb000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rose_transmit_clear_request+0x1d0/0x290 net/rose/rose_link.c:258 rose_rx_call_request+0x3a4/0x1c0e net/rose/af_rose.c:999 rose_loopback_timer+0x11f/0x430 net/rose/rose_loopback.c:103 call_timer_fn+0x14c/0x510 kernel/time/timer.c:1326 expire_timers kernel/time/timer.c:1363 [inline] __run_timers kernel/time/timer.c:1684 [inline] run_timer_softirq+0xb63/0x1180 kernel/time/timer.c:1697 __do_softirq+0x260/0x92d kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x17f/0x1c0 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:544 [inline] smp_apic_timer_interrupt+0x13e/0x540 arch/x86/kernel/apic/apic.c:1094 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:native_safe_halt+0x12/0x20 arch/x86/include/asm/irqflags.h:61 Code: 11 ff ff ff 4c 89 e7 e8 cc 60 0e fb eb 97 90 90 90 90 90 90 90 90 90 90 55 48 89 e5 e9 07 00 00 00 0f 00 2d a0 49 63 00 fb f4 <5d> c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 e9 07 00 00 RSP: 0018:ffff8880aa3afcf8 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: ffff8880aa39c3c0 RCX: 0000000000000000 RDX: 1ffffffff1024164 RSI: 0000000000000001 RDI: ffffffff88120b20 RBP: ffff8880aa3afcf8 R08: ffffed1015d64733 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: ffffffff88120b10 R14: ffffffff88d3a220 R15: 0000000000000001 arch_safe_halt arch/x86/include/asm/paravirt.h:94 [inline] default_idle+0x51/0x310 arch/x86/kernel/process.c:557 arch_cpu_idle+0xa/0x10 arch/x86/kernel/process.c:548 default_idle_call+0x6d/0x90 kernel/sched/idle.c:93 cpuidle_idle_call kernel/sched/idle.c:153 [inline] do_idle+0x41e/0x560 kernel/sched/idle.c:263 cpu_startup_entry+0xc8/0xe0 kernel/sched/idle.c:369 start_secondary+0x403/0x5a0 arch/x86/kernel/smpboot.c:271 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:243 Modules linked in: ---[ end trace cf5b22d0c00b1472 ]--- RIP: 0010:rose_send_frame+0x140/0x240 net/rose/rose_link.c:104 Code: 41 5e 5d c3 80 3c 02 00 0f 85 e0 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 4b 20 49 8d b9 58 03 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 d1 00 00 00 49 8b 91 58 03 00 00 e9 04 ff ff ff RSP: 0018:ffff8880aeb07ae0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88809b256ac0 RCX: 0000000000000006 RDX: 000000000000006b RSI: ffffffff8781e820 RDI: 0000000000000358 RBP: ffff8880aeb07b10 R08: ffffed1012ce7715 R09: 0000000000000000 R10: ffffed1012ce7714 R11: ffff88809673b8a3 R12: ffff88809b256ac0 R13: 0000000000000078 R14: ffff88809f313ac0 R15: ffff88809f313ac0 FS: 0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c1a95df920 CR3: 00000000a69bb000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400