[Bug 3295] New: Session Id mismatch

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Apr 9 11:50:45 AEST 2021


https://bugzilla.mindrot.org/show_bug.cgi?id=3295

            Bug ID: 3295
           Summary: Session Id mismatch
           Product: Portable OpenSSH
           Version: 8.5p1
          Hardware: Other
                OS: Windows 10
            Status: NEW
          Severity: normal
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: balu.gajjala at gmail.com

I'm from the win32 OpenSSH team. After merge V8.5, I'm occasionally
getting session-id mismatch. If I retry then it goes away.

Looking at the sshd logs, the ssh->kex->session_id and session_id2 are
matching but memcmp fails. one interesting observation is 
session_id2_len is always 32 no matter how big the session id is.

---------------------
6220 2021-04-08 18:38:30.216 debug1:
ssh->kex->session_id:+\350\274{\371b
\276\220\030\272DC\206K!\301)\275\257c{\377\340\352\226\310
session_id2:+\350\274{\371b
\276\220\030\272DC\206K!\301)\275\257c{\377\340\352\226\310
session_id2_len:32 ssh->kex->session_id_len:27
6220 2021-04-08 18:38:30.216 fatal: monitor_apply_keystate: session ID
mismatch
6220 2021-04-08 18:38:30.216 debug1: do_cleanup
---------------------
5312 2021-04-08 18:01:51.939 debug1: ssh->kex->session_id:\0234\206
session_id2:\0234\206 session_id2_len:32 ssh->kex->session_id_len:3
5312 2021-04-08 18:01:51.939 fatal: monitor_apply_keystate: session ID
mismatch
5312 2021-04-08 18:01:51.939 debug1: do_cleanup
---------------------
4484 2021-04-08 17:57:25.640 debug1: ssh->kex->session_id: session_id2:
session_id2_len:32 ssh->kex->session_id_len:0
4484 2021-04-08 17:57:25.640 fatal: monitor_apply_keystate: session ID
mismatch
4484 2021-04-08 17:57:25.640 debug1: do_cleanup

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list