bisecting fixing commit since d15be546031cf65a0fc34879beca02fd90fe7ac7
building syzkaller on 70c104a18f3d409bc6dde950b50258d3d280d99b
testing commit d15be546031cf65a0fc34879beca02fd90fe7ac7 with gcc (GCC) 8.1.0
kernel signature: b18f219a84c620eb2fb4326d6f20a3f512eca65e6d6581e38ee4d6b9ae657026
all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in rose_send_frame
testing current HEAD c3d8f220d01220a5b253e422be407d068dc65511
testing commit c3d8f220d01220a5b253e422be407d068dc65511 with gcc (GCC) 8.1.0
kernel signature: c7455ae7d2df601268068b67ca43bfbf424c338d0c5fbb9bf7185e1c8c952748
all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in rose_send_frame
revisions tested: 2, total time: 15m53.31126888s (build: 9m36.190474392s, test: 5m43.657215595s)
the crash still happens on HEAD
commit msg: Merge tag 'kbuild-fixes-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
crash: BUG: unable to handle kernel NULL pointer dereference in rose_send_frame
BUG: kernel NULL pointer dereference, address: 0000000000000350
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 11dde2067 P4D 11dde2067 PUD 128f54067 PMD 0
Oops: 0000 [#1] PREEMPT SMP
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.9.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:rose_send_frame+0x2c/0xc0 net/rose/rose_link.c:101
Code: 49 89 fc 48 c7 c7 80 3b 8c 86 55 53 48 89 f3 48 c7 c6 40 13 99 83 e8 f3 39 00 00 4c 8b 4b 20 48 c7 c2 80 3b 8c 86 85 c0 75 07 <49> 8b 91 50 03 00 00 48 8b 6b 18 48 8d 4b 08 be 04 01 00 00 4c 89
RSP: 0018:ffffc90000d08d58 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88821710c400 RCX: 0000000000000000
RDX: ffffffff868c3b80 RSI: ffffffff83991340 RDI: ffffffff868c3b80
RBP: 0000000000000032 R08: 00000000000000c0 R09: 0000000000000000
R10: 0000000000000001 R11: 439461d9a0a5d4d8 R12: ffff88811f155500
R13: 0000000000000078 R14: 0000000000000005 R15: ffffffff82c49060
FS: 0000000000000000(0000) GS:ffff88812c100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000350 CR3: 0000000121fae000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rose_transmit_clear_request+0x79/0xa0 net/rose/rose_link.c:255
rose_rx_call_request+0x172/0x623 net/rose/af_rose.c:998
rose_loopback_timer+0x81/0x150 net/rose/rose_loopback.c:100
call_timer_fn+0xa7/0x330 kernel/time/timer.c:1413
expire_timers kernel/time/timer.c:1458 [inline]
__run_timers kernel/time/timer.c:1755 [inline]
run_timer_softirq+0x20d/0x580 kernel/time/timer.c:1768
__do_softirq+0xf6/0x508 kernel/softirq.c:298
asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:706
__run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline]
run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline]
do_softirq_own_stack+0x73/0x90 arch/x86/kernel/irq_64.c:77
invoke_softirq kernel/softirq.c:393 [inline]
__irq_exit_rcu kernel/softirq.c:423 [inline]
irq_exit_rcu+0xbd/0xe0 kernel/softirq.c:435
sysvec_apic_timer_interrupt+0x57/0xe0 arch/x86/kernel/apic/apic.c:1091
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:581
RIP: 0010:native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:61
Code: 5b c3 65 48 8b 04 25 c0 7e 01 00 f0 80 48 02 20 48 8b 00 a8 08 75 c3 e9 7c ff ff ff e9 07 00 00 00 0f 00 2d 7c de 5d 00 fb f4 90 e9 07 00 00 00 0f 00 2d 6c de 5d 00 f4 c3 cc cc 41 55 41 54
RSP: 0018:ffffc90000cd3e30 EFLAGS: 00000286
RAX: 000000000002a8d7 RBX: ffff88812ab78400 RCX: 0000000000000034
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff83042ddc
RBP: ffff88812ab78464 R08: 0000000000000001 R09: 0000000000000001
R10: ffff88812c12c464 R11: ffff88812c12c444 R12: 0000000000000001
R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000000
arch_safe_halt arch/x86/include/asm/paravirt.h:150 [inline]
acpi_safe_halt drivers/acpi/processor_idle.c:111 [inline]
acpi_idle_do_entry+0x4b/0x70 drivers/acpi/processor_idle.c:524
acpi_idle_enter+0xfa/0x300 drivers/acpi/processor_idle.c:650
cpuidle_enter_state+0x62/0x420 drivers/cpuidle/cpuidle.c:235
cpuidle_enter+0x24/0x40 drivers/cpuidle/cpuidle.c:346
call_cpuidle kernel/sched/idle.c:126 [inline]
cpuidle_idle_call kernel/sched/idle.c:214 [inline]
do_idle+0x278/0x360 kernel/sched/idle.c:276
cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:372
secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:243
Modules linked in:
CR2: 0000000000000350
---[ end trace 175419cb8e2be872 ]---
RIP: 0010:rose_send_frame+0x2c/0xc0 net/rose/rose_link.c:101
Code: 49 89 fc 48 c7 c7 80 3b 8c 86 55 53 48 89 f3 48 c7 c6 40 13 99 83 e8 f3 39 00 00 4c 8b 4b 20 48 c7 c2 80 3b 8c 86 85 c0 75 07 <49> 8b 91 50 03 00 00 48 8b 6b 18 48 8d 4b 08 be 04 01 00 00 4c 89
RSP: 0018:ffffc90000d08d58 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88821710c400 RCX: 0000000000000000
RDX: ffffffff868c3b80 RSI: ffffffff83991340 RDI: ffffffff868c3b80
RBP: 0000000000000032 R08: 00000000000000c0 R09: 0000000000000000
R10: 0000000000000001 R11: 439461d9a0a5d4d8 R12: ffff88811f155500
R13: 0000000000000078 R14: 0000000000000005 R15: ffffffff82c49060
FS: 0000000000000000(0000) GS:ffff88812c100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000350 CR3: 0000000121fae000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400