bisecting fixing commit since cc4c818b2219c58af5f0ca59f3e9f02c48bc0b65 building syzkaller on aff9e255cd708709adef545d1f932020ee5c0978 testing commit cc4c818b2219c58af5f0ca59f3e9f02c48bc0b65 with gcc (GCC) 8.1.0 kernel signature: 888cd5a0a068ef1a36cd2dd30e056a4a71aed12277c02ef9ed7865b7a38b785b all runs: crashed: general protection fault in rose_send_frame testing current HEAD 2d16cf4817bc6944a2adb5bf4db607c8258e87da testing commit 2d16cf4817bc6944a2adb5bf4db607c8258e87da with gcc (GCC) 8.1.0 kernel signature: f3f02c9968b26bf5e4628387219e3b6632d0017d0f4832c387eaa7783190cd03 all runs: crashed: general protection fault in rose_send_frame revisions tested: 2, total time: 24m44.22370178s (build: 17m49.484639707s, test: 6m4.485880101s) the crash still happens on HEAD commit msg: Linux 4.19.125 crash: general protection fault in rose_send_frame IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_hsr: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_UP): veth1_to_hsr: 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 CPU: 0 PID: 6381 Comm: syz-executor.4 Not tainted 4.19.125-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: ffff88809b396d40 RCX: 0000000000000006 RDX: 000000000000006b RSI: ffffffff8781af60 RDI: 0000000000000358 RBP: ffff8880aea07b10 R08: ffffed1012cc8965 R09: 0000000000000000 R10: ffffed1012cc8964 R11: ffff888096644b23 R12: ffff88809b396d40 R13: 0000000000000078 R14: ffff888097a51080 R15: ffff888097a51080 FS: 0000000000f89940(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560537d9d408 CR3: 000000008676c000 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: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:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:console_unlock+0x904/0xde0 kernel/printk/printk.c:2437 Code: 00 fc ff df 48 89 f8 48 c1 e8 03 42 80 3c 18 00 0f 85 96 03 00 00 48 83 3d 10 70 c3 06 00 0f 84 08 02 00 00 48 8b 7d c8 57 9d <0f> 1f 44 00 00 e9 5d f8 ff ff 49 8d 7e 08 48 89 f8 48 c1 e8 03 42 RSP: 0018:ffff888091ab6a88 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff10240d1 RBX: 0000000000000200 RCX: 1ffff11013db416a RDX: 0000000000000000 RSI: ffff88809eda0b30 RDI: 0000000000000286 RBP: ffff888091ab6b00 R08: ffff88809eda0b50 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff88737c40 R15: ffffffff88737c10 vprintk_emit+0x191/0x540 kernel/printk/printk.c:1937 vprintk_default+0x1a/0x20 kernel/printk/printk.c:1979 vprintk_func+0x49/0x12c kernel/printk/printk_safe.c:398 printk+0x9a/0xc0 kernel/printk/printk.c:2012 addrconf_notify+0xac7/0x1fa0 net/ipv6/addrconf.c:3492 notifier_call_chain+0x8a/0x160 kernel/notifier.c:93 __raw_notifier_call_chain kernel/notifier.c:394 [inline] raw_notifier_call_chain+0x11/0x20 kernel/notifier.c:401 call_netdevice_notifiers_info+0x28/0x60 net/core/dev.c:1748 call_netdevice_notifiers net/core/dev.c:1766 [inline] __dev_notify_flags+0xda/0x240 net/core/dev.c:7704 dev_change_flags+0xe6/0x150 net/core/dev.c:7740 do_setlink+0x1173/0x2d20 net/core/rtnetlink.c:2449 rtnl_newlink+0xa18/0x1310 net/core/rtnetlink.c:3077 rtnetlink_rcv_msg+0x34f/0x8f0 net/core/rtnetlink.c:4777 netlink_rcv_skb+0x142/0x390 net/netlink/af_netlink.c:2455 rtnetlink_rcv+0x10/0x20 net/core/rtnetlink.c:4795 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x445/0x640 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x765/0xc50 net/netlink/af_netlink.c:1909 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:632 __sys_sendto+0x1f2/0x2e0 net/socket.c:1787 __do_sys_sendto net/socket.c:1799 [inline] __se_sys_sendto net/socket.c:1795 [inline] __x64_sys_sendto+0xdc/0x1a0 net/socket.c:1795 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x413673 Code: ff 0f 83 b0 19 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 3d 1d 2c 66 00 00 75 17 49 89 ca b8 2c 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 81 19 00 00 c3 48 83 ec 08 e8 87 fa ff ff RSP: 002b:00007ffd446bfd98 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000413673 RDX: 000000000000003c RSI: 0000000000a70070 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffd446bfda0 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006 R13: 0000000000000003 R14: 00007ffd446bfe48 R15: 0000000000000006 Modules linked in: ---[ end trace bdb9b09b053e8afa ]--- 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: ffff88809b396d40 RCX: 0000000000000006 RDX: 000000000000006b RSI: ffffffff8781af60 RDI: 0000000000000358 RBP: ffff8880aea07b10 R08: ffffed1012cc8965 R09: 0000000000000000 R10: ffffed1012cc8964 R11: ffff888096644b23 R12: ffff88809b396d40 R13: 0000000000000078 R14: ffff888097a51080 R15: ffff888097a51080 FS: 0000000000f89940(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560537d9d408 CR3: 000000008676c000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400