bisecting fixing commit since cc4c818b2219c58af5f0ca59f3e9f02c48bc0b65 building syzkaller on aff9e255cd708709adef545d1f932020ee5c0978 testing commit cc4c818b2219c58af5f0ca59f3e9f02c48bc0b65 with gcc (GCC) 8.1.0 kernel signature: 1e616d28aea5efbf08b1aaef1669f8c81bda194e5e52e28928d6003f51c3227d all runs: crashed: general protection fault in rose_send_frame testing current HEAD 32ee7492f104d82b01a44fc4b4ae17d5d2bb237b testing commit 32ee7492f104d82b01a44fc4b4ae17d5d2bb237b with gcc (GCC) 8.1.0 kernel signature: 3d5561633cb0cf9f5c1b5e368e480fd04c43e74a4c56fe0c4e90aaca58746b1e all runs: crashed: general protection fault in rose_send_frame revisions tested: 2, total time: 25m42.719388748s (build: 17m55.297158561s, test: 6m38.057482165s) the crash still happens on HEAD commit msg: Linux 4.19.101 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 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 CPU: 0 PID: 7147 Comm: syz-executor.3 Not tainted 4.19.101-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: ffff88809b2b8340 RCX: 0000000000000006 RDX: 000000000000006b RSI: ffffffff87618960 RDI: 0000000000000358 RBP: ffff8880aea07b10 R08: ffffed1012f1575d R09: 0000000000000000 R10: ffffed1012f1575c R11: ffff8880978abae3 R12: ffff88809b2b8340 R13: 0000000000000078 R14: ffff8880942176c0 R15: ffff8880942176c0 FS: 0000000001e19940(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001e22978 CR3: 000000009ab40000 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:ext4_orphan_del+0x0/0x9b0 fs/ext4/namei.c:2864 Code: 44 8b 54 24 18 4c 8b 5c 24 28 e9 0b f7 ff ff 48 89 df e8 63 1f ba ff 44 8b 54 24 18 4c 8b 5c 24 28 e9 7b f7 ff ff 0f 1f 40 00 <48> ba 00 00 00 00 00 fc ff df 55 48 89 e5 41 57 49 89 f7 41 56 41 RSP: 0018:ffff88808f52fc08 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: 1ffff11011ea5f87 RCX: 1ffff11043183a8c RDX: 1ffff1101202de58 RSI: ffff88809016f470 RDI: 0000000000000001 RBP: ffff88808f52fcc0 R08: 0000000000000000 R09: ffff88809016f2c0 R10: ffffed101083179b R11: ffff88809016f498 R12: 0000000000000001 R13: ffff88809016f498 R14: ffff88809016f470 R15: ffff88809016f47c evict+0x29c/0x590 fs/inode.c:558 iput_final fs/inode.c:1554 [inline] iput+0x378/0x6b0 fs/inode.c:1580 do_unlinkat+0x47c/0x670 fs/namei.c:4071 __do_sys_unlink fs/namei.c:4112 [inline] __se_sys_unlink fs/namei.c:4110 [inline] __x64_sys_unlink+0x3d/0x50 fs/namei.c:4110 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459577 Code: 00 66 90 b8 58 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 9d ba fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 7d ba fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffc39c56938 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000459577 RDX: 00007ffc39c56950 RSI: 00007ffc39c56950 RDI: 00007ffc39c569e0 RBP: 0000000000000009 R08: 0000000000000000 R09: 000000000000000e R10: 000000000000000a R11: 0000000000000246 R12: 00007ffc39c57a70 R13: 0000000001e1a940 R14: 0000000000000000 R15: 00007ffc39c57a70 Modules linked in: ---[ end trace 746b58d3b5e70d4a ]--- 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: ffff88809b2b8340 RCX: 0000000000000006 RDX: 000000000000006b RSI: ffffffff87618960 RDI: 0000000000000358 RBP: ffff8880aea07b10 R08: ffffed1012f1575d R09: 0000000000000000 R10: ffffed1012f1575c R11: ffff8880978abae3 R12: ffff88809b2b8340 R13: 0000000000000078 R14: ffff8880942176c0 R15: ffff8880942176c0 FS: 0000000001e19940(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001e22978 CR3: 000000009ab40000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400