bisecting fixing commit since 17a87580a8856170d59aab302226811a4ae69149 building syzkaller on e562dd8adff015d44bec3d7fd8e6608a3a031ff3 testing commit 17a87580a8856170d59aab302226811a4ae69149 with gcc (GCC) 8.1.0 kernel signature: 9212c413969b5299f2aefb737afc0def26e1cfaa70d3edcf9cd1a4f8aaf2c689 all runs: crashed: general protection fault in rose_send_frame testing current HEAD a834132bd465f9d7f4049be65648e01cf2533cb8 testing commit a834132bd465f9d7f4049be65648e01cf2533cb8 with gcc (GCC) 8.1.0 kernel signature: fafdfbcce24be0eaf09d77f069d77629c96e9eeeb43839a18df5e9d5edffdb2a all runs: crashed: general protection fault in rose_send_frame revisions tested: 2, total time: 28m1.848601494s (build: 19m11.02630365s, test: 7m27.385067946s) the crash still happens on HEAD commit msg: Linux 4.19.140 crash: general protection fault in rose_send_frame batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready kasan: CONFIG_KASAN_INLINE enabled batman_adv: batadv0: Interface activated: batadv_slave_1 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.140-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rose_send_frame+0x194/0x230 net/rose/rose_link.c:104 Code: 79 fb eb 93 80 3c 02 00 0f 85 84 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 75 6c 49 8b 91 58 03 00 00 e9 b4 fe ff ff e8 c5 ac 79 RSP: 0018:ffff8880aeb07ab8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88821631cc80 RCX: 0000000000000006 RDX: 000000000000006b RSI: ffffffff87cc8b60 RDI: 0000000000000358 RBP: ffff8880aeb07ae8 R08: ffffed10124e687d R09: 0000000000000000 R10: ffffed10124e687c R11: ffff8880927343e3 R12: ffff88821631cc80 R13: 0000000000000078 R14: ffff8880953ba480 R15: ffff8880953ba480 FS: 0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000078c000 CR3: 0000000092658000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rose_transmit_clear_request+0x1c7/0x280 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:1338 expire_timers+0x255/0x3a0 kernel/time/timer.c:1375 __run_timers kernel/time/timer.c:1703 [inline] run_timer_softirq+0x1dc/0x570 kernel/time/timer.c:1716 __do_softirq+0x25e/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 6c 9b bc fa 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 f9 51 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:ffff8880a982fcf8 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: ffff8880a981c3c0 RCX: 0000000000000000 RDX: 1ffffffff10a40b4 RSI: 0000000000000001 RDI: ffffffff885205a0 RBP: ffff8880a982fcf8 R08: ffffed1015d6473b R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: ffffffff88520590 R14: ffffffff89233318 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+0x451/0x570 kernel/sched/idle.c:263 cpu_startup_entry+0xc8/0xe0 kernel/sched/idle.c:369 start_secondary+0x443/0x590 arch/x86/kernel/smpboot.c:271 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:243 Modules linked in: ---[ end trace 430c914dde5f27c2 ]--- RIP: 0010:rose_send_frame+0x194/0x230 net/rose/rose_link.c:104 Code: 79 fb eb 93 80 3c 02 00 0f 85 84 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 75 6c 49 8b 91 58 03 00 00 e9 b4 fe ff ff e8 c5 ac 79 RSP: 0018:ffff8880aeb07ab8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88821631cc80 RCX: 0000000000000006 RDX: 000000000000006b RSI: ffffffff87cc8b60 RDI: 0000000000000358 RBP: ffff8880aeb07ae8 R08: ffffed10124e687d R09: 0000000000000000 R10: ffffed10124e687c R11: ffff8880927343e3 R12: ffff88821631cc80 R13: 0000000000000078 R14: ffff8880953ba480 R15: ffff8880953ba480 FS: 0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000078c000 CR3: 0000000092658000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400