Vulnerability database / CVE-2018-12233
CVE-2018-12233
HIGH 7.8 CVSS 3.1 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.
Published 12 Jun 2018
Last modified 17 Jun 2026 Assigned by cve@mitre.org NVD status Modified Weakness
CWE-119 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
HIGH 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 6.8
AV:N/AC:M/Au:N/C:P/I:P/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 2.6.12, < 3.16.58
3.16.58 NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 3.17, < 3.18.118
3.18.118 NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 3.19, < 4.4.147
4.4.147 NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 4.5, < 4.9.119
4.9.119 NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 4.10, < 4.14.62
4.14.62 NVD
linux
linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 4.15, < 4.17.14
4.17.14 NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
= 14.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
= 16.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
= 18.04
References
http://www.securityfocus.com/bid/104452 · Third Party Advisory, VDB Entry https://lists.debian.org/debian-lts-announce/2018/07/msg00015.html · Third Party Advisory, VDB Entry https://lists.debian.org/debian-lts-announce/2018/07/msg00016.html · Third Party Advisory, VDB Entry https://lists.debian.org/debian-lts-announce/2018/07/msg00020.html · Third Party Advisory, VDB Entry https://lkml.org/lkml/2018/6/2/2 · Third Party Advisory, VDB Entry https://marc.info/?l=linux-kernel&m=152814391530549&w=2 · Third Party Advisory https://usn.ubuntu.com/3752-1/ · Third Party Advisory, VDB Entry https://usn.ubuntu.com/3752-2/ · Third Party Advisory, VDB Entry https://usn.ubuntu.com/3752-3/ · Third Party Advisory, VDB Entry https://usn.ubuntu.com/3753-1/ · Third Party Advisory, VDB Entry https://usn.ubuntu.com/3753-2/ · Third Party Advisory, VDB Entry https://usn.ubuntu.com/3754-1/ · Third Party Advisory, VDB Entry
History
25 Nov 2026 20:21 UTC · NVD: first stored (published 12 Jun 2018)