bisecting fixing commit since cc4c818b2219c58af5f0ca59f3e9f02c48bc0b65 building syzkaller on aff9e255cd708709adef545d1f932020ee5c0978 testing commit cc4c818b2219c58af5f0ca59f3e9f02c48bc0b65 with gcc (GCC) 8.1.0 kernel signature: 19b7f83ffa85e3480c05df9e9433f201ddc6c42a all runs: crashed: general protection fault in rose_send_frame testing current HEAD c7ecf3e3a71c216327980f26b1e895ce9b07ad31 testing commit c7ecf3e3a71c216327980f26b1e895ce9b07ad31 with gcc (GCC) 8.1.0 kernel signature: 338457f00f23bcd378b2d99d1816fca8319c8bd9 all runs: crashed: general protection fault in rose_send_frame revisions tested: 2, total time: 25m33.535341517s (build: 17m4.573190845s, test: 7m21.670895679s) the crash still happens on HEAD commit msg: Linux 4.19.92 crash: general protection fault in rose_send_frame IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes 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 IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 7070 Comm: syz-executor.2 Not tainted 4.19.92-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: ffff88809b044300 RCX: 0000000000000006 RDX: 000000000000006b RSI: ffffffff87617d40 RDI: 0000000000000358 RBP: ffff8880aea07b10 R08: ffffed101044031d R09: 0000000000000000 R10: ffffed101044031c R11: ffff8880822018e3 R12: ffff88809b044300 R13: 0000000000000078 R14: ffff8880a5213640 R15: ffff8880a5213640 FS: 0000000002a6c940(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fca431c0db8 CR3: 0000000086578000 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:536 [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:lock_is_held_type+0x10/0x210 kernel/locking/lockdep.c:3930 Code: c8 e8 74 2c 46 00 e9 63 ff ff ff e8 6a 2c 46 00 eb ad 0f 1f 84 00 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 e5 41 55 <49> 89 fd 41 54 53 65 48 8b 1c 25 40 ee 01 00 48 8d bb 7c 08 00 00 RSP: 0018:ffff88809272fa10 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: ffff88807fba2380 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff87f99e60 RBP: ffff88809272fa18 R08: 0000000000000000 R09: 0000000000000000 R10: ffff88807fba2c00 R11: 0000000000000001 R12: 0000000000000000 R13: ffffffff87ad8584 R14: 0000000000000bff R15: 00000000006000c0 lock_is_held include/linux/lockdep.h:344 [inline] ___might_sleep+0x1fe/0x2a0 kernel/sched/core.c:6157 __might_sleep+0x95/0x190 kernel/sched/core.c:6145 cache_alloc_debugcheck_before mm/slab.c:3071 [inline] slab_alloc mm/slab.c:3387 [inline] kmem_cache_alloc+0x2ec/0x730 mm/slab.c:3557 alloc_pid+0x54/0x830 kernel/pid.c:168 copy_process.part.35+0x441b/0x7330 kernel/fork.c:1901 copy_process kernel/fork.c:1684 [inline] _do_fork+0x15d/0xba0 kernel/fork.c:2197 __do_sys_clone kernel/fork.c:2304 [inline] __se_sys_clone kernel/fork.c:2298 [inline] __x64_sys_clone+0xba/0x140 kernel/fork.c:2298 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c1f9 Code: ff 48 85 f6 0f 84 27 8e fb ff 48 83 ee 10 48 89 4e 08 48 89 3e 48 89 d7 4c 89 c2 4d 89 c8 4c 8b 54 24 08 b8 38 00 00 00 0f 05 <48> 85 c0 0f 8c fe 8d fb ff 74 01 c3 31 ed 48 f7 c7 00 00 01 00 75 RSP: 002b:00007ffd43d5a858 EFLAGS: 00000202 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007fca431c1700 RCX: 000000000045c1f9 RDX: 00007fca431c19d0 RSI: 00007fca431c0db0 RDI: 00000000003d0f00 RBP: 00007ffd43d5aa70 R08: 00007fca431c1700 R09: 00007fca431c1700 R10: 00007fca431c19d0 R11: 0000000000000202 R12: 0000000000000000 R13: 00007ffd43d5a90f R14: 00007fca431c19c0 R15: 000000000075bfd4 Modules linked in: ---[ end trace 5af040e71367435d ]--- 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: ffff88809b044300 RCX: 0000000000000006 RDX: 000000000000006b RSI: ffffffff87617d40 RDI: 0000000000000358 RBP: ffff8880aea07b10 R08: ffffed101044031d R09: 0000000000000000 R10: ffffed101044031c R11: ffff8880822018e3 R12: ffff88809b044300 R13: 0000000000000078 R14: ffff8880a5213640 R15: ffff8880a5213640 FS: 0000000002a6c940(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fca431c0db8 CR3: 0000000086578000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400