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>] [day] [month] [year] [list]
Message-ID: <Yqe0CwZhha8o5t4G@pinguin.zoo>
Date:   Tue, 14 Jun 2022 00:02:51 +0200
From:   Ingo Saitz <ingo@...nover.ccc.de>
To:     "David S. Miller" <davem@...emloft.net>,
        Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
        David Ahern <dsahern@...nel.org>, netdev@...r.kernel.org,
        Joanne Koong <joannelkoong@...il.com>
Subject: bhash2 WARN_ON call in net/ipv4/inet_connection_sock.c:525
 inet_csk_get_port

On Linux v5.19-rc2 I noticed a WARN_ON() message during the start of the
rsync daemon. The bug was introduced by commit
d5a42de8bdbe25081f07b801d8b35f4d75a791f4 "net: Add a second bind table
hashed by port and address", reverting it caused the warning to go away.
The warning message from the dmesg is attached

I added a reproduce.c which reproduces the same warning everytime it is
called, even as user.

I also reproduced the same problem on the current netdev git, see 2nd
attached dmesg.
git git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git
commit 619c010a65391d06bc96e79fa0e7725790e5d1a9

    Ingo
-- 
Kennedy's Lemma:
    If you can parse Perl, you can solve the Halting Problem.

http://www.perlmonks.org/?node_id=663393

View attachment "WARN-5.19-rc2.txt" of type "text/plain" (3811 bytes)

View attachment "reproduce.c" of type "text/x-csrc" (1348 bytes)

View attachment "WARN-5.19-netdev-HEAD.txt" of type "text/plain" (3818 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ