NetSight
high7.8

CVE-2018-12233

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…

Impact

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 products

VendorProductAffected versions
LinuxLinux Kernel
from 2.6.12 before 3.16.58
from 3.17 before 3.18.118
from 3.19 before 4.4.147
from 4.5 before 4.9.119
from 4.10 before 4.14.62
from 4.15 before 4.17.14
CanonicalUbuntu Linux
Versions 14.04, 16.04, 18.04

Weakness classification

References