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: Wed, 20 Jun 2018 14:41:55 +0900 (KST) From: David Miller <davem@...emloft.net> To: willemdebruijn.kernel@...il.com Cc: netdev@...r.kernel.org, willemb@...gle.com Subject: Re: [PATCH net] ip: limit use of gso_size to udp From: Willem de Bruijn <willemdebruijn.kernel@...il.com> Date: Tue, 19 Jun 2018 06:40:26 -0400 > From: Willem de Bruijn <willemb@...gle.com> > > The ipcm(6)_cookie field gso_size is set only in the udp path. The ip > layer copies this to cork only if sk_type is SOCK_DGRAM. This check > proved too permissive. Ping and l2tp sockets have the same type. > > Limit to sockets of type SOCK_DGRAM and protocol IPPROTO_UDP to > exclude ping sockets. > > Fixes: bec1f6f69736 ("udp: generate gso with UDP_SEGMENT") > Reported-by: Maciej Żenczykowski <maze@...gle.com> > Signed-off-by: Willem de Bruijn <willemb@...gle.com> Applied, thanks Willem. > For net-next, I'll take a look whether ipcm(6)_cookie fields like > these can be initialized uniformly, and then this branch removed > completely. Sounds good.
Powered by blists - more mailing lists