Memory leak in linux (Debian package) and Red Hat Enterprise Linux for x86_64 - CVE-2016-0774

 

Memory leak in linux (Debian package) and Red Hat Enterprise Linux for x86_64 - CVE-2016-0774

Published: April 1, 2016 / Updated: April 17, 2018


Vulnerability identifier: #VU3914
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-0774
CWE-ID: CWE-401
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local attacker to cause DoS condition or gain elevated privileges on the target system.

The weakness exists in the (1) pipe_read and (2) pipe_write implementations in fs/pipe.c due to improper consideration of the side effects of failed __copy_to_user_inatomic and __copy_from_user_inatomic calls. A local attacker can trigger memory leak, cause the service to crash or gain root privileges.

Affected software

linux (Debian package)
kernel (Red Hat package)
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS

How to mitigate CVE-2016-0774

Update Linux kernel backport in the linux package to 3.2.73-2+deb7u3 on Debian wheezy and the kernel package to 3.10.0-229.26.2 on Red Hat Enterprise Linux (RHEL) 7.1.

kernel (Red Hat package) - update to 2.6.32-504.46.1.el6

External References

Related Security Bulletins