SUSE Support

Here When You Need Us

Security vulnerability: CVE-2022-0185 kernel local root exploit and container escape

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

Environment

SUSE Linux Enterprise Server 15 Service Pack 3
SUSE Linux Enterprise Server 15 Service Pack 2

Situation

Researchers have identified a vulnerability in the Linux kernel that could be exploited by local attackers to gain root access and/or escaping containers. 

 

Resolution

Fixed kernel packages have been released, please use

zypper lp -a --cve=CVE-2022-0185

to locate the respective patch name to update.

Cause

The cause is an integer underflow in fsconfig() legacy parameter handling.

Status

Security Alert

Additional Information

If an immediate update is not possible, a workaround is to disable unprivileged user namespaces.
Please note that this could potentially break valid functionality in the system.

On a running system, either restrict the total amount of user-namespaces to 0:

    sysctl -w user.max_user_namespaces=0


The described mitigation is not permanent. If the setting needs to be reboot persistent,
add them to /etc/sysctl.conf or one of its included files.

References:

CVE Page:
https://www.suse.com/security/cve/CVE-2022-0185.html

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:000020565
  • Creation Date: 26-Jan-2022
  • Modified Date:09-Jun-2022
    • SUSE Linux Enterprise Server

< Back to Support Search

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

tick icon

SUSE Support Forums

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

tick icon

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.

tick icon

Open an Incident

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