CVE-2018-12233

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedJun 12, 2018
First seenJun 12, 2018

How to fix

Update
  • linux linux_kernel3.16.58, 3.18.118, 4.4.147, 4.9.119, 4.14.62, 4.17.14 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel2.6.12 ≤ v < 3.16.58, 3.17 ≤ v < 3.18.118, 3.19 ≤ v < 4.4.147, 4.5 ≤ v < 4.9.119, 4.10 ≤ v < 4.14.62, 4.15 ≤ v < 4.17.143.16.58, 3.18.118, 4.4.147, 4.9.119, 4.14.62, 4.17.14
canonical ubuntu_linux14.04, 16.04, 18.04—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.