syzbot


BUG: unable to handle kernel paging request in tcp_retransmit_timer

Status: auto-closed as invalid on 2020/12/21 10:43
Subsystems: net
[Documentation on labels]
First crash: 1305d, last: 1305d

Sample crash report:
BUG: unable to handle page fault for address: ffff8a24ae400144
#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: 32630 Comm: syz-executor.3 Not tainted 5.9.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:tcp_retransmit_timer+0xa63/0x3220 net/ipv4/tcp_timer.c:500
Code: ff df 4c 8b 6d 30 49 8d bd 50 02 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 d4 22 00 00 48 8b 74 24 10 49 8b 85 50 02 00 00 <65> 48 ff 80 40 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 75 30
RSP: 0018:ffffc90000007b78 EFLAGS: 00010246
RAX: 000001a400000004 RBX: 1ffff92000000f77 RCX: ffffffff86eadee5
RDX: 1ffff11009b0145a RSI: ffff88805f91ecd2 RDI: ffff88804d80a2d0
RBP: ffff88805f91ecc0 R08: 0000000000000001 R09: ffffffff8d0bca5f
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88805f91ecf0
R13: ffff88804d80a080 R14: ffff888058d84080 R15: ffff8880ae425600
FS:  00007f5993035700(0000) GS:ffff8880ae400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8a24ae400144 CR3: 0000000088756000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000020000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 tcp_write_timer_handler+0x79b/0xa60 net/ipv4/tcp_timer.c:611
 tcp_write_timer+0xa2/0x2b0 net/ipv4/tcp_timer.c:631
 call_timer_fn+0x1ac/0x760 kernel/time/timer.c:1413
 expire_timers kernel/time/timer.c:1458 [inline]
 __run_timers.part.0+0x67c/0xaa0 kernel/time/timer.c:1755
 __run_timers kernel/time/timer.c:1736 [inline]
 run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1768
 __do_softirq+0x2ed/0xab4 kernel/softirq.c:298
 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:706
 </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+0x9d/0xd0 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+0x1f3/0x230 kernel/softirq.c:435
 sysvec_apic_timer_interrupt+0x51/0xf0 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:581
RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x4/0x20 kernel/kcov.c:270
Code: 84 00 00 00 00 00 48 8b 0c 24 48 89 f2 48 89 fe bf 06 00 00 00 e9 0c ff ff ff 66 90 66 2e 0f 1f 84 00 00 00 00 00 48 8b 0c 24 <40> 0f b6 d6 40 0f b6 f7 bf 01 00 00 00 e9 ea fe ff ff 66 2e 0f 1f
RSP: 0018:ffffc900058175a0 EFLAGS: 00000202
RAX: 000000000000741c RBX: 000000000000000d RCX: ffffffff838aa0da
RDX: 0000000000040000 RSI: 000000000000000d RDI: 0000000000000010
RBP: ffff88809c8d5300 R08: 0000000000000001 R09: ffffffff8d5f3d87
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000100
R13: 0000000000000249 R14: dffffc0000000000 R15: 0000000000000000
 tomoyo_domain_quota_is_ok+0x32a/0x550 security/tomoyo/util.c:1070
 tomoyo_supervisor+0x2f2/0xef0 security/tomoyo/common.c:2089
 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline]
 tomoyo_path_permission security/tomoyo/file.c:587 [inline]
 tomoyo_path_permission+0x270/0x3a0 security/tomoyo/file.c:573
 tomoyo_check_open_permission+0x30f/0x380 security/tomoyo/file.c:780
 tomoyo_file_open security/tomoyo/tomoyo.c:313 [inline]
 tomoyo_file_open+0xa3/0xd0 security/tomoyo/tomoyo.c:308
 security_file_open+0x52/0x4f0 security/security.c:1574
 do_dentry_open+0x358/0x11b0 fs/open.c:804
 do_open fs/namei.c:3251 [inline]
 path_openat+0x1b9a/0x2730 fs/namei.c:3368
 do_filp_open+0x17e/0x3c0 fs/namei.c:3395
 do_sys_openat2+0x16d/0x420 fs/open.c:1168
 do_sys_open fs/open.c:1184 [inline]
 __do_sys_openat fs/open.c:1200 [inline]
 __se_sys_openat fs/open.c:1195 [inline]
 __x64_sys_openat+0x13f/0x1f0 fs/open.c:1195
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45d5f9
Code: 5d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f5993034c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000022440 RCX: 000000000045d5f9
RDX: 0000000000007a05 RSI: 0000000020000340 RDI: ffffffffffffff9c
RBP: 000000000118d028 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000001700 R11: 0000000000000246 R12: 000000000118cfec
R13: 00007ffda01c451f R14: 00007f59930359c0 R15: 000000000118cfec
Modules linked in:
CR2: ffff8a24ae400144
---[ end trace 4de78856b6a59711 ]---
RIP: 0010:tcp_retransmit_timer+0xa63/0x3220 net/ipv4/tcp_timer.c:500
Code: ff df 4c 8b 6d 30 49 8d bd 50 02 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 d4 22 00 00 48 8b 74 24 10 49 8b 85 50 02 00 00 <65> 48 ff 80 40 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 75 30
RSP: 0018:ffffc90000007b78 EFLAGS: 00010246
RAX: 000001a400000004 RBX: 1ffff92000000f77 RCX: ffffffff86eadee5
RDX: 1ffff11009b0145a RSI: ffff88805f91ecd2 RDI: ffff88804d80a2d0
RBP: ffff88805f91ecc0 R08: 0000000000000001 R09: ffffffff8d0bca5f
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88805f91ecf0
R13: ffff88804d80a080 R14: ffff888058d84080 R15: ffff8880ae425600
FS:  00007f5993035700(0000) GS:ffff8880ae400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8a24ae400144 CR3: 0000000088756000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000020000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/22 10:36 bpf-next 31f23a6a181c 9e1fa68e .config console log report info ci-upstream-bpf-next-kasan-gce
* Struck through repros no longer work on HEAD.