bisecting fixing commit since 19bb613acb9ad8e57593cad5118acaee117cc303 building syzkaller on b617407b25b37a7a8efa47127005d1f20dd0abe1 testing commit 19bb613acb9ad8e57593cad5118acaee117cc303 with gcc (GCC) 8.1.0 kernel signature: ce9018280c8e625d9b6cb83258b399e390bb4d43 all runs: crashed: general protection fault in rose_send_frame testing current HEAD 174651bdf802a2139065e8e31ce950e2f3fc4a94 testing commit 174651bdf802a2139065e8e31ce950e2f3fc4a94 with gcc (GCC) 8.1.0 kernel signature: ec325769f3ddc5f276b47267dcfc3e9ea2893d43 all runs: crashed: general protection fault in rose_send_frame revisions tested: 2, total time: 24m42.1865837s (build: 17m16.430563269s, test: 6m22.114357438s) the crash still happens on HEAD commit msg: Linux 4.19.87 crash: general protection fault in rose_send_frame IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready 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 8021q: adding VLAN 0 to HW filter on device batadv0 CPU: 1 PID: 3601 Comm: udevd Not tainted 4.19.87-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 kobject: 'vlan0' (0000000060254c2a): kobject_add_internal: parent: 'mesh', set: '' 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: ffff8882160afd40 RCX: 0000000000000006 RDX: 000000000000006b RSI: ffffffff875db440 RDI: 0000000000000358 RBP: ffff8880aeb07b10 R08: ffffed10121d776d R09: 0000000000000000 R10: ffffed10121d776c R11: ffff888090ebbb63 R12: ffff8882160afd40 R13: 0000000000000078 R14: ffff8880a5370040 R15: ffff8880a5370040 FS: 00007f1e65daf7a0(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000070f934 CR3: 0000000096637000 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/0x1c13 net/rose/af_rose.c:999 rose_loopback_timer+0x11f/0x430 net/rose/rose_loopback.c:103 call_timer_fn+0x14f/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+0xb69/0x1190 kernel/time/timer.c:1697 __do_softirq+0x269/0x93a 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:536 [inline] smp_apic_timer_interrupt+0x14a/0x550 arch/x86/kernel/apic/apic.c:1094 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:893 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:lock_acquire+0x1f1/0x3d0 kernel/locking/lockdep.c:3906 Code: 00 00 00 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 ac 01 00 00 48 83 3d 93 c7 a5 06 00 0f 84 33 01 00 00 48 8b 7d c8 57 9d <0f> 1f 44 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 65 8b RSP: 0018:ffff8880966af648 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: ffff8880966a2080 RCX: 1ffff11012cd452e RDX: 1ffffffff0fe4129 RSI: 0000000000000000 RDI: 0000000000000282 RBP: ffff8880966af690 R08: 000000000000440a R09: 0000000000000002 R10: ffff8880966a2950 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 __fs_reclaim_acquire mm/page_alloc.c:3757 [inline] fs_reclaim_acquire.part.98+0x24/0x30 mm/page_alloc.c:3768 fs_reclaim_acquire+0x14/0x20 mm/page_alloc.c:3769 slab_pre_alloc_hook mm/slab.h:419 [inline] slab_alloc mm/slab.c:3383 [inline] kmem_cache_alloc+0x29/0x730 mm/slab.c:3557 alloc_inode+0x89/0x150 fs/inode.c:212 iget_locked+0x147/0x3f0 fs/inode.c:1168 kernfs_get_inode+0x49/0x510 fs/kernfs/inode.c:269 kernfs_iop_lookup+0x167/0x1f0 fs/kernfs/dir.c:1095 __lookup_slow+0x21b/0x410 fs/namei.c:1671 lookup_slow+0x51/0x70 fs/namei.c:1688 walk_component+0x699/0x2330 fs/namei.c:1810 lookup_last fs/namei.c:2273 [inline] path_lookupat.isra.44+0x180/0x850 fs/namei.c:2318 filename_lookup.part.58+0x160/0x360 fs/namei.c:2348 filename_lookup fs/namei.c:2341 [inline] user_path_at_empty+0x39/0x40 fs/namei.c:2608 do_readlinkat+0xcc/0x2c0 fs/stat.c:394 __do_sys_readlink fs/stat.c:427 [inline] __se_sys_readlink fs/stat.c:424 [inline] __x64_sys_readlink+0x73/0xb0 fs/stat.c:424 do_syscall_64+0xd6/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f1e654b8577 Code: f0 ff ff 77 02 f3 c3 48 8b 15 bd 38 2b 00 f7 d8 64 89 02 83 c8 ff c3 90 90 90 90 90 90 90 90 90 90 90 90 b8 59 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 91 38 2b 00 31 d2 48 29 c2 64 RSP: 002b:00007fff5460e848 EFLAGS: 00000246 ORIG_RAX: 0000000000000059 RAX: ffffffffffffffda RBX: 00000000020f0030 RCX: 00007f1e654b8577 RDX: 0000000000000400 RSI: 00007fff5460e850 RDI: 00007fff5460ed30 RBP: 00007fff5460f590 R08: 00007fff5460f590 R09: 00007f1e6550cde0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff5460ed30 R13: 0000000000000400 R14: 00000000021003f0 R15: 00000000020f0030 Modules linked in: ---[ end trace 46b90d347cb7ec9e ]--- 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: ffff8882160afd40 RCX: 0000000000000006 RDX: 000000000000006b RSI: ffffffff875db440 RDI: 0000000000000358 RBP: ffff8880aeb07b10 R08: ffffed10121d776d R09: 0000000000000000 R10: ffffed10121d776c R11: ffff888090ebbb63 R12: ffff8882160afd40 R13: 0000000000000078 R14: ffff8880a5370040 R15: ffff8880a5370040 FS: 00007f1e65daf7a0(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000070f934 CR3: 0000000096637000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400