Skip to content
Fencer Intel
high 7.8

CVE-2018-12233 json

In the ea_get function in fs/jfs/xattr.c in the Linux kernel through 4.17.1, a memory corruption bug in JFS can be triggered by calling set…

published 8y ago modified 4mo ago also EUVD-2018-4211

cvss
7.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.4%
EPSS 2.4% chance of exploitation in 30 days, percentile 84%
public exploits
0
none known

Summary

In the ea_get function in fs/jfs/xattr.c in the Linux kernel through 4.17.1, a memory corruption bug in JFS can be triggered by calling setxattr twice with two different extended attribute names on the same file. This vulnerability can be triggered by an unprivileged user with the ability to create files and execute programs. A kmalloc call is incorrect, leading to slab-out-of-bounds in jfs_xattr.

Patch / fix

  • linux linux_kernel 3.16.58, 3.18.118, 4.4.147, 4.9.119, 4.14.62, 4.17.14
  • linux Debian 14, Debian 13, Debian 12 4.17.3-1

debian advisories DEBIAN-CVE-2018-12233

  • linux Ubuntu 14.04 LTS 3.13.0-157.207
  • linux Ubuntu 16.04 LTS 4.4.0-134.160
  • linux Ubuntu 18.04 LTS 4.15.0-33.36
  • linux-aws Ubuntu 14.04 LTS 4.4.0-1028.31
  • linux-aws Ubuntu 16.04 LTS 4.4.0-1066.76
  • linux-aws Ubuntu 18.04 LTS 4.15.0-1020.20
  • linux-gcp Ubuntu 16.04 LTS 4.15.0-1018.19~16.04.2
  • linux-gcp Ubuntu 18.04 LTS 4.15.0-1018.19

ubuntu advisories UBUNTU-CVE-2018-12233

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-rt SLE Real Time 11 SP4 3.0.101.rt130-69.33.1
  • kernel-syms-rt SLE Real Time 11 SP4 3.0.101.rt130-69.33.1
  • kernel-rt_trace SLE Real Time 11 SP4 3.0.101.rt130-69.33.1
  • kernel-source-rt SLE Real Time 11 SP4 3.0.101.rt130-69.33.1
  • kernel-ec2 SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.43.1
  • kernel-pae SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.43.1
  • kernel-xen SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.43.1
  • kernel-syms SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.43.1

suse advisories SUSE-SU-2018:2637-1SUSE-SU-2018:2366-1SUSE-SU-2018:2332-1SUSE-SU-2018:2092-1SUSE-SU-2018:1816-1SUSE-SU-2018:1772-1

Is CVE-2018-12233 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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-12233 updated cvss 4.4

kernel: Memory corruption in JFS setattr

  • 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, kernel-alt, python-perf, +9 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

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

CVSS scores

assigned by version score vector
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
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.