SUSE Support

Here When You Need Us

xrdp fails to start due to failures in xrdp_mcs_recv and xrdp_process_loop

This document (000021087) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 12 SP4 LTSS
SUSE Linux Enterprise Server for SAP Applications 12 SP4

Situation

On SLES12 SP4 LTSS xrdp connections fail with the following error:
2023-05-15T12:52:30.744801+01:00 SERVER-TEST1 xrdp[8536]: [20230515-12:52:30] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
2023-05-15T12:52:30.745079+01:00 SERVER-TEST1 xrdp[8536]: [20230515-12:52:30] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
2023-05-15T12:52:30.745354+01:00 SERVER-TEST1 xrdp[8536]: pub_mod bytes 64
2023-05-15T12:52:30.745627+01:00 SERVER-TEST1 xrdp[8536]: pri_exp 64
2023-05-15T12:52:30.745899+01:00 SERVER-TEST1 xrdp[8536]: libxrdp_force_read: error
2023-05-15T12:52:30.746171+01:00 SERVER-TEST1 xrdp[8536]: xrdp_process_main_loop: libxrdp_process_incomming failed
2023-05-15T12:52:30.746461+01:00 SERVER-TEST1 xrdp[8536]: xrdp_mcs_disconnect - socket closed
2023-05-15T12:52:30.746742+01:00 SERVER-TEST1 xrdp[8536]: [20230515-12:52:30] [ERROR] Listening socket is in wrong state we terminate listener

Affected version is xrdp 0.9.0~git.1456906198.f422461-21.30.2 previous versions are not impacted.
 

Resolution

Upgrade xrdp to version 0.9.0~git.1456906198.f422461-21.33.1.x86_64 

Cause

A bug was introduced with CVE-2022-23482 patch and it has been fixed in version 0.9.0~git.1456906198.f422461-21.33.1.x86_64

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000021087
  • Creation Date: 01-Jun-2023
  • Modified Date:02-Jun-2023
    • SUSE Linux Enterprise Server
    • SUSE Linux Enterprise Server for SAP Applications

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.