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]
Message-Id: <20190526.214737.894681363036180862.davem@davemloft.net>
Date:   Sun, 26 May 2019 21:47:37 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     jakub.kicinski@...ronome.com
Cc:     netdev@...r.kernel.org, oss-drivers@...ronome.com,
        davejwatson@...com, john.fastabend@...il.com, vakul.garg@....com,
        alexei.starovoitov@...il.com
Subject: Re: [PATCH net 0/4] net/tls: two fixes for rx_list pre-handling

From: Jakub Kicinski <jakub.kicinski@...ronome.com>
Date: Fri, 24 May 2019 10:34:29 -0700

> tls_sw_recvmsg() had been modified to cater better to async decrypt.
> Partially read records now live on the rx_list. Data is copied from
> this list before the old do {} while loop, and the not included
> correctly in deciding whether to sleep or not and lowat threshold
> handling. These modifications, unfortunately, added some bugs.
> 
> First patch fixes lowat - we need to calculate the threshold early
> and make sure all copied data is compared to the threshold, not just
> the freshly decrypted data.
> 
> Third patch fixes sleep - if data is picked up from rx_list and
> no flags are set, we should not put the process to sleep, but
> rather return the partial read.
> 
> Patches 2 and 4 add test cases for these bugs, both will cause
> a sleep and test timeout before the fix.

Thanks for the test cases.

Series applied and queued up for -stable.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ