CVE-2018-12233
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.
How to fix
- linux linux_kernel3.16.58, 3.18.118, 4.4.147, 4.9.119, 4.14.62, 4.17.14 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 2.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.14 | 3.16.58, 3.18.118, 4.4.147, 4.9.119, 4.14.62, 4.17.14 |
| canonical ubuntu_linux | 14.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.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.