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] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 10 Jun 2007 16:21:34 +0100
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	Kari Hurtta <hurtta+gmane@...lo.fmi.fi>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [patch 7/8] fdmap v2 - implement sys_socket2

> Real world example is nss_ldap / pam_ldap -- these needs open socket to 
> ldap server.  That socket is cached. And because they can not trust that 
> application does not have closed file description of them, they check it with 
> getpeername + getsockname  (at least it did when I looked code on
> some years ago.)   
> 
> ( opening socket again includes using starttls and  authentication  .. so it is 
>   quite some overhead )

And if the fd was closed because of a security transition in the
application hiding it and caching it from the application might then lead
to a security hole.

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ