lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 23 May 2022 08:12:20 -0700
From:   syzbot <syzbot+015d756bbd1f8b5c8f09@...kaller.appspotmail.com>
To:     davem@...emloft.net, dsahern@...nel.org, edumazet@...gle.com,
        joannelkoong@...il.com, kuba@...nel.org, kuniyu@...zon.co.jp,
        linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
        pabeni@...hat.com, syzkaller-bugs@...glegroups.com,
        yoshfuji@...ux-ipv6.org
Subject: [syzbot] WARNING in inet_csk_get_port

Hello,

syzbot found the following issue on:

HEAD commit:    aa5334b1f968 Merge branch 'add-a-bhash2-table-hashed-by-po..
git tree:       net-next
console+strace: https://syzkaller.appspot.com/x/log.txt?x=151fe7fdf00000
kernel config:  https://syzkaller.appspot.com/x/.config?x=468b6c3a1b5b53f0
dashboard link: https://syzkaller.appspot.com/bug?extid=015d756bbd1f8b5c8f09
compiler:       gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=1336e875f00000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=1673a38df00000

The issue was bisected to:

commit d5a42de8bdbe25081f07b801d8b35f4d75a791f4
Author: Joanne Koong <joannelkoong@...il.com>
Date:   Fri May 20 00:18:33 2022 +0000

    net: Add a second bind table hashed by port and address

bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=14193ea9f00000
final oops:     https://syzkaller.appspot.com/x/report.txt?x=16193ea9f00000
console output: https://syzkaller.appspot.com/x/log.txt?x=12193ea9f00000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+015d756bbd1f8b5c8f09@...kaller.appspotmail.com
Fixes: d5a42de8bdbe ("net: Add a second bind table hashed by port and address")

nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based firewall rule not found. Use the iptables CT target to attach helpers instead.
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3598 at net/ipv4/inet_connection_sock.c:525 inet_csk_get_port+0x1148/0x1ad0 net/ipv4/inet_connection_sock.c:525
Modules linked in:
CPU: 1 PID: 3598 Comm: syz-executor285 Not tainted 5.18.0-rc7-syzkaller-01833-gaa5334b1f968 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:inet_csk_get_port+0x1148/0x1ad0 net/ipv4/inet_connection_sock.c:525
Code: 07 00 00 48 8b 44 24 28 4c 89 ee 48 8b 78 18 e8 2e d1 fe ff e9 0f ff ff ff e8 f4 59 a6 f9 0f 0b e9 ae fa ff ff e8 e8 59 a6 f9 <0f> 0b e9 de fa ff ff e8 dc 59 a6 f9 e8 a7 ed 9d 01 31 ff 89 c3 89
RSP: 0018:ffffc90002f4fbf8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888022f6a100 RCX: 0000000000000000
RDX: ffff88801e6fbb00 RSI: ffffffff87d2dff8 RDI: ffff88801e2e06a8
RBP: ffff88801e2e06a0 R08: 0000000000000001 R09: 0000000000000000
R10: ffffffff87d2c485 R11: 0000000000000000 R12: 0000000000000000
R13: ffff888022f6a100 R14: 0000000000000000 R15: ffff88801e2e0000
FS:  000055555578e300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000005defd8 CR3: 000000001ce0b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 inet_csk_listen_start+0x13e/0x3c0 net/ipv4/inet_connection_sock.c:1178
 inet_listen+0x231/0x640 net/ipv4/af_inet.c:228
 __sys_listen+0x17d/0x250 net/socket.c:1778
 __do_sys_listen net/socket.c:1787 [inline]
 __se_sys_listen net/socket.c:1785 [inline]
 __x64_sys_listen+0x50/0x70 net/socket.c:1785
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f9112cccd09
Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 00 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 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffca7006048 EFLAGS: 00000246 ORIG_RAX: 0000000000000032
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9112cccd09
RDX: ffffffffffffffc0 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007f9112c90eb0 R08: 000000000000001c R09: 000000000000001c
R10: 0000000020001540 R11: 0000000000000246 R12: 00007f9112c90f40
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@...glegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
For information about bisection process see: https://goo.gl/tpsmEJ#bisection
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ