Skip to content
Fencer Intel
medium 5.5

CVE-2018-1095 json

The ext4_xattr_check_entries function in fs/ext4/xattr.c in the Linux kernel through 4.15.15 does not properly validate xattr sizes, which…

published 2018-04-02 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-11745

cvss
5.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.4%
EPSS 1.4% chance of exploitation in 30 days, percentile 73%
public exploits
0
none known

Summary

The ext4_xattr_check_entries 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 (get_acl NULL pointer dereference and system crash) via a crafted ext4 image.

Patch / fix

  • linux Debian 14, Debian 13, Debian 12 4.16.5-1

debian advisories DEBIAN-CVE-2018-1095

  • linux Ubuntu 18.04 LTS 4.15.0-24.26
  • linux-aws Ubuntu 18.04 LTS 4.15.0-1011.11
  • linux-gcp Ubuntu 16.04 LTS 4.15.0-1014.14~16.04.1
  • linux-gcp Ubuntu 18.04 LTS 4.15.0-1010.10
  • linux-hwe Ubuntu 16.04 LTS 4.15.0-24.26~16.04.1
  • linux-kvm Ubuntu 18.04 LTS 4.15.0-1012.12
  • linux-oem Ubuntu 18.04 LTS 4.15.0-1009.12
  • linux-azure Ubuntu 16.04 LTS 4.15.0-1014.14~16.04.1

ubuntu advisories UBUNTU-CVE-2018-1095

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel-alt RHEL 7 4.14.0-115.el7a
  • perf RHEL 7 4.14.0-115.el7a
  • kernel RHEL 7 4.14.0-115.el7a
  • python-perf RHEL 7 4.14.0-115.el7a
  • kernel-tools RHEL 7 4.14.0-115.el7a
  • kernel-tools-libs RHEL 7 4.14.0-115.el7a
  • kernel-bootwrapper RHEL 7 4.14.0-115.el7a
  • kernel-abi-whitelists RHEL 7 4.14.0-115.el7a

red hat advisories RHSA-2018:2948

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-1095 updated cvss 5.2

kernel: out-of-bound access in fs/posix_acl.c:get_acl() causes crash with crafted ext4 image

  • Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) perf 4.14.0-115.el7a, kernel 4.14.0-115.el7a, kernel-alt 4.14.0-115.el7a, python-perf 4.14.0-115.el7a, kernel-tools 4.14.0-115.el7a, kernel-tools-libs 4.14.0-115.el7a, +3 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) kernel-debuginfo-common-ppc64le 4.14.0-115.el7a
    fixed: vendor fix RHSA-2018:2948
  • Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-core, kernel-tools, python3-perf, +17 more Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmware
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.43% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • bugzilla.kernel.org https://bugzilla.kernel.org/show_bug.cgi?id=199185 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 5.5 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 7.1 AV:N/AC:M/Au:N/C:N/I:N/A:C

Affected products

  • n/a Linux kernel through version 4.15

Classification

Weakness
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.