CVE-2020-12652: Race Condition

Published May 5, 2020
·
Updated

The mptctlioctl function in drivers/message/fusion/mptctl.c in the Linux kernel before 5.4.14 allows local users to hold an incorrect lock during the ioctl operation and trigger a race condition, i.e., a "double fetch" vulnerability, aka CID-28d76df18f0a. NOTE: the vendor states "The security impact of this bug is not as bad as it could have been because these operations are all privileged and root already has enormous destructive power."

Affected Software

55 affected componentsFixes available
Linux Linux kernel<5.4.14
ubuntu/linux-aws<4.4.0-1062.66
4.4.0-1062.66
ubuntu/linux-azure<4.15.0-1074.79~14.04.1
4.15.0-1074.79~14.04.1
ubuntu/linux-lts-xenial<4.4.0-174.204~14.04.1
4.4.0-174.204~14.04.1
ubuntu/linux*
ubuntu/linux<4.4.0-174.204
4.4.0-174.204
ubuntu/linux-aws<4.4.0-1102.113
4.4.0-1102.113
ubuntu/linux-aws-hwe<4.15.0-1063.67~16.04.1
4.15.0-1063.67~16.04.1
ubuntu/linux-azure<4.15.0-1075.80
4.15.0-1075.80
ubuntu/linux-gcp<4.15.0-1058.62
4.15.0-1058.62
ubuntu/linux-hwe<4.15.0-91.92~16.04.1
4.15.0-91.92~16.04.1
ubuntu/linux-kvm<4.4.0-1066.73
4.4.0-1066.73
ubuntu/linux-oracle<4.15.0-1035.38~16.04.1
4.15.0-1035.38~16.04.1
ubuntu/linux-raspi2<4.4.0-1129.138
4.4.0-1129.138
ubuntu/linux-snapdragon<4.4.0-1133.141
4.4.0-1133.141
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1029.34
4.4.0-1029.34
ubuntu/linux-fips*
ubuntu/linux<4.15.0-91.92
4.15.0-91.92
ubuntu/linux-aws<4.15.0-1063.67
4.15.0-1063.67
ubuntu/linux-azure-5.3<5.3.0-1016.17~18.04.1
5.3.0-1016.17~18.04.1
ubuntu/linux-gcp-5.3<5.3.0-1014.15~18.04.1
5.3.0-1014.15~18.04.1
ubuntu/linux-gke-4.15<4.15.0-1055.58
4.15.0-1055.58
ubuntu/linux-gke-5.0<5.0.0-1032.33
5.0.0-1032.33
ubuntu/linux-gke-5.3<5.3.0-1014.15~18.04.1
5.3.0-1014.15~18.04.1
ubuntu/linux-hwe<5.3.0-42.34~18.04.1
5.3.0-42.34~18.04.1
ubuntu/linux-kvm<4.15.0-1056.57
4.15.0-1056.57
ubuntu/linux-oem<4.15.0-1076.86
4.15.0-1076.86
ubuntu/linux-oem-osp1<5.0.0-1043.48
5.0.0-1043.48
ubuntu/linux-oracle<4.15.0-1035.39
4.15.0-1035.39
ubuntu/linux-raspi2<4.15.0-1057.61
4.15.0-1057.61
ubuntu/linux-raspi2-5.3<5.3.0-1019.21~18.04.1
5.3.0-1019.21~18.04.1
ubuntu/linux-snapdragon<4.15.0-1074.81
4.15.0-1074.81
ubuntu/linux-aws-5.0*
ubuntu/linux-azure*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-edge*
ubuntu/linux-hwe-edge*
ubuntu/linux-oracle-5.0*
ubuntu/linux-aws-fips<4.15.0-2018.18
4.15.0-2018.18
ubuntu/linux-azure-fips<4.15.0-2006.7
4.15.0-2006.7
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.15<5.15.0-1114.123~20.04.1
5.15.0-1114.123~20.04.1
ubuntu/linux-gke*
ubuntu/linux-raspi2*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-raspi-realtime*
debian/linux
3.16.84-14.9.210-1+deb9u14.19.98-15.4.19-1
debian/linux-4.9
4.9.210-1+deb9u1~deb8u1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 4.4.0-1062.66
  2. Upgrade

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

    Fixed in 4.15.0-1074.79~14.04.1
  3. Upgrade

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

    Fixed in 4.4.0-174.204~14.04.1
  4. Upgrade

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

    Fixed in 4.4.0-174.204
  5. Upgrade

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

    Fixed in 4.4.0-1102.113
  6. Upgrade

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

    Fixed in 4.15.0-1063.67~16.04.1
  7. Upgrade

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

    Fixed in 4.15.0-1075.80
  8. Upgrade

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

    Fixed in 4.15.0-1058.62
  9. Upgrade

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

    Fixed in 4.15.0-91.92~16.04.1
  10. Upgrade

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

    Fixed in 4.4.0-1066.73
  11. Upgrade

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

    Fixed in 4.15.0-1035.38~16.04.1
  12. Upgrade

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

    Fixed in 4.4.0-1129.138
  13. Upgrade

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

    Fixed in 4.4.0-1133.141
  14. Upgrade

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

    Fixed in 4.4.0-1029.34
  15. Upgrade

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

    Fixed in 4.15.0-91.92
  16. Upgrade

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

    Fixed in 4.15.0-1063.67
  17. Upgrade

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

    Fixed in 5.3.0-1016.17~18.04.1
  18. Upgrade

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

    Fixed in 5.3.0-1014.15~18.04.1
  19. Upgrade

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

    Fixed in 4.15.0-1055.58
  20. Upgrade

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

    Fixed in 5.0.0-1032.33
  21. Upgrade

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

    Fixed in 5.3.0-1014.15~18.04.1
  22. Upgrade

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

    Fixed in 5.3.0-42.34~18.04.1
  23. Upgrade

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

    Fixed in 4.15.0-1056.57
  24. Upgrade

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

    Fixed in 4.15.0-1076.86
  25. Upgrade

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

    Fixed in 5.0.0-1043.48
  26. Upgrade

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

    Fixed in 4.15.0-1035.39
  27. Upgrade

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

    Fixed in 4.15.0-1057.61
  28. Upgrade

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

    Fixed in 5.3.0-1019.21~18.04.1
  29. Upgrade

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

    Fixed in 4.15.0-1074.81
  30. Upgrade

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

    Fixed in 4.15.0-2018.18
  31. Upgrade

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

    Fixed in 4.15.0-2006.7
  32. Upgrade

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

    Fixed in 5.15.0-1114.123~20.04.1
  33. Upgrade

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

    Fixed in 3.16.84-1Fixed in 4.9.210-1+deb9u1Fixed in 4.19.98-1Fixed in 5.4.19-1
  34. Upgrade

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

    Fixed in 4.9.210-1+deb9u1~deb8u1

Event History

May 5, 2020
CVE Published
via MITRE·04:23 AM
Data Sourced
via MITRE·04:23 AM
Description
Data Sourced
via OSV·05:15 AM
DescriptionSeverityAffected Software
Data Sourced
05:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 13, 2020
Event
09:15 AM
Nov 11, 2026
Updated
via OSV·09:36 AM
Affected Software
Nov 12, 2026
Updated
via OSV·05:22 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

Who can realistically exploit this issue?

Exploitation requires local access and high privileges. The affected ioctl operations are privileged, and the vendor notes that root already has substantial destructive capability.

2

Which kernel versions are affected?

Linux kernel versions before 5.4.14 are affected. The issue is fixed in 5.4.14.

3

What is the impact of a successful race?

A local privileged user can trigger a race condition during the ioctl operation that can cause a denial of service. The supplied CVSS vector indicates no confidentiality or integrity impact, with availability impact rated high.

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