CVE-2018-12233

HIGH

Linux kernel <4.17.1 - Memory Corruption

Title source: llm
STIX 2.1

Description

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.

References (12)

Core 12
Core References
Third Party Advisory, VDB Entry vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3752-2/
Third Party Advisory, VDB Entry mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/07/msg00015.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/104452
Third Party Advisory, VDB Entry vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3752-3/
Third Party Advisory, VDB Entry mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/07/msg00016.html
Third Party Advisory, VDB Entry vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3753-2/
Third Party Advisory, VDB Entry vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3754-1/
Third Party Advisory, VDB Entry mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/07/msg00020.html
Third Party Advisory x_refsource_misc
https://marc.info/?l=linux-kernel&m=152814391530549&w=2
Third Party Advisory, VDB Entry x_refsource_misc
https://lkml.org/lkml/2018/6/2/2
Third Party Advisory, VDB Entry vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3752-1/
Third Party Advisory, VDB Entry vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3753-1/

Scores

CVSS v3 7.8
EPSS 0.0010
EPSS Percentile 26.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-119
Status published
Products (4)
canonical/ubuntu_linux 14.04
canonical/ubuntu_linux 16.04
canonical/ubuntu_linux 18.04
linux/linux_kernel 2.6.12 - 3.16.58
Published Jun 12, 2018
Tracked Since Feb 18, 2026