CVE-2018-20856: Use After Free

Published Jul 26, 2019
·
Updated

A flaw was found in the Linux kernel’s block driver implementation (blkdrainqueue() function) where a use-after-free condition could be triggered while draining the outstanding command queue in the systems block device subsystem. An attacker could use this flaw to crash the system or corrupt local memory, which may lead to privilege escalation.

Other sources

A flaw was found in the Linux kernels block driver implementation where a use-after-free condition could be triggered while draining the outstanding command queue in the systems block device subsystem.

A patient local attacker can use this flaw to corrupt memory, possibly crashing the system and possibly leading to privilege escalation.

https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.7 https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=54648cf1ec2d7f4b6a71767799c45676a138ca24 https://github.com/torvalds/linux/commit/54648cf1ec2d7f4b6a71767799c45676a138ca24

— Red Hat

An issue was discovered in the Linux kernel before 4.18.7. In block/blk-core.c, there is an blkdrainqueue() use-after-free because a certain error case is mishandled.

— Ubuntu

Affected Software

10 affected componentsFixes available
redhat/kernel-rt<0:3.10.0-1062.4.1.rt56.1027.el7
0:3.10.0-1062.4.1.rt56.1027.el7
redhat/kernel<0:3.10.0-1062.4.1.el7
0:3.10.0-1062.4.1.el7
redhat/kernel-alt<0:4.14.0-115.14.1.el7a
0:4.14.0-115.14.1.el7a
redhat/kernel<0:3.10.0-693.62.1.el7
0:3.10.0-693.62.1.el7
redhat/kernel<0:3.10.0-862.48.1.el7
0:3.10.0-862.48.1.el7
redhat/kernel<0:3.10.0-957.46.1.el7
0:3.10.0-957.46.1.el7
redhat/kernel-rt<1:3.10.0-693.62.1.rt56.659.el6
1:3.10.0-693.62.1.rt56.659.el6
Linux Linux kernel<4.18.7
Google Android
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-1062.4.1.rt56.1027.el7
  2. Upgrade

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

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

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

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

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

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

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

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

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

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

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

    Fixed in 1:3.10.0-693.62.1.rt56.659.el6
  8. 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

Jul 26, 2019
CVE Published
12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·04:40 AM
Data Sourced
via MITRE·04:40 AM
Description
Data Sourced
via NVD·05:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 7, 2019
Data Sourced
via Red Hat·10:18 PM
DescriptionSeverityAffected Software
Jan 6, 2020
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2018-20856?

CVE-2018-20856 is rated as high severity due to its potential to cause denial of service or data corruption.

2

How do I fix CVE-2018-20856?

To fix CVE-2018-20856, update the Linux kernel to a version that addresses this vulnerability.

3

What systems are affected by CVE-2018-20856?

CVE-2018-20856 affects various versions of the Linux kernel, including specific Red Hat and Debian packages.

4

Can CVE-2018-20856 be exploited remotely?

Yes, an attacker with access to the block device subsystem could potentially exploit CVE-2018-20856.

5

What are the potential consequences of CVE-2018-20856?

Exploitation of CVE-2018-20856 can lead to system crashes and possible corruption of local data.

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