bugzilla-daemon at mindrot.org
2014-Apr-24  20:39 UTC
[Bug 2236] New: ssh-agent: fix unintended UNIX-domain socket removal
https://bugzilla.mindrot.org/show_bug.cgi?id=2236
            Bug ID: 2236
           Summary: ssh-agent: fix unintended UNIX-domain socket removal
           Product: Portable OpenSSH
           Version: 6.6p1
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: ssh-agent
          Assignee: unassigned-bugs at mindrot.org
          Reporter: ldv at altlinux.org
Created attachment 2432
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2432&action=edit
proposed fix
ssh-agent sometimes forks child processes.  For example,
ask_permission() may fork a child process to execute an askpass
program.
If it fails to execute, the child process exits using fatal(), which in
turn calls cleanup_exit(), and the latter calls cleanup_socket().  As
result, an error in child process causes unintended UNIX-domain socket
removal.  The fix is to record pid of the process that is responsible
for socket cleanup, and skip this cleanup for other processes.
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2014-Jul-03  03:03 UTC
[Bug 2236] ssh-agent: fix unintended UNIX-domain socket removal
https://bugzilla.mindrot.org/show_bug.cgi?id=2236
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2432|application/octet-stream    |text/plain
          mime type|                            |
   Attachment #2432|0                           |1
           is patch|                            |
                 CC|                            |djm at mindrot.org
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2014-Jul-03  03:11 UTC
[Bug 2236] ssh-agent: fix unintended UNIX-domain socket removal
https://bugzilla.mindrot.org/show_bug.cgi?id=2236
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |2226
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
patch applied - this will be in OpenSSH 6.7 - thanks!
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2014-Jul-03  06:49 UTC
[Bug 2236] ssh-agent: fix unintended UNIX-domain socket removal
https://bugzilla.mindrot.org/show_bug.cgi?id=2236
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2014-Oct-07  21:00 UTC
[Bug 2236] ssh-agent: fix unintended UNIX-domain socket removal
https://bugzilla.mindrot.org/show_bug.cgi?id=2236
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
Close all bugs left open from 6.6 and 6.7 releases.
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
Seemingly Similar Threads
- Problems with OpenSSH2.9p1 on Linux/Sparc
- [PATCH] ssh-agent: add systemd socket-based activation
- [PATCH] ssh-agent: exit 0 from SIGTERM under systemd socket-activation
- [Bug 3670] New: [ssh-agent] 100% CPU spin in cleanup_handler signal handler
- [Bug 3660] New: Prevent disastrous unintended local copying