bisecting fixing commit since cc4c818b2219c58af5f0ca59f3e9f02c48bc0b65 building syzkaller on aff9e255cd708709adef545d1f932020ee5c0978 testing commit cc4c818b2219c58af5f0ca59f3e9f02c48bc0b65 with gcc (GCC) 8.1.0 kernel signature: 156983d36a5ada1a6cea7a8e2660a79ff8027419e7c78f38863219934863bbbd all runs: crashed: general protection fault in rose_send_frame testing current HEAD 54b4fa6d39551639cb10664f6ac78b01993a1d7e testing commit 54b4fa6d39551639cb10664f6ac78b01993a1d7e with gcc (GCC) 8.1.0 kernel signature: 9d68056e05bbd44e88e6abf58c0d6a22460000867a034207eb0b74dd99d158c2 all runs: crashed: general protection fault in rose_send_frame revisions tested: 2, total time: 27m52.771478288s (build: 17m21.438034342s, test: 9m35.045723361s) the crash still happens on HEAD commit msg: Linux 4.19.113 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_CHANGE): veth0_to_team: link becomes 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: 1 PID: 19 Comm: kworker/1:0 Not tainted 4.19.113-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events linkwatch_event 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: ffff88821619c5c0 RCX: 0000000000000006 RDX: 000000000000006b RSI: ffffffff878199a0 RDI: 0000000000000358 RBP: ffff8880aeb07b10 R08: ffffed1013e3067d R09: 0000000000000000 R10: ffffed1013e3067c R11: ffff88809f1833e3 R12: ffff88821619c5c0 R13: 0000000000000078 R14: ffff88809f3e9040 R15: ffff88809f3e9040 FS: 0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000960004 CR3: 0000000096f0f000 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/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:893 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 c0 8b 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:ffff8880aa3e7878 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff10240e9 RBX: 0000000000000200 RCX: 1ffff1101547a5c3 RDX: 0000000000000000 RSI: ffff8880aa3d2df8 RDI: 0000000000000282 RBP: ffff8880aa3e78f0 R08: ffff8880aa3d2e18 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff88737740 R15: ffffffff88737710 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+0x1f7f/0x1fa0 net/ipv6/addrconf.c:3524 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 netdev_state_change+0xd4/0x100 net/core/dev.c:1353 linkwatch_do_dev+0x72/0xc0 net/core/link_watch.c:164 __linkwatch_run_queue+0x24b/0x470 net/core/link_watch.c:202 linkwatch_event+0x3e/0x50 net/core/link_watch.c:237 process_one_work+0x830/0x1670 kernel/workqueue.c:2155 worker_thread+0x85/0xb60 kernel/workqueue.c:2298 kthread+0x324/0x3e0 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Modules linked in: ---[ end trace 000b00e2499e6c0e ]--- 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: ffff88821619c5c0 RCX: 0000000000000006 RDX: 000000000000006b RSI: ffffffff878199a0 RDI: 0000000000000358 RBP: ffff8880aeb07b10 R08: ffffed1013e3067d R09: 0000000000000000 R10: ffffed1013e3067c R11: ffff88809f1833e3 R12: ffff88821619c5c0 R13: 0000000000000078 R14: ffff88809f3e9040 R15: ffff88809f3e9040 FS: 0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000960004 CR3: 0000000096f0f000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400