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

17 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
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-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: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 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.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1

Event History

Nov 29, 2019
CVE Published
12:00 AM
Dec 12, 2019
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·07:38 PM
Data Sourced
via MITRE·07:38 PM
Description
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
Dec 23, 2019
Data Sourced
via Red Hat·05:30 PM
DescriptionSeverityAffected 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