CVE-2020-35519: High severity Linux Linux kernel vulnerability

Published Dec 16, 2020
·
Updated

An out-of-bounds (OOB) memory access flaw was found in x25bind in net/x25/afx25.c in the Linux kernel version v5.12-rc5. A bounds check failure allows a local attacker with a user account on the system to gain access to out-of-bounds memory leading to a system crash or a leak of internal kernel information. The highest threat from this vulnerability is to system's integrity and availability.

As .x25addr[] array comes from the user and is not necessarily NUL terminated. Using strnlen() instead of strlen() will prevent a read overflow problem.

Other sources

An out-of-bounds (OOB) memory access flaw was found in x25bind in net/x25/afx25.c in the Linux kernel version v5.12-rc5. A bounds check failure allows a local attacker with a user account on the system to gain access to out-of-bounds memory, leading to a system crash or a leak of internal kernel information. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

— Launchpad

Affected Software

123 affected componentsFixes available
Linux Linux kernel>=2.6.12<4.4.248
Linux Linux kernel>=4.5<4.9.248
Linux Linux kernel>=4.10<4.14.211
Linux Linux kernel>=4.15<4.19.162
Linux Linux kernel>=4.20<5.4.82
Linux Linux kernel>=5.5<5.9.13
NetApp Cloud Backup
All of the following
NetApp Solidfire Baseboard Management Controller Firmware
NetApp Solidfire Baseboard Management Controller
All of the following
NetApp H300s Firmware
NetApp H300s
All of the following
NetApp H500s Firmware
NetApp H500s
All of the following
NetApp H700s Firmware
NetApp H700s
All of the following
NetApp H300e Firmware
NetApp H300e
All of the following
NetApp H500e Firmware
NetApp H500e
All of the following
NetApp H700e Firmware
NetApp H700e
All of the following
NetApp H410s Firmware
NetApp H410s
All of the following
NetApp H410c Firmware
NetApp H410c
Linux Linux kernel=5.12-rc5
NetApp Solidfire Baseboard Management Controller Firmware
NetApp Solidfire Baseboard Management Controller
NetApp H300s Firmware
NetApp H300s
NetApp H500s Firmware
NetApp H500s
NetApp H700s Firmware
NetApp H700s
NetApp H300e Firmware
NetApp H300e
NetApp H500e Firmware
NetApp H500e
NetApp H700e Firmware
NetApp H700e
NetApp H410s Firmware
NetApp H410s
NetApp H410c Firmware
NetApp H410c
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1
ubuntu/linux-aws<4.4.0-1086.90
4.4.0-1086.90
ubuntu/linux-azure<4.15.0-1108.120~14.04.1
4.15.0-1108.120~14.04.1
ubuntu/linux-lts-xenial<4.4.0-203.235~14.04.1
4.4.0-203.235~14.04.1
ubuntu/linux*
ubuntu/linux<4.4.0-203.235
4.4.0-203.235
ubuntu/linux-aws<4.4.0-1122.136
4.4.0-1122.136
ubuntu/linux-aws-hwe<4.15.0-1094.101~16.04.1
4.15.0-1094.101~16.04.1
ubuntu/linux-azure<4.15.0-1108.120~16.04.1
4.15.0-1108.120~16.04.1
ubuntu/linux-gcp<4.15.0-1093.106~16.04.1
4.15.0-1093.106~16.04.1
ubuntu/linux-hwe<4.15.0-136.140~16.04.1
4.15.0-136.140~16.04.1
ubuntu/linux-kvm<4.4.0-1088.97
4.4.0-1088.97
ubuntu/linux-oracle<4.15.0-1065.73~16.04.1
4.15.0-1065.73~16.04.1
ubuntu/linux-raspi2<4.4.0-1146.156
4.4.0-1146.156
ubuntu/linux-snapdragon<4.4.0-1150.160
4.4.0-1150.160
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1056.62
4.4.0-1056.62
ubuntu/linux-fips*
ubuntu/linux<4.15.0-136.140
4.15.0-136.140
ubuntu/linux-aws<4.15.0-1094.101
4.15.0-1094.101
ubuntu/linux-aws-5.4<5.4.0-1038.40~18.04.1
5.4.0-1038.40~18.04.1
ubuntu/linux-azure-4.15<4.15.0-1108.120
4.15.0-1108.120
ubuntu/linux-azure-5.4<5.4.0-1040.42~18.04.1
5.4.0-1040.42~18.04.1
ubuntu/linux-dell300x<4.15.0-1012.16
4.15.0-1012.16
ubuntu/linux-gcp-4.15<4.15.0-1093.106
4.15.0-1093.106
ubuntu/linux-gcp-5.4<5.4.0-1037.40~18.04.1
5.4.0-1037.40~18.04.1
ubuntu/linux-gke-5.4<5.4.0-1036.38~18.04.1
5.4.0-1036.38~18.04.1
ubuntu/linux-gkeop-5.4<5.4.0-1010.11~18.04.1
5.4.0-1010.11~18.04.1
ubuntu/linux-hwe-5.4<5.4.0-66.74~18.04.2
5.4.0-66.74~18.04.2
ubuntu/linux-kvm<4.15.0-1085.87
4.15.0-1085.87
ubuntu/linux-oracle<4.15.0-1065.73
4.15.0-1065.73
ubuntu/linux-oracle-5.4<5.4.0-1038.41~18.04.1
5.4.0-1038.41~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1029.32~18.04.1
5.4.0-1029.32~18.04.1
ubuntu/linux-raspi2<4.15.0-1079.84
4.15.0-1079.84
ubuntu/linux-snapdragon<4.15.0-1096.105
4.15.0-1096.105
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gcp-edge*
ubuntu/linux-gke-4.15*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-fips<4.15.0-2037.39
4.15.0-2037.39
ubuntu/linux-azure-fips<4.15.0-2020.23
4.15.0-2020.23
ubuntu/linux-fips<4.15.0-1053.61
4.15.0-1053.61
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-66.74
5.4.0-66.74
ubuntu/linux-aws<5.4.0-1038.40
5.4.0-1038.40
ubuntu/linux-azure<5.4.0-1040.42
5.4.0-1040.42
ubuntu/linux-gcp<5.4.0-1037.40
5.4.0-1037.40
ubuntu/linux-gke<5.4.0-1036.38
5.4.0-1036.38
ubuntu/linux-gkeop<5.4.0-1010.11
5.4.0-1010.11
ubuntu/linux-hwe-5.8<5.8.0-44.50~20.04.1
5.8.0-44.50~20.04.1
ubuntu/linux-kvm<5.4.0-1033.34
5.4.0-1033.34
ubuntu/linux-oem-5.6<5.6.0-1056.60
5.6.0-1056.60
ubuntu/linux-oracle<5.4.0-1038.41
5.4.0-1038.41
ubuntu/linux-raspi<5.4.0-1029.32
5.4.0-1029.32
ubuntu/linux-riscv-5.8<5.8.0-17.19~20.04.1
5.8.0-17.19~20.04.1
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-aws-fips<5.4.0-1069.73+fips2
5.4.0-1069.73+fips2
ubuntu/linux-azure-fips<5.4.0-1073.76+fips1
5.4.0-1073.76+fips1
ubuntu/linux-gcp-fips<5.4.0-1067.71~20.04.1
5.4.0-1067.71~20.04.1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-raspi-realtime*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.22-1Fixed in 6.12.25-1
  2. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1086.90
  3. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1108.120~14.04.1
  4. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 4.4.0-203.235~14.04.1
  5. Upgrade

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

    Fixed in 4.4.0-203.235
  6. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1122.136
  7. Upgrade

    Upgrade ubuntu/linux-aws-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-1094.101~16.04.1
  8. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1108.120~16.04.1
  9. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 4.15.0-1093.106~16.04.1
  10. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-136.140~16.04.1
  11. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.4.0-1088.97
  12. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1065.73~16.04.1
  13. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.4.0-1146.156
  14. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.4.0-1150.160
  15. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.4.0-1056.62
  16. Upgrade

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

    Fixed in 4.15.0-136.140
  17. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.15.0-1094.101
  18. Upgrade

    Upgrade ubuntu/linux-aws-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1038.40~18.04.1
  19. Upgrade

    Upgrade ubuntu/linux-azure-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1108.120
  20. Upgrade

    Upgrade ubuntu/linux-azure-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1040.42~18.04.1
  21. Upgrade

    Upgrade ubuntu/linux-dell300x to a version that resolves this vulnerability.

    Fixed in 4.15.0-1012.16
  22. Upgrade

    Upgrade ubuntu/linux-gcp-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1093.106
  23. Upgrade

    Upgrade ubuntu/linux-gcp-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1037.40~18.04.1
  24. Upgrade

    Upgrade ubuntu/linux-gke-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1036.38~18.04.1
  25. Upgrade

    Upgrade ubuntu/linux-gkeop-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1010.11~18.04.1
  26. Upgrade

    Upgrade ubuntu/linux-hwe-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-66.74~18.04.2
  27. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.15.0-1085.87
  28. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1065.73
  29. Upgrade

    Upgrade ubuntu/linux-oracle-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1038.41~18.04.1
  30. Upgrade

    Upgrade ubuntu/linux-raspi-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1029.32~18.04.1
  31. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1079.84
  32. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.15.0-1096.105
  33. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2037.39
  34. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2020.23
  35. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-1053.61
  36. Upgrade

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

    Fixed in 5.4.0-66.74
  37. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.4.0-1038.40
  38. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.4.0-1040.42
  39. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1037.40
  40. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 5.4.0-1036.38
  41. Upgrade

    Upgrade ubuntu/linux-gkeop to a version that resolves this vulnerability.

    Fixed in 5.4.0-1010.11
  42. Upgrade

    Upgrade ubuntu/linux-hwe-5.8 to a version that resolves this vulnerability.

    Fixed in 5.8.0-44.50~20.04.1
  43. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1033.34
  44. Upgrade

    Upgrade ubuntu/linux-oem-5.6 to a version that resolves this vulnerability.

    Fixed in 5.6.0-1056.60
  45. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.4.0-1038.41
  46. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.4.0-1029.32
  47. Upgrade

    Upgrade ubuntu/linux-riscv-5.8 to a version that resolves this vulnerability.

    Fixed in 5.8.0-17.19~20.04.1
  48. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1069.73+fips2
  49. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1073.76+fips1
  50. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1067.71~20.04.1
  51. Compensating control

    In x25_bind in net/x25/af_x25.c, use strnlen() instead of strlen() when handling the user-supplied .x25_addr[] array to prevent a read overflow.

Event History

Dec 16, 2020
Data Sourced
via Red Hat·08:33 AM
DescriptionSeverityAffected Software
Mar 18, 2021
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
May 6, 2021
CVE Published
via MITRE·02:18 PM
Data Sourced
via MITRE·02:18 PM
DescriptionWeakness

Frequently Asked Questions

1

What is the severity of CVE-2020-35519?

CVE-2020-35519 is considered to have a high severity due to the potential for an attacker to exploit the out-of-bounds memory access flaw.

2

How do I fix CVE-2020-35519?

To fix CVE-2020-35519, you should upgrade to a patched version of the Linux kernel, specifically versions 5.10.223, 5.10.226, or later.

3

What products are affected by CVE-2020-35519?

CVE-2020-35519 affects multiple versions of the Linux kernel ranging from versions 2.6.12 to 5.9.13.

4

Can CVE-2020-35519 lead to system crashes?

Yes, CVE-2020-35519 can lead to system crashes or even a leak of internal kernel information.

5

Is there a workaround for CVE-2020-35519?

As a temporary measure, limiting user access and minimizing the number of local users can reduce the risk of exploitation until the vulnerability is patched.

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