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  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:   Thu, 9 Jan 2020 23:16:02 +0100
From:   Daniel Borkmann <>
To:     Lingpeng Chen <>,
        John Fastabend <>
Cc:     Song Liu <>,,,
Subject: Re: [PATCH v2] bpf/sockmap: read psock ingress_msg before

On 1/9/20 2:48 AM, Lingpeng Chen wrote:
> Right now in tcp_bpf_recvmsg, sock read data first from sk_receive_queue
> if not empty than psock->ingress_msg otherwise. If a FIN packet arrives
> and there's also some data in psock->ingress_msg, the data in
> psock->ingress_msg will be purged. It is always happen when request to a
> HTTP1.0 server like python SimpleHTTPServer since the server send FIN
> packet after data is sent out.
> Fixes: 604326b41a6fb ("bpf, sockmap: convert to generic sk_msg interface")
> Reported-by: Arika Chen <>
> Suggested-by: Arika Chen <>
> Signed-off-by: Lingpeng Chen <>
> Signed-off-by: John Fastabend <>
> Cc: # v4.20+
> Acked-by: Song Liu <>

Applied to bpf, thanks!

Powered by blists - more mailing lists