syzbot


BUG: unable to handle kernel paging request in sock_prot_inuse_add

Status: auto-closed as invalid on 2020/10/17 12:52
Subsystems: net
[Documentation on labels]
First crash: 1373d, last: 1373d

Sample crash report:
BUG: unable to handle page fault for address: ffff8c68ae602730
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD 0 P4D 0 
Oops: 0002 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.8.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:sock_prot_inuse_add+0x6d/0x90 net/core/sock.c:3342
Code: 48 8b ad 38 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 04 3c 03 7e 11 8b 83 d0 00 00 00 <65> 44 01 64 85 00 5b 5d 41 5c c3 e8 73 f7 86 fb eb e8 e8 7c f7 86
RSP: 0018:ffffc90000007b28 EFLAGS: 00010246
RAX: 0000000000000008 RBX: ffffffff8a860ce0 RCX: ffffffff862c2694
RDX: 1ffffffff150c1b6 RSI: 0000000000000008 RDI: ffffffff8a860db0
RBP: 000003e800002710 R08: 0000000000000001 R09: 0000000000000003
R10: 0000000000000000 R11: 0000000000000000 R12: 00000000ffffffff
R13: ffff8880a4e1ec40 R14: ffffc900056f6d88 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8c68ae602730 CR3: 00000000983d3000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 inet_unhash+0x446/0x740 net/ipv4/inet_hashtables.c:613
 tcp_set_state+0x1a8/0x7d0 net/ipv4/tcp.c:2317
 tcp_done+0xb0/0x340 net/ipv4/tcp.c:4062
 tcp_write_err net/ipv4/tcp_timer.c:56 [inline]
 tcp_probe_timer net/ipv4/tcp_timer.c:384 [inline]
 tcp_write_timer_handler+0x64d/0xa60 net/ipv4/tcp_timer.c:615
 tcp_write_timer+0xa2/0x2b0 net/ipv4/tcp_timer.c:631
 call_timer_fn+0x1ac/0x760 kernel/time/timer.c:1404
 expire_timers kernel/time/timer.c:1449 [inline]
 __run_timers.part.0+0x54c/0xa20 kernel/time/timer.c:1773
 __run_timers kernel/time/timer.c:1745 [inline]
 run_timer_softirq+0xae/0x1a0 kernel/time/timer.c:1786
 __do_softirq+0x34c/0xa60 kernel/softirq.c:292
 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711
 </IRQ>
 __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+0x111/0x170 arch/x86/kernel/irq_64.c:77
 invoke_softirq kernel/softirq.c:387 [inline]
 __irq_exit_rcu kernel/softirq.c:417 [inline]
 irq_exit_rcu+0x229/0x270 kernel/softirq.c:429
 sysvec_apic_timer_interrupt+0x54/0x120 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:587
RIP: 0010:native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:61
Code: ff 4c 89 ef e8 63 e9 ca f9 e9 8e fe ff ff 48 89 df e8 56 e9 ca f9 eb 8a cc cc cc cc e9 07 00 00 00 0f 00 2d 14 83 60 00 fb f4 <c3> 90 e9 07 00 00 00 0f 00 2d 04 83 60 00 f4 c3 cc cc 55 53 e8 b9
RSP: 0018:ffffffff89a07c70 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffffffff89a86580 RSI: ffffffff87e838a8 RDI: ffffffff87e8387e
RBP: ffff8880a674b864 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880a674b864
R13: 1ffffffff1340f98 R14: ffff8880a674b865 R15: 0000000000000001
 arch_safe_halt arch/x86/include/asm/paravirt.h:150 [inline]
 acpi_safe_halt+0x8d/0x110 drivers/acpi/processor_idle.c:111
 acpi_idle_do_entry+0x15c/0x1b0 drivers/acpi/processor_idle.c:525
 acpi_idle_enter+0x3f9/0xab0 drivers/acpi/processor_idle.c:651
 cpuidle_enter_state+0xff/0x960 drivers/cpuidle/cpuidle.c:235
 cpuidle_enter+0x4a/0xa0 drivers/cpuidle/cpuidle.c:346
 call_cpuidle kernel/sched/idle.c:126 [inline]
 cpuidle_idle_call kernel/sched/idle.c:214 [inline]
 do_idle+0x431/0x6d0 kernel/sched/idle.c:276
 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:372
 start_kernel+0x9cb/0xa06 init/main.c:1043
 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:243
Modules linked in:
CR2: ffff8c68ae602730
---[ end trace a13e7120de677a17 ]---
RIP: 0010:sock_prot_inuse_add+0x6d/0x90 net/core/sock.c:3342
Code: 48 8b ad 38 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 04 3c 03 7e 11 8b 83 d0 00 00 00 <65> 44 01 64 85 00 5b 5d 41 5c c3 e8 73 f7 86 fb eb e8 e8 7c f7 86
RSP: 0018:ffffc90000007b28 EFLAGS: 00010246
RAX: 0000000000000008 RBX: ffffffff8a860ce0 RCX: ffffffff862c2694
RDX: 1ffffffff150c1b6 RSI: 0000000000000008 RDI: ffffffff8a860db0
RBP: 000003e800002710 R08: 0000000000000001 R09: 0000000000000003
R10: 0000000000000000 R11: 0000000000000000 R12: 00000000ffffffff
R13: ffff8880a4e1ec40 R14: ffffc900056f6d88 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8c68ae602730 CR3: 00000000983d3000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/19 12:51 net-old 2ccb0161a0e9 9c812472 .config console log report ci-upstream-net-this-kasan-gce
* Struck through repros no longer work on HEAD.