CVE-2018-13094: Null Pointer Dereference

Published Jul 3, 2018
·
Updated

An issue was discovered in fs/xfs/libxfs/xfsattrleaf.c in the Linux kernel through 4.17.3. An OOPS may occur for a corrupted xfs image after xfsdashrinkinode() is called with a NULL bp.

Other sources

An issue was discovered in the XFS filesystem in fs/xfs/libxfs/xfsattrleaf.c in the Linux kernel. A NULL pointer dereference may occur for a corrupted xfs image after xfsdashrinkinode() is called with a NULL bp. This can lead to a system crash and a denial of service.

References:

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

An upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bb3d48dcf86a97dc25fe9fc2c11938e19cb4399a

— Red Hat

Affected Software

38 affected componentsFixes available
redhat/kernel<4.18
4.18
Linux Linux kernel<=4.17.3
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
debian/linux
6.1.176-16.1.190-16.12.107-16.12.113-17.2.12-17.2.13-1
ubuntu/linux<3.13.0-157.207
3.13.0-157.207
ubuntu/linux-aws<4.4.0-1028.31
4.4.0-1028.31
ubuntu/linux-lts-xenial<4.4.0-134.160~14.04.1
4.4.0-134.160~14.04.1
ubuntu/linux<4.4.0-134.160
4.4.0-134.160
ubuntu/linux-aws<4.4.0-1066.76
4.4.0-1066.76
ubuntu/linux-azure<4.15.0-1022.22~16.04.1
4.15.0-1022.22~16.04.1
ubuntu/linux-gcp<4.15.0-1018.19~16.04.2
4.15.0-1018.19~16.04.2
ubuntu/linux-hwe<4.15.0-33.36~16.04.1
4.15.0-33.36~16.04.1
ubuntu/linux-kvm<4.4.0-1032.38
4.4.0-1032.38
ubuntu/linux-raspi2<4.4.0-1095.103
4.4.0-1095.103
ubuntu/linux-snapdragon<4.4.0-1099.104
4.4.0-1099.104
ubuntu/linux-fips<4.4.0-1008.10
4.4.0-1008.10
ubuntu/linux<4.15.0-33.36
4.15.0-33.36
ubuntu/linux-aws<4.15.0-1020.20
4.15.0-1020.20
ubuntu/linux-azure<4.15.0-1022.23
4.15.0-1022.23
ubuntu/linux-gcp<4.15.0-1018.19
4.15.0-1018.19
ubuntu/linux-kvm<4.15.0-1020.20
4.15.0-1020.20
ubuntu/linux-oem<4.15.0-1017.20
4.15.0-1017.20
ubuntu/linux-raspi2<4.15.0-1021.23
4.15.0-1021.23
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.15*
ubuntu/linux-gke*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-azure-6.11*
ubuntu/linux-gcp-6.11*
ubuntu/linux-hwe-6.11*
ubuntu/linux-lowlatency-hwe-6.11*
ubuntu/linux-raspi-realtime*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 4.18
  2. 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
  3. Upgrade

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

    Fixed in 3.13.0-157.207
  4. Upgrade

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

    Fixed in 4.4.0-1028.31
  5. Upgrade

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

    Fixed in 4.4.0-134.160~14.04.1
  6. Upgrade

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

    Fixed in 4.4.0-134.160
  7. Upgrade

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

    Fixed in 4.4.0-1066.76
  8. Upgrade

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

    Fixed in 4.15.0-1022.22~16.04.1
  9. Upgrade

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

    Fixed in 4.15.0-1018.19~16.04.2
  10. Upgrade

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

    Fixed in 4.15.0-33.36~16.04.1
  11. Upgrade

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

    Fixed in 4.4.0-1032.38
  12. Upgrade

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

    Fixed in 4.4.0-1095.103
  13. Upgrade

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

    Fixed in 4.4.0-1099.104
  14. Upgrade

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

    Fixed in 4.4.0-1008.10
  15. Upgrade

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

    Fixed in 4.15.0-33.36
  16. Upgrade

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

    Fixed in 4.15.0-1020.20
  17. Upgrade

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

    Fixed in 4.15.0-1022.23
  18. Upgrade

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

    Fixed in 4.15.0-1018.19
  19. Upgrade

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

    Fixed in 4.15.0-1020.20
  20. Upgrade

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

    Fixed in 4.15.0-1017.20
  21. Upgrade

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

    Fixed in 4.15.0-1021.23
  22. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch bb3d48dcf86a97dc25fe9fc2c11938e19cb4399a

Event History

Jul 3, 2018
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·05:00 AM
Data Sourced
via MITRE·05:00 AM
Description
Data Sourced
via NVD·10:29 AM
RemedyDescriptionSeverityWeaknessAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2018-13094?

The severity of CVE-2018-13094 is low.

2

How does CVE-2018-13094 affect Linux kernel versions?

CVE-2018-13094 affects Linux kernel versions up to 4.17.3.

3

Which software packages are affected by CVE-2018-13094?

Software packages affected by CVE-2018-13094 include linux-flo, linux-aws, linux-azure, linux-azure-edge, linux, and more. Please refer to the CVE details for a complete list.

4

Is there a fix available for CVE-2018-13094?

Yes, the fix for CVE-2018-13094 is available in Linux kernel versions 4.18 and higher.

5

Where can I find more information about CVE-2018-13094?

You can find more information about CVE-2018-13094 in the references provided: https://bugzilla.kernel.org/show_bug.cgi?id=199969, https://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git/commit/?h=for-next&amp;id=bb3d48dcf86a97dc25fe9fc2c11938e19cb4399a, https://github.com/torvalds/linux/commit/bb3d48dcf86a97dc25fe9fc2c11938e19cb4399a

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