CVE-2018-10322: Null Pointer Dereference

Published Apr 24, 2018
·
Updated

Last updated 14 August 2026

Other sources

The xfsdinodeverify function in fs/xfs/libxfs/xfsinodebuf.c in the Linux kernel can cause a NULL pointer dereference in xfsilockattrmapshared function. An attacker could trick a legitimate user or a privileged attacker could exploit this by mounting a crafted xfs filesystem image to cause a kernel panic and thus a denial of service.

References:

https://www.spinics.net/lists/linux-xfs/msg17215.html

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

An upstream patch:

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

Red Hat

The xfsdinodeverify function in fs/xfs/libxfs/xfsinodebuf.c in the Linux kernel through 4.16.3 allows local users to cause a denial of service (xfsilockattrmapshared invalid pointer dereference) via a crafted xfs image.

Launchpad

Affected Software

6 affected componentsFixes available
Linux Linux kernel<=4.16.3
redhat Virtualization Host=4.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
debian/linux
5.10.223-15.10.262-16.1.176-16.1.180-16.12.94-16.12.101-17.1.8-17.1.8-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 5.10.223-1Fixed in 5.10.262-1Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.101-1Fixed in 7.1.8-1Fixed in 7.1.8-2
  2. Upgrade

    Upgrade linux kernel xfs to a version that resolves this vulnerability.

    Fixed in 4.16.3
  3. Upgrade

    Upgrade linux kernel xfs to a version that resolves this vulnerability.

    Patch b42db0860e130

Event History

Apr 24, 2018
CVE Published
via MITRE·06:00 AM
Data Sourced
via MITRE·06:00 AM
Description
Data Sourced
via NVD·06:29 AM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 25, 2018
Data Sourced
via Red Hat·08:47 AM
DescriptionSeverityAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:45 PM
Description
Aug 14, 2026
Data Sourced
via Ubuntu·04:23 PM
RemedyDescriptionSeverityAffected Software
Aug 16, 2026
Data Sourced
via Debian·04:26 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-10322?

CVE-2018-10322 has a severity rating of high due to the potential for NULL pointer dereference leading to denial of service.

2

How do I fix CVE-2018-10322?

To fix CVE-2018-10322, you should upgrade to the patched versions of the Linux kernel or the appropriate Red Hat virtualization host software.

3

Which versions are affected by CVE-2018-10322?

CVE-2018-10322 affects multiple versions of the Linux kernel up to 4.16.3 and specific Red Hat products running version 7.0.

4

What impact does CVE-2018-10322 have on systems?

Exploitation of CVE-2018-10322 could allow an attacker to crash the system, resulting in a denial of service.

5

Is CVE-2018-10322 exploitable remotely?

CVE-2018-10322 can be exploited locally if an attacker can mount a crafted XFS filesystem.

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