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] [day] [month] [year] [list]
Date:   Sat, 7 Jul 2018 15:24:14 -0700
From:   Alexei Starovoitov <alexei.starovoitov@...il.com>
To:     John Fastabend <john.fastabend@...il.com>
Cc:     ast@...nel.org, daniel@...earbox.net, netdev@...r.kernel.org
Subject: Re: [bpf PATCH v2 0/4] sockhash/sockmap fixes

On Thu, Jul 05, 2018 at 08:49:54AM -0700, John Fastabend wrote:
> First three patches resolve issues found while testing sockhash and
> reviewing code. Syzbot also found them about the same time as I was
> working on fixes. The main issue is in the sockhash path we reduced
> the scope of sk_callback lock but this meant we could get update and
> close running in parallel so fix that here.
> 
> Then testing sk_msg and sk_skb programs together found that skb->dev
> is not always assigned and some of the helpers were depending on this
> to lookup max mtu. Fix this by using SKB_MAX_ALLOC when no MTU is
> available.
> 
> Finally, Martin spotted that the sockmap code was still using the
> qdisc skb cb structure. But I was sure we had fixed this long ago.
> Looks like we missed it in a merge conflict resolution and then by
> chance data_end offset was the same in both structures so everything
> sort of continued to work even though it could break at any moment
> if the structs ever change. So redo the conversion and this time
> also convert the helpers.
> 
> v2: fix '0 files changed' issue in patches

Applied, Thanks

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ