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 2018-06-12 8 y ago modified 2026-06-17 4 mo 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
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-firmwarenot 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-08).
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
-
usn.ubuntu.com
/3752-2/
vendor-advisory, third-party-advisory, vdb-entry
-
usn.ubuntu.com
/3752-3/
vendor-advisory, third-party-advisory, vdb-entry
-
usn.ubuntu.com
/3753-2/
vendor-advisory, third-party-advisory, vdb-entry
-
usn.ubuntu.com
/3754-1/
vendor-advisory, third-party-advisory, vdb-entry
-
usn.ubuntu.com
/3752-1/
vendor-advisory, third-party-advisory, vdb-entry
-
usn.ubuntu.com
/3753-1/
vendor-advisory, third-party-advisory, vdb-entry
-
lists.debian.org
/debian-lts-announce/2018/07/msg00015.html
mailing-list, third-party-advisory, vdb-entry
-
securityfocus.com
/bid/104452
vdb-entry, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2018/07/msg00016.html
mailing-list, third-party-advisory, vdb-entry
-
lists.debian.org
/debian-lts-announce/2018/07/msg00020.html
mailing-list, third-party-advisory, vdb-entry
-
marc.info
/?l=linux-kernel&m=152814391530549&w=2
third-party-advisory
-
lkml.org
/lkml/2018/6/2/2
third-party-advisory, vdb-entry
Sources
- CVE List CVE-2018-12233
- NVD CVE-2018-12233
Fencer Vulns 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.