CVE-2020-14356: Use After Free

Published May 31, 2020
·
Updated

A flaw null pointer dereference in the Linux kernel cgroupv2 subsystem in versions before 5.7.10 was found in the way when reboot the system. A local user could use this flaw to crash the system or escalate their privileges on the system.

Other sources

A use-after-free flaw was found in the Linux kernel’s cgroupv2 subsystem when rebooting the system. This flaw allows a local user to crash the system or escalate their privileges. The highest threat from this vulnerability is to system availability.

It was found that the Linux kernel's use after free issue could happen during the usage of cgroupv2 (usually when reboot and more likely if virtual machine or docker being used). After recent commit 090e28b ("netpriocgroup: Fix unlimited memory leak of v2 cgroups") was merged, the problem could be reproduced much simpler starting with 5.7.x kernels. The problem introduced with 4.5 kernel, but there is no known way to trigger it, so it was not known until 5.7 kernel. It could be possible to reproduce the bug by the user without privileges and without reboot if user has an ability to create/close cgroupv2 or this user create a process which is attached to already existing cgroupv2 BPF (but still the user will have to wait till root manually closes cgroupv2 or system is being rebooted).

This commit fixes the problem: https://github.com/torvalds/linux/commit/94886c86e833dbc8995202b6c6aaff592b7abd24

Red Hat

Affected Software

25 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-305.rt7.72.el8
0:4.18.0-305.rt7.72.el8
redhat/kernel<0:4.18.0-305.el8
0:4.18.0-305.el8
redhat/kernel<5.7.10
5.7.10
Linux Linux kernel>=4.5<4.9.231
Linux Linux kernel>=4.10<4.14.189
Linux Linux kernel>=4.15<4.19.134
Linux Linux kernel>=4.20<5.4.53
Linux Linux kernel>=5.5<5.7.10
redhat Enterprise Linux=8.0
openSUSE Leap=15.1
openSUSE Leap=15.2
Debian Debian Linux=9.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=20.04
NetApp Active Iq Unified Manager Vmware Vsphere
NetApp Cloud Backup
NetApp Hci Management Node
NetApp Solidfire
NetApp Solidfire Baseboard Management Controller Firmware
NetApp Solidfire Baseboard Management Controller
All of the following
NetApp Solidfire Baseboard Management Controller Firmware
NetApp Solidfire Baseboard Management Controller
debian/linux
5.10.223-15.10.262-16.1.176-16.1.180-16.12.94-16.12.101-17.1.7-17.1.8-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-305.rt7.72.el8
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-305.el8
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.7.10
  4. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.262-1Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.101-1Fixed in 7.1.7-1Fixed in 7.1.8-1
  5. Upgrade

    Upgrade Linux kernel cgroupv2 subsystem to a version that resolves this vulnerability.

    Fixed in 5.7.10
  6. Upgrade

    Upgrade Linux kernel cgroupv2 subsystem to a version that resolves this vulnerability.

    Patch 090e28b

Event History

May 31, 2020
CVE Published
12:00 PM
Aug 19, 2020
CVE Published
via MITRE·02:37 PM
Data Sourced
via MITRE·02:37 PM
DescriptionWeakness
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:40 PM
Description
Aug 12, 2026
Data Sourced
via Debian·11:19 AM
DescriptionAffected Software
Aug 15, 2026
Data Sourced
via Ubuntu·11:20 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2020-14356?

CVE-2020-14356 has been classified as a medium severity vulnerability due to potential system crashes or privilege escalation.

2

How do I fix CVE-2020-14356?

To fix CVE-2020-14356, upgrade to kernel version 5.7.10 or later, or apply the patched versions specified for your distribution.

3

What happens if I am affected by CVE-2020-14356?

If affected by CVE-2020-14356, a local user could crash the system or escalate their privileges, leading to potential unauthorized access.

4

Which Linux kernel versions are affected by CVE-2020-14356?

CVE-2020-14356 affects Linux kernel versions prior to 5.7.10, including multiple versions from 4.5 onward.

5

Is CVE-2020-14356 specific to any particular Linux distribution?

CVE-2020-14356 impacts various distributions, including Red Hat Enterprise Linux, Ubuntu, and Debian among others.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203