CVE-2019-19768: Use After Free

Published Nov 29, 2019
·
Updated

A use-after-free flaw was found in the Linux kernels implementation of blktrace in the blkaddtrace function. A local attacker with permissions to run block trace instructions against a device can create a situation where the core blocktrace object is used after it is freed. The attacker can pre-groom memory to race this use-after-free to create a condition where memory is corrupted and also likely to be privilege escalation.

The ability to create this condition requires elevated privileges, and it has been decided that this change in Red Hat Enterprise Linux 5 and 6 would risk introducing possible regressions and will not be backported.

Reference: https://bugzilla.kernel.org/showbug.cgi?id=205711

Patch: A patch may be attached to the bugzilla.kernel.org but no patch exists at this time.

Other sources

A use-after-free vulnerability was found in the Linux kernel’s implementation of blktrace in the blkaddtrace function. A local attacker with permissions to run block trace instructions against a device can create a situation where the core blocktrace object is used after it is freed. The attacker can pre-groom memory to race this use-after-free to create a condition where the memory is corrupted and cause privilege escalation. The ability to create this condition requires elevated privileges, and it has been decided that this change in Red Hat Enterprise Linux 5 and 6 would risk introducing possible regressions and will not be backported.

In the Linux kernel 5.4.0-rc2, there is a use-after-free (read) in the blkaddtrace function in kernel/trace/blktrace.c (which is used to fill out a blkiotrace structure and place it in a per-cpu sub-buffer).

— Ubuntu

Affected Software

72 affected componentsFixes available
redhat/kernel-rt<0:3.10.0-1127.8.2.rt56.1103.el7
0:3.10.0-1127.8.2.rt56.1103.el7
redhat/kernel<0:3.10.0-1127.8.2.el7
0:3.10.0-1127.8.2.el7
redhat/kernel-alt<0:4.14.0-115.21.2.el7a
0:4.14.0-115.21.2.el7a
redhat/kernel<0:3.10.0-327.88.1.el7
0:3.10.0-327.88.1.el7
redhat/kernel<0:3.10.0-514.76.1.el7
0:3.10.0-514.76.1.el7
redhat/kernel<0:3.10.0-693.67.1.el7
0:3.10.0-693.67.1.el7
redhat/kernel<0:3.10.0-957.54.1.el7
0:3.10.0-957.54.1.el7
redhat/kernel<0:3.10.0-1062.26.1.el7
0:3.10.0-1062.26.1.el7
redhat/kernel-rt<0:4.18.0-193.rt13.51.el8
0:4.18.0-193.rt13.51.el8
redhat/kernel<0:4.18.0-193.el8
0:4.18.0-193.el8
redhat/kernel<0:4.18.0-80.18.1.el8_0
0:4.18.0-80.18.1.el8_0
redhat/kernel<0:4.18.0-147.13.2.el8_1
0:4.18.0-147.13.2.el8_1
redhat/kernel-rt<1:3.10.0-693.67.1.rt56.665.el6
1:3.10.0-693.67.1.rt56.665.el6
Linux Linux kernel=5.4.0
Linux Linux kernel=5.4.0-rc1
Linux Linux kernel=5.4.0-rc2
ubuntu/linux-aws<4.4.0-1066.70
4.4.0-1066.70
ubuntu/linux-azure<4.15.0-1082.92~14.04.1
4.15.0-1082.92~14.04.1
ubuntu/linux-lts-xenial<4.4.0-178.208~14.04.1
4.4.0-178.208~14.04.1
ubuntu/linux*
ubuntu/linux<4.4.0-178.208
4.4.0-178.208
ubuntu/linux-aws<4.4.0-1106.117
4.4.0-1106.117
ubuntu/linux-aws-hwe<4.15.0-1066.70~16.04.1
4.15.0-1066.70~16.04.1
ubuntu/linux-azure<4.15.0-1082.92~16.04.1
4.15.0-1082.92~16.04.1
ubuntu/linux-gcp<4.15.0-1061.65
4.15.0-1061.65
ubuntu/linux-hwe<4.15.0-99.100~16.04.1
4.15.0-99.100~16.04.1
ubuntu/linux-kvm<4.4.0-1070.77
4.4.0-1070.77
ubuntu/linux-oracle<4.15.0-1038.42~16.04.1
4.15.0-1038.42~16.04.1
ubuntu/linux-raspi2<4.4.0-1132.141
4.4.0-1132.141
ubuntu/linux-snapdragon<4.4.0-1136.144
4.4.0-1136.144
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1033.38
4.4.0-1033.38
ubuntu/linux-fips*
ubuntu/linux<4.15.0-99.100
4.15.0-99.100
ubuntu/linux-aws<4.15.0-1066.70
4.15.0-1066.70
ubuntu/linux-aws-5.3<5.3.0-1017.18~18.04.1
5.3.0-1017.18~18.04.1
ubuntu/linux-azure-5.3<5.3.0-1020.21~18.04.1
5.3.0-1020.21~18.04.1
ubuntu/linux-gcp-5.3<5.3.0-1018.19~18.04.1
5.3.0-1018.19~18.04.1
ubuntu/linux-gke-4.15<4.15.0-1058.61
4.15.0-1058.61
ubuntu/linux-gke-5.0<5.0.0-1035.36
5.0.0-1035.36
ubuntu/linux-gke-5.3<5.3.0-1018.19~18.04.1
5.3.0-1018.19~18.04.1
ubuntu/linux-hwe<5.3.0-51.44~18.04.2
5.3.0-51.44~18.04.2
ubuntu/linux-kvm<4.15.0-1059.60
4.15.0-1059.60
ubuntu/linux-oem<4.15.0-1080.90
4.15.0-1080.90
ubuntu/linux-oem-osp1<5.0.0-1050.55
5.0.0-1050.55
ubuntu/linux-oracle<4.15.0-1038.42
4.15.0-1038.42
ubuntu/linux-oracle-5.3<5.3.0-1016.18~18.04.1
5.3.0-1016.18~18.04.1
ubuntu/linux-raspi2<4.15.0-1061.65
4.15.0-1061.65
ubuntu/linux-raspi2-5.3<5.3.0-1023.25~18.04.1
5.3.0-1023.25~18.04.1
ubuntu/linux-snapdragon<4.15.0-1077.84
4.15.0-1077.84
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-fips<4.15.0-1029.34
4.15.0-1029.34
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-azure-fde*
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.118-15.5.13-1
debian/linux-4.9
4.9.210-1+deb9u1~deb8u1

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:3.10.0-1127.8.2.rt56.1103.el7
  2. Upgrade

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

    Fixed in 0:3.10.0-1127.8.2.el7
  3. Upgrade

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

    Fixed in 0:4.14.0-115.21.2.el7a
  4. Upgrade

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

    Fixed in 0:3.10.0-327.88.1.el7
  5. Upgrade

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

    Fixed in 0:3.10.0-514.76.1.el7
  6. Upgrade

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

    Fixed in 0:3.10.0-693.67.1.el7
  7. Upgrade

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

    Fixed in 0:3.10.0-957.54.1.el7
  8. Upgrade

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

    Fixed in 0:3.10.0-1062.26.1.el7
  9. Upgrade

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

    Fixed in 0:4.18.0-193.rt13.51.el8
  10. Upgrade

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

    Fixed in 0:4.18.0-193.el8
  11. Upgrade

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

    Fixed in 0:4.18.0-80.18.1.el8_0
  12. Upgrade

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

    Fixed in 0:4.18.0-147.13.2.el8_1
  13. Upgrade

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

    Fixed in 1:3.10.0-693.67.1.rt56.665.el6
  14. Upgrade

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

    Fixed in 4.4.0-1066.70
  15. Upgrade

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

    Fixed in 4.15.0-1082.92~14.04.1
  16. Upgrade

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

    Fixed in 4.4.0-178.208~14.04.1
  17. Upgrade

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

    Fixed in 4.4.0-178.208
  18. Upgrade

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

    Fixed in 4.4.0-1106.117
  19. Upgrade

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

    Fixed in 4.15.0-1066.70~16.04.1
  20. Upgrade

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

    Fixed in 4.15.0-1082.92~16.04.1
  21. Upgrade

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

    Fixed in 4.15.0-1061.65
  22. Upgrade

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

    Fixed in 4.15.0-99.100~16.04.1
  23. Upgrade

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

    Fixed in 4.4.0-1070.77
  24. Upgrade

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

    Fixed in 4.15.0-1038.42~16.04.1
  25. Upgrade

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

    Fixed in 4.4.0-1132.141
  26. Upgrade

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

    Fixed in 4.4.0-1136.144
  27. Upgrade

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

    Fixed in 4.4.0-1033.38
  28. Upgrade

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

    Fixed in 4.15.0-99.100
  29. Upgrade

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

    Fixed in 4.15.0-1066.70
  30. Upgrade

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

    Fixed in 5.3.0-1017.18~18.04.1
  31. Upgrade

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

    Fixed in 5.3.0-1020.21~18.04.1
  32. Upgrade

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

    Fixed in 5.3.0-1018.19~18.04.1
  33. Upgrade

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

    Fixed in 4.15.0-1058.61
  34. Upgrade

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

    Fixed in 5.0.0-1035.36
  35. Upgrade

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

    Fixed in 5.3.0-1018.19~18.04.1
  36. Upgrade

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

    Fixed in 5.3.0-51.44~18.04.2
  37. Upgrade

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

    Fixed in 4.15.0-1059.60
  38. Upgrade

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

    Fixed in 4.15.0-1080.90
  39. Upgrade

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

    Fixed in 5.0.0-1050.55
  40. Upgrade

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

    Fixed in 4.15.0-1038.42
  41. Upgrade

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

    Fixed in 5.3.0-1016.18~18.04.1
  42. Upgrade

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

    Fixed in 4.15.0-1061.65
  43. Upgrade

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

    Fixed in 5.3.0-1023.25~18.04.1
  44. Upgrade

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

    Fixed in 4.15.0-1077.84
  45. Upgrade

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

    Fixed in 4.15.0-2018.18
  46. Upgrade

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

    Fixed in 4.15.0-2006.7
  47. Upgrade

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

    Fixed in 4.15.0-1029.34
  48. 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.118-1Fixed in 5.5.13-1
  49. Upgrade

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

    Fixed in 4.9.210-1+deb9u1~deb8u1

Event History

Nov 29, 2019
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Dec 12, 2019
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·07:38 PM
Data Sourced
via MITRE·07:38 PM
Description
Data Sourced
via OSV·08:15 PM
DescriptionSeverityAffected Software
Jun 10, 2020
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
Updated
via NVD·08:15 PM
Affected Software
Dec 15, 2023
Data Sourced
via Red Hat·05:07 PM
DescriptionSeverityAffected Software
Nov 21, 2024
Updated
via NVD·04:35 AM
Affected Software
Jun 17, 2026
Updated
via NVD·02:27 AM
Affected Software
Oct 12, 2026
Updated
via Ubuntu·12:00 AM
Description
Nov 11, 2026
Updated
via OSV·09:36 AM
Affected Software
Nov 12, 2026
Updated
via OSV·05:20 PM
Affected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2019-19768?

The severity of CVE-2019-19768 is classified as a high vulnerability in the Linux kernel.

2

How do I fix CVE-2019-19768?

You can fix CVE-2019-19768 by updating to the appropriate patched version of the Linux kernel.

3

Who is affected by CVE-2019-19768?

CVE-2019-19768 affects users of specific versions of the Linux kernel, particularly those running vulnerable versions on Red Hat systems.

4

What exploit does CVE-2019-19768 present?

CVE-2019-19768 presents a use-after-free vulnerability that allows local attackers to execute arbitrary code.

5

Can CVE-2019-19768 be exploited remotely?

CVE-2019-19768 requires local access to the affected system for exploitation, making it less of a remote threat.

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