syzbot


general protection fault in inet_rcv_saddr_equal

Status: auto-closed as invalid on 2020/12/04 11:51
Subsystems: net
[Documentation on labels]
First crash: 1605d, last: 1605d

Sample crash report:
general protection fault, probably for non-canonical address 0xe65ffc0066666665: 0000 [#1] PREEMPT SMP KASAN
KASAN: maybe wild-memory-access in range [0x3300000333333328-0x330000033333332f]
CPU: 0 PID: 23419 Comm: kworker/u4:8 Not tainted 5.9.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: krdsd rds_connect_worker
RIP: 0010:inet_rcv_saddr_equal net/ipv4/inet_connection_sock.c:101 [inline]
RIP: 0010:inet_rcv_saddr_equal+0x5e/0x2d0 net/ipv4/inet_connection_sock.c:91
Code: 03 0f b6 04 02 84 c0 74 08 3c 01 0f 8e 35 02 00 00 48 8d 7d 13 0f b7 53 10 48 b8 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 <0f> b6 04 01 48 89 f9 83 e1 07 38 c8 7f 08 84 c0 0f 85 34 02 00 00
RSP: 0018:ffffc90005677960 EFLAGS: 00010207
RAX: dffffc0000000000 RBX: ffff8880542c8d40 RCX: 0660000066666665
RDX: 0000000000000002 RSI: ffffffff86b53670 RDI: 330000033333332e
RBP: 330000033333331b R08: 0000000000000001 R09: ffffffff8c5f4a5f
R10: 0000000000000000 R11: ffffffff8c624950 R12: 0000000000000001
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e821000 CR3: 000000005cb23000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 inet_csk_bind_conflict+0x351/0x510 net/ipv4/inet_connection_sock.c:169
 inet_csk_find_open_port net/ipv4/inet_connection_sock.c:233 [inline]
 inet_csk_get_port+0xac1/0x1690 net/ipv4/inet_connection_sock.c:367
 __inet_bind+0x796/0xbc0 net/ipv4/af_inet.c:528
 inet_bind+0xf0/0x160 net/ipv4/af_inet.c:457
 rds_tcp_conn_path_connect+0x532/0x880 net/rds/tcp_connect.c:144
 rds_connect_worker+0x1a5/0x2c0 net/rds/threads.c:176
 process_one_work+0x94c/0x1670 kernel/workqueue.c:2269
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2415
 kthread+0x3b5/0x4a0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
Modules linked in:
---[ end trace 07fbc215de38ca7c ]---
RIP: 0010:inet_rcv_saddr_equal net/ipv4/inet_connection_sock.c:101 [inline]
RIP: 0010:inet_rcv_saddr_equal+0x5e/0x2d0 net/ipv4/inet_connection_sock.c:91
Code: 03 0f b6 04 02 84 c0 74 08 3c 01 0f 8e 35 02 00 00 48 8d 7d 13 0f b7 53 10 48 b8 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 <0f> b6 04 01 48 89 f9 83 e1 07 38 c8 7f 08 84 c0 0f 85 34 02 00 00
RSP: 0018:ffffc90005677960 EFLAGS: 00010207
RAX: dffffc0000000000 RBX: ffff8880542c8d40 RCX: 0660000066666665
RDX: 0000000000000002 RSI: ffffffff86b53670 RDI: 330000033333332e
RBP: 330000033333331b R08: 0000000000000001 R09: ffffffff8c5f4a5f
R10: 0000000000000000 R11: ffffffff8c624950 R12: 0000000000000001
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e821000 CR3: 000000005cb23000 CR4: 00000000001506f0
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/09/05 11:44 upstream c70672d8d316 abf9ba4f .config console log report ci-upstream-kasan-gce-root
* Struck through repros no longer work on HEAD.