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-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 11 Apr 2021 23:23:20 +0200
From:   Eric Dumazet <edumazet@...gle.com>
To:     Guenter Roeck <linux@...ck-us.net>
Cc:     Eric Dumazet <eric.dumazet@...il.com>,
        "David S . Miller" <davem@...emloft.net>,
        Jakub Kicinski <kuba@...nel.org>,
        netdev <netdev@...r.kernel.org>,
        Xuan Zhuo <xuanzhuo@...ux.alibaba.com>,
        "Michael S. Tsirkin" <mst@...hat.com>,
        Jason Wang <jasowang@...hat.com>,
        virtualization@...ts.linux-foundation.org
Subject: Re: [PATCH net] virtio_net: Do not pull payload in skb->head

On Sun, Apr 11, 2021 at 10:37 PM Guenter Roeck <linux@...ck-us.net> wrote:
>
> On 4/11/21 8:06 AM, Eric Dumazet wrote:
> > On Sun, Apr 11, 2021 at 3:43 PM Guenter Roeck <linux@...ck-us.net> wrote:
> >
> >> This patch causes a virtio-net interface failure when booting sh4 images
> >> in qemu. The test case is nothing special: Just try to get an IP address
> >> using udhcpc. If it fails, udhcpc reports:
> >>
> >> udhcpc: started, v1.33.0
> >> udhcpc: sending discover
> >> FAIL
> >>
> >
> > Can you investigate where the incoming packet is dropped ?
> >
>
> Unless I am missing something, packets are not dropped. It looks more
> like udhcpc gets bad indigestion in the receive path and exits immediately.
> Plus, it doesn't happen all the time; sometimes it receives the discover
> response and is able to obtain an IP address.
>
> Overall this is quite puzzling since udhcpc exits immediately when the problem
> is seen, no matter which option I give it on the command line; it should not
> really do that.


Could you strace both cases and report differences you can spot ?

strace -o STRACE -f -s 1000 udhcpc

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ