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
| ||
|
Date: Fri, 14 Aug 2020 14:12:39 -0700 (PDT) From: David Miller <davem@...emloft.net> To: fw@...len.de Cc: netdev@...r.kernel.org, mathew.j.martineau@...ux.intel.com, matthieu.baerts@...sares.net, mptcp@...ts.01.org Subject: Re: [PATCH net] mptcp: sendmsg: reset iter on error From: Florian Westphal <fw@...len.de> Date: Fri, 14 Aug 2020 15:56:34 +0200 > Once we've copied data from the iterator we need to revert in case we > end up not sending any data. > > This bug doesn't trigger with normal 'poll' based tests, because > we only feed a small chunk of data to kernel after poll indicated > POLLOUT. With blocking IO and large writes this triggers. Receiver > ends up with less data than it should get. > > Fixes: 72511aab95c94d ("mptcp: avoid blocking in tcp_sendpages") > Signed-off-by: Florian Westphal <fw@...len.de> Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists