CVE-2018-1095: Null Pointer Dereference

Published Mar 27, 2018
·
Updated

Last updated 4 July 2026

Other sources

The ext4xattrcheckentries function in fs/ext4/xattr.c in the Linux kernel through 4.15.15 does not properly validate xattr sizes, which causes misinterpretation of a size as an error code, and consequently allows attackers to cause a denial of service (getacl NULL pointer dereference and system crash) via a crafted ext4 image.

— Launchpad

The Linux kernel is vulnerable to an out-of-bound access bug in the fs/posixacl.c:getacl() function. An attacker could trick a legitimate user or a privileged attacker could exploit this to cause a system crash or other unspecified impact with a crafted ext4 image. Due to the nature of the flaw, privilege escalation cannot be fully ruled out, although we believe it is unlikely.

References:

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

http://seclists.org/oss-sec/2018/q1/284

An upstream patch:

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

— Red Hat

Affected Software

2 affected componentsFixes available
Linux Linux kernel<=4.15.15
debian/linux
6.1.176-16.1.187-16.12.107-16.12.111-17.2.9-17.2.10-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 6.1.176-1Fixed in 6.1.187-1Fixed in 6.12.107-1Fixed in 6.12.111-1Fixed in 7.2.9-1Fixed in 7.2.10-1
  2. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch 54dd0e0a1b255

Event History

Mar 27, 2018
Data Sourced
via Red Hat·01:18 AM
DescriptionSeverityAffected Software
Apr 2, 2018
CVE Published
via MITRE·03:00 AM
Data Sourced
via MITRE·03:00 AM
DescriptionWeakness
Data Sourced
via NVD·03:29 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:46 PM
Description
Jul 4, 2026
Data Sourced
via Ubuntu·11:19 AM
RemedyDescriptionSeverityAffected Software
Oct 13, 2026
Data Sourced
via Debian·01:07 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is CVE-2018-1095?

CVE-2018-1095 is a vulnerability in the Linux kernel that can be exploited to cause a denial of service.

2

How severe is CVE-2018-1095?

CVE-2018-1095 has a severity level of low.

3

What is the affected software for CVE-2018-1095?

The affected software for CVE-2018-1095 includes Ubuntu linux-gke, linux-azure, linux-gcp, linux-euclid, and more.

4

How do I fix CVE-2018-1095?

To fix CVE-2018-1095, update your Linux kernel to version 4.17~ or higher.

5

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

You can find more information about CVE-2018-1095 at the following references: [bugzilla.kernel.org](https://bugzilla.kernel.org/show_bug.cgi?id=199185), [seclists.org](http://seclists.org/oss-sec/2018/q1/284), and [git.kernel.org](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=54dd0e0a1b255).

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