CVE-2023-1872: Use-after-free in Linux kernel's io_uring subsystem

Published Apr 12, 2023
·
Updated

A use-after-free vulnerability in the Linux Kernel iouring system can be exploited to achieve local privilege escalation. The iofilegetfixed function lacks the presence of ctx->uringlock which can lead to a Use-After-Free vulnerability due a race condition with fixed files getting unregistered. We recommend upgrading past commit da24142b1ef9fd5d36b76e36bab328a5b27523e8.

Affected Software

76 affected componentsFixes available
Linux Linux kernel<5.17
Linux Linux kernel>=5.7<5.17
Debian Debian Linux=10.0
debian/linux
6.1.176-16.1.190-16.12.107-16.12.113-17.2.12-17.2.13-1
ubuntu/linux-hwe-edge*
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-gke-4.15*
ubuntu/linux-gke-5.4*
ubuntu/linux-gkeop-5.4*
ubuntu/linux-hwe*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-5.15<5.15.0-1035.39~20.04.1
5.15.0-1035.39~20.04.1
ubuntu/linux-azure-5.15<5.15.0-1037.44~20.04.1
5.15.0-1037.44~20.04.1
ubuntu/linux-azure-fde-5.15<5.15.0-1037.44~20.04.1.1
5.15.0-1037.44~20.04.1.1
ubuntu/linux-gcp-5.15<5.15.0-1033.41~20.04.1
5.15.0-1033.41~20.04.1
ubuntu/linux-gke-5.15<5.15.0-1032.37~20.04.1
5.15.0-1032.37~20.04.1
ubuntu/linux-gkeop-5.15<5.15.0-1019.24~20.04.1
5.15.0-1019.24~20.04.1
ubuntu/linux-hwe-5.15<5.15.0-71.78~20.04.1
5.15.0-71.78~20.04.1
ubuntu/linux-intel-iotg-5.15<5.15.0-1030.35~20.04.1
5.15.0-1030.35~20.04.1
ubuntu/linux-lowlatency-hwe-5.15<5.15.0-71.78~20.04.1
5.15.0-71.78~20.04.1
ubuntu/linux-oracle-5.15<5.15.0-1034.40~20.04.1
5.15.0-1034.40~20.04.1
ubuntu/linux-riscv-5.15<5.15.0-1032.36~20.04.1
5.15.0-1032.36~20.04.1
ubuntu/linux-aws-5.11*
ubuntu/linux-aws-5.13*
ubuntu/linux-aws-5.8*
ubuntu/linux-azure-5.11*
ubuntu/linux-azure-5.13*
ubuntu/linux-azure-5.8*
ubuntu/linux-azure-fde*
ubuntu/linux-gcp-5.11*
ubuntu/linux-gcp-5.13*
ubuntu/linux-gcp-5.8*
ubuntu/linux-hwe-5.11*
ubuntu/linux-hwe-5.13*
ubuntu/linux-hwe-5.8*
ubuntu/linux-intel-5.13*
ubuntu/linux-oem-5.10*
ubuntu/linux-oem-5.13*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle-5.11*
ubuntu/linux-oracle-5.13*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.11*
ubuntu/linux-riscv-5.8*
ubuntu/linux<5.15.0-71.78
5.15.0-71.78
ubuntu/linux-aws<5.15.0-1035.39
5.15.0-1035.39
ubuntu/linux-azure<5.15.0-1037.44
5.15.0-1037.44
ubuntu/linux-azure-fde<5.15.0-1037.44.1
5.15.0-1037.44.1
ubuntu/linux-gcp<5.15.0-1034.42
5.15.0-1034.42
ubuntu/linux-gke<5.15.0-1032.37
5.15.0-1032.37
ubuntu/linux-gkeop<5.15.0-1019.24
5.15.0-1019.24
ubuntu/linux-ibm<5.15.0-1029.32
5.15.0-1029.32
ubuntu/linux-intel-iotg<5.15.0-1030.35
5.15.0-1030.35
ubuntu/linux-kvm<5.15.0-1032.37
5.15.0-1032.37
ubuntu/linux-lowlatency<5.15.0-71.78
5.15.0-71.78
ubuntu/linux-nvidia<5.15.0-1023.23
5.15.0-1023.23
ubuntu/linux-oem-5.17<5.17.0-1004.4
5.17.0-1004.4
ubuntu/linux-oracle<5.15.0-1034.40
5.15.0-1034.40
ubuntu/linux-raspi<5.15.0-1028.30
5.15.0-1028.30
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-riscv-6.5*
ubuntu/linux-bluefield<5.15.0-1017.19
5.15.0-1017.19
ubuntu/linux-intel-iot-realtime<5.15.0-1028.33
5.15.0-1028.33
ubuntu/linux-realtime<5.15.0-1037.40
5.15.0-1037.40
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 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1
  2. Upgrade

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

    Fixed in 5.15.0-1035.39~20.04.1
  3. Upgrade

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

    Fixed in 5.15.0-1037.44~20.04.1
  4. Upgrade

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

    Fixed in 5.15.0-1037.44~20.04.1.1
  5. Upgrade

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

    Fixed in 5.15.0-1033.41~20.04.1
  6. Upgrade

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

    Fixed in 5.15.0-1032.37~20.04.1
  7. Upgrade

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

    Fixed in 5.15.0-1019.24~20.04.1
  8. Upgrade

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

    Fixed in 5.15.0-71.78~20.04.1
  9. Upgrade

    Upgrade ubuntu/linux-intel-iotg-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1030.35~20.04.1
  10. Upgrade

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

    Fixed in 5.15.0-71.78~20.04.1
  11. Upgrade

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

    Fixed in 5.15.0-1034.40~20.04.1
  12. Upgrade

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

    Fixed in 5.15.0-1032.36~20.04.1
  13. Upgrade

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

    Fixed in 5.15.0-71.78
  14. Upgrade

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

    Fixed in 5.15.0-1035.39
  15. Upgrade

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

    Fixed in 5.15.0-1037.44
  16. Upgrade

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

    Fixed in 5.15.0-1037.44.1
  17. Upgrade

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

    Fixed in 5.15.0-1034.42
  18. Upgrade

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

    Fixed in 5.15.0-1032.37
  19. Upgrade

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

    Fixed in 5.15.0-1019.24
  20. Upgrade

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

    Fixed in 5.15.0-1029.32
  21. Upgrade

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

    Fixed in 5.15.0-1030.35
  22. Upgrade

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

    Fixed in 5.15.0-1032.37
  23. Upgrade

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

    Fixed in 5.15.0-71.78
  24. Upgrade

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

    Fixed in 5.15.0-1023.23
  25. Upgrade

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

    Fixed in 5.17.0-1004.4
  26. Upgrade

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

    Fixed in 5.15.0-1034.40
  27. Upgrade

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

    Fixed in 5.15.0-1028.30
  28. Upgrade

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

    Fixed in 5.15.0-1017.19
  29. Upgrade

    Upgrade ubuntu/linux-intel-iot-realtime to a version that resolves this vulnerability.

    Fixed in 5.15.0-1028.33
  30. Upgrade

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

    Fixed in 5.15.0-1037.40
  31. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch da24142b1ef9fd5d36b76e36bab328a5b27523e8

Event History

Apr 12, 2023
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
Remedy
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·03:40 PM
Data Sourced
via MITRE·03:40 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·04:15 PM
DescriptionSeverityAffected Software
Jun 22, 2023
Data Sourced
03:15 PM
Weakness
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·03:15 PM
Affected Software
Feb 29, 2024
Updated
via NVD·08:23 PM
Affected Software
Nov 21, 2024
Updated
via NVD·07:40 AM
RemedyAffected Software
Feb 13, 2025
Updated
via NVD·05:16 PM
DescriptionAffected Software
Updated
via NVD·05:16 PM
RemedyDescriptionAffected Software
Jun 17, 2026
Updated
via NVD·05:28 AM
Affected Software
Jul 4, 2026
Updated
via Ubuntu·12:00 AM
Description

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2023-1872?

CVE-2023-1872 has a high severity rating due to its potential for local privilege escalation.

2

How do I fix CVE-2023-1872?

To fix CVE-2023-1872, upgrade the Linux Kernel to versions 5.10.223-1, 5.10.226-1, 6.1.119-1, 6.1.123-1, 6.12.11-1, or 6.12.12-1.

3

Which Linux Kernel versions are vulnerable to CVE-2023-1872?

The vulnerable Linux Kernel versions are from 5.7 up to but not including 5.17.

4

What is a use-after-free vulnerability in CVE-2023-1872?

A use-after-free vulnerability occurs when a program continues to use a pointer after the memory it points to has been released, potentially allowing for privilege escalation.

5

Which distributions are affected by CVE-2023-1872?

Debian 10.0 and any Linux Kernel versions from 5.7 to 5.17 are affected by CVE-2023-1872.

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