CVEvulnerability

CVE-2018-12233

7.8 HIGH Published 2018-06-12 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-06-12
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
CWE-119

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.

Affected configurations

• linux linux kernel (>= 2.6.12 < 3.16.58) • linux linux kernel (>= 3.17 < 3.18.118) • linux linux kernel (>= 3.19 < 4.4.147) • linux linux kernel (>= 4.5 < 4.9.119) • linux linux kernel (>= 4.10 < 4.14.62) • linux linux kernel (>= 4.15 < 4.17.14) • canonical ubuntu linux 14.04 • canonical ubuntu linux 16.04 • canonical ubuntu linux 18.04

Related

Weakness · CWE (1)

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness

References