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: <CACSApvaVnfA3ay3s=kbW6rcJ3gU4dzgf=1W=q6taf=RDLkbB2g@mail.gmail.com>
Date:	Mon, 11 Jul 2016 16:52:16 -0400
From:	Soheil Hassas Yeganeh <soheil@...gle.com>
To:	David Miller <davem@...emloft.net>
Cc:	Soheil Hassas Yeganeh <soheil.kdev@...il.com>,
	netdev <netdev@...r.kernel.org>,
	Sergei Trofimovich <slyfox@...too.org>,
	Eric Dumazet <edumazet@...gle.com>,
	Willem de Bruijn <willemb@...gle.com>
Subject: Re: [PATCH net] sock: ignore SCM_RIGHTS and SCM_CREDENTIALS in __sock_cmsg_send

On Mon, Jul 11, 2016 at 4:39 PM, David Miller <davem@...emloft.net> wrote:
>
> From: Soheil Hassas Yeganeh <soheil.kdev@...il.com>
> Date: Sun, 10 Jul 2016 12:51:46 -0400
>
> > From: Soheil Hassas Yeganeh <soheil@...gle.com>
> >
> > Sergei Trofimovich reported that pulse audio sends SCM_CREDENTIALS
> > as a control message to TCP. Since __sock_cmsg_send does not
> > support SCM_RIGHTS and SCM_CREDENTIALS, it returns an error and
> > hence breaks pulse audio over TCP.
> >
> > SCM_RIGHTS and SCM_CREDENTIALS are sent on the SOL_SOCKET layer
> > but they semantically belong to SOL_UNIX. Since all
> > cmsg-processing functions including sock_cmsg_send ignore control
> > messages of other layers, it is best to ignore SCM_RIGHTS
> > and SCM_CREDENTIALS for consistency (and also for fixing pulse
> > audio over TCP).
> >
> > Signed-off-by: Soheil Hassas Yeganeh <soheil@...gle.com>
> > Reported-by: Sergei Trofimovich <slyfox@...too.org>
> > Tested-by: Sergei Trofimovich <slyfox@...too.org>
>
> Please resubmit this with a proper "Fixes: " tag which tells which
> commit introduced this regression.

Sorry David that I forgot the Fixes tag. I just updated the patch and
resubmitted.

Thanks!
Soheil

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ