bisecting fixing commit since b19ffe6e7205c0b0d26b750673873f3f9f61da35 building syzkaller on aff9e255cd708709adef545d1f932020ee5c0978 testing commit b19ffe6e7205c0b0d26b750673873f3f9f61da35 with gcc (GCC) 8.1.0 kernel signature: 6c6f8c98d294ec70f564bf2ba97b66fe1feeb349c35b530278d9c0a5f5568d98 all runs: crashed: general protection fault in rose_send_frame testing current HEAD 78d697fc93f98054e36a3ab76dca1a88802ba7be testing commit 78d697fc93f98054e36a3ab76dca1a88802ba7be with gcc (GCC) 8.1.0 kernel signature: 0573afc8f3becfc396ffc7dfdd4a3db87d65febf53db19dfab708e2c5c6cef42 all runs: crashed: general protection fault in rose_send_frame revisions tested: 2, total time: 24m12.943259579s (build: 16m54.777542543s, test: 6m39.0762169s) the crash still happens on HEAD commit msg: Linux 4.14.172 crash: general protection fault in rose_send_frame 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 Modules linked in: CPU: 0 PID: 7129 Comm: modprobe Not tainted 4.14.172-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880a8caa500 task.stack: ffff8880922a8000 RIP: 0010:rose_send_frame+0x140/0x240 net/rose/rose_link.c:104 RSP: 0000:ffff8880aee07b40 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888215db02c0 RCX: 0000000000000006 RDX: 000000000000006b RSI: ffffffff871911c0 RDI: 0000000000000358 RBP: ffff8880aee07b70 R08: ffffed1012058acd R09: 0000000000000000 R10: ffffed1012058acc R11: ffff8880902c5663 R12: ffff888215db02c0 R13: 0000000000000078 R14: ffff888087f7e0c0 R15: ffff888087f7e0c0 FS: 00007f1959de1700(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005634832be000 CR3: 0000000093165000 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+0x395/0x1d4b net/rose/af_rose.c:1000 rose_loopback_timer+0x11f/0x430 net/rose/rose_loopback.c:103 call_timer_fn+0x142/0x570 kernel/time/timer.c:1279 expire_timers kernel/time/timer.c:1318 [inline] __run_timers kernel/time/timer.c:1636 [inline] run_timer_softirq+0xc99/0x1210 kernel/time/timer.c:1649 __do_softirq+0x246/0x9b0 kernel/softirq.c:288 invoke_softirq kernel/softirq.c:368 [inline] irq_exit+0x15f/0x1a0 kernel/softirq.c:409 exiting_irq arch/x86/include/asm/apic.h:648 [inline] smp_apic_timer_interrupt+0x149/0x5d0 arch/x86/kernel/apic/apic.c:1102 apic_timer_interrupt+0x96/0xa0 arch/x86/entry/entry_64.S:792 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:779 [inline] RIP: 0010:lock_acquire+0x1f1/0x400 kernel/locking/lockdep.c:3997 RSP: 0000:ffff8880922afda0 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff10 RAX: dffffc0000000000 RBX: ffff8880a8caa500 RCX: ffff8880a8caad80 RDX: 1ffffffff0f22d41 RSI: ffff8880a8caada8 RDI: 0000000000000282 RBP: ffff8880922afde8 R08: ffff8880a8caadc8 R09: 0000000000000000 R10: 0000000000000028 R11: ffff8880a8caa500 R12: 0000000000000000 R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:242 [inline] rcu_read_lock include/linux/rcupdate.h:629 [inline] count_memcg_event_mm include/linux/memcontrol.h:654 [inline] handle_mm_fault+0xd5/0x6e0 mm/memory.c:4130 __do_page_fault+0x44d/0xb00 arch/x86/mm/fault.c:1420 do_page_fault+0x64/0x3fb arch/x86/mm/fault.c:1495 page_fault+0x45/0x50 arch/x86/entry/entry_64.S:1122 RIP: 0033:0x7f195969fb23 RSP: 002b:00007ffdea7f6410 EFLAGS: 00010216 RAX: 00005634832bdfe0 RBX: 00007f19599afe98 RCX: 0000000000000030 RDX: 00007f19599afe98 RSI: 0000000000000022 RDI: 00007f19599afe40 RBP: 00007f19599afe40 R08: 00005634832bdfb0 R09: 00007ffdea7f65b8 R10: 0000000000000000 R11: 6a616d5f72616863 R12: 00007f19599b05d8 R13: 00005634832bdfb0 R14: 0000000000007250 R15: 0000000000007220 Code: 5d 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 RIP: rose_send_frame+0x140/0x240 net/rose/rose_link.c:104 RSP: ffff8880aee07b40 ---[ end trace c5660e647405e5be ]---