bisecting fixing commit since cc4c818b2219c58af5f0ca59f3e9f02c48bc0b65 building syzkaller on aff9e255cd708709adef545d1f932020ee5c0978 testing commit cc4c818b2219c58af5f0ca59f3e9f02c48bc0b65 with gcc (GCC) 8.1.0 kernel signature: 9eed92dc27bdb0e468e4cc6853fbf374034ad22a8642876ad845d196bca9e575 all runs: crashed: general protection fault in rose_send_frame testing current HEAD 765675379b6253b6901563e649a2f87d28ada3ff testing commit 765675379b6253b6901563e649a2f87d28ada3ff with gcc (GCC) 8.1.0 kernel signature: d2a88f43f33e22fd1355b4796e4cdbcf58b0d7b16493670e0b9a1affa474c5af all runs: crashed: general protection fault in rose_send_frame revisions tested: 2, total time: 25m29.181184636s (build: 18m8.071191136s, test: 6m4.502826674s) the crash still happens on HEAD commit msg: Linux 4.19.119 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 kasan: CONFIG_KASAN_INLINE enabled 8021q: adding VLAN 0 to HW filter on device batadv0 kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.19.119-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:ffff8880aea07ae0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888216154a00 RCX: 0000000000000006 RDX: 000000000000006b RSI: ffffffff8781a9e0 RDI: 0000000000000358 RBP: ffff8880aea07b10 R08: ffffed1013d92685 R09: 0000000000000000 R10: ffffed1013d92684 R11: ffff88809ec93423 R12: ffff888216154a00 R13: 0000000000000078 R14: ffff88809a6e8e00 R15: ffff88809a6e8e00 FS: 0000000000000000(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d8c22d1908 CR3: 00000000914c1000 CR4: 00000000001406f0 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:893 RIP: 0010:native_safe_halt+0x12/0x20 arch/x86/include/asm/irqflags.h:61 Code: 11 ff ff ff 4c 89 e7 e8 8c fe 0f 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 30 c2 65 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:ffffffff88007c88 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: ffffffff88079e00 RCX: 0000000000000000 RDX: 1ffffffff10240ec RSI: 0000000000000001 RDI: ffffffff88120760 RBP: ffffffff88007c88 R08: ffffed1015d44733 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff88120750 R14: ffffffff88d355e0 R15: 0000000000000000 arch_safe_halt arch/x86/include/asm/paravirt.h:94 [inline] default_idle+0x51/0x310 arch/x86/kernel/process.c:565 arch_cpu_idle+0xa/0x10 arch/x86/kernel/process.c:556 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 rest_init+0x193/0x199 init/main.c:441 start_kernel+0x70d/0x746 init/main.c:737 x86_64_start_reservations+0x29/0x2b arch/x86/kernel/head64.c:490 x86_64_start_kernel+0x76/0x79 arch/x86/kernel/head64.c:471 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:243 Modules linked in: ---[ end trace 3dcdd54ecd03839a ]--- 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:ffff8880aea07ae0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888216154a00 RCX: 0000000000000006 RDX: 000000000000006b RSI: ffffffff8781a9e0 RDI: 0000000000000358 RBP: ffff8880aea07b10 R08: ffffed1013d92685 R09: 0000000000000000 R10: ffffed1013d92684 R11: ffff88809ec93423 R12: ffff888216154a00 R13: 0000000000000078 R14: ffff88809a6e8e00 R15: ffff88809a6e8e00 FS: 0000000000000000(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d8c22d1908 CR3: 000000000806d000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400