CVE-2020-12659: Medium severity Linux Linux kernel vulnerability

Published May 5, 2020
·
Updated

An issue was discovered in the Linux kernel before 5.6.7. xdpumemreg in net/xdp/xdpumem.c has an out-of-bounds write (by a user with the CAPNETADMIN capability) because of a lack of headroom validation.

Other sources

An out-of-bounds (OOB) memory access flaw was found in the Network XDP (the eXpress Data Path) module in the Linux kernel's xdpumemreg function in net/xdp/xdpumem.c. When a user with special user privilege of CAPNETADMIN (or root) calls setsockopt to register umem ring on XDP socket, passing the headroom value larger than the available space in the chunk, it leads to an out-of-bounds write, causing panic or possible memory corruption. This flaw may lead to privilege escalation if a local end-user is granted permission to influence the execution of code in this manner.

An out-of-bounds (OOB) memory access flaw was found in the Network XDP (the eXpress Data Path) module in the Linux kernel's xdpumemreg in net/xdp/xdpumem.c. When a user with special user privilege of CAPNETADMIN (or root) calls setsockopt to register umem ring on XDP socket, passing the headroom value larger than the available space in the chunk can leads to an out of bound write causing a panic or possible memory corruption. This may lead to privilege escalation if a local end user is granted permissions to influence the execution of code in this manner.

Reference: https://bugzilla.kernel.org/showbug.cgi?id=207225 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=99e3a236dd43d06c65af0a2ef9cb44306aef6e02

Red Hat

Affected Software

22 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-240.rt7.54.el8
0:4.18.0-240.rt7.54.el8
redhat/kernel<0:4.18.0-240.el8
0:4.18.0-240.el8
redhat/kernel<5.6.7
5.6.7
Linux Linux kernel<5.6.7
Linux Linux kernel>=4.18<4.19.118
Linux Linux kernel>=4.20<5.4.35
Linux Linux kernel>=5.5<5.6.7
NetApp Active Iq Unified Manager Vmware Vsphere
NetApp Cloud Backup
NetApp Hci Baseboard Management Controller=h300s
NetApp Hci Baseboard Management Controller=h410c
NetApp Hci Baseboard Management Controller=h410s
NetApp Hci Baseboard Management Controller=h500s
NetApp Hci Baseboard Management Controller=h610c
NetApp Hci Baseboard Management Controller=h610s
NetApp Hci Baseboard Management Controller=h615c
NetApp Hci Baseboard Management Controller=h700s
NetApp Solidfire \& Hci Management Node
NetApp Steelstore Cloud Integrated Storage
NetApp Aff Baseboard Management Controller=a700s
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-240.rt7.54.el8
  2. Upgrade

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

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

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

    Fixed in 5.6.7
  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

Event History

May 5, 2020
CVE Published
12:00 AM
CVE Published
via MITRE·06:13 AM
Data Sourced
via MITRE·06:13 AM
Description
Data Sourced
via NVD·07:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:38 PM
Description
Jul 4, 2026
Data Sourced
via Ubuntu·03:39 PM
RemedyDescriptionSeverityAffected Software
Aug 12, 2026
Data Sourced
via Debian·04:11 PM
DescriptionAffected 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-12659?

CVE-2020-12659 is classified as a high severity vulnerability due to the potential for unauthorized out-of-bounds writes.

2

How do I fix CVE-2020-12659?

To resolve CVE-2020-12659, upgrade to at least kernel version 5.6.7 or the relevant patched versions provided by your distribution.

3

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

CVE-2020-12659 affects Linux kernel versions prior to 5.6.7, including versions 4.18.x and 4.19.x.

4

What components are impacted by CVE-2020-12659?

CVE-2020-12659 specifically affects the Network XDP subsystem within the Linux kernel.

5

Is user privilege required to exploit CVE-2020-12659?

Yes, exploitation of CVE-2020-12659 requires CAP_NET_ADMIN capabilities.

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