The Vigil@nce team watches public vulnerabilities impacting your computers, and then offers security solutions, a database and tools to fix them.

Vulnerability of Linux kernel: buffer overflow via proc_keys_show

Synthesis of the vulnerability

An attacker can generate a buffer overflow via proc_keys_show() of the Linux kernel, in order to trigger a denial of service, and possibly to run code.
Severity of this weakness: 2/4.
Creation date: 14/10/2016.
Références of this bulletin: 1373499, 2011746, CERTFR-2016-AVI-378, CERTFR-2016-AVI-426, CERTFR-2017-AVI-001, CERTFR-2017-AVI-016, CERTFR-2017-AVI-034, CERTFR-2017-AVI-053, CERTFR-2017-AVI-054, CERTFR-2017-AVI-131, CERTFR-2017-AVI-287, CVE-2016-7042, DLA-670-1, DSA-3696-1, openSUSE-SU-2016:3021-1, openSUSE-SU-2016:3050-1, openSUSE-SU-2016:3058-1, openSUSE-SU-2016:3061-1, RHSA-2017:0817-01, RHSA-2017:1842-01, RHSA-2017:2077-01, RHSA-2017:2669-01, SUSE-SU-2016:2912-1, SUSE-SU-2016:2976-1, SUSE-SU-2016:3304-1, SUSE-SU-2017:0181-1, SUSE-SU-2017:0333-1, SUSE-SU-2017:0471-1, SUSE-SU-2017:0494-1, SUSE-SU-2017:1102-1, USN-3126-1, USN-3126-2, USN-3127-1, USN-3127-2, USN-3128-1, USN-3128-2, USN-3128-3, USN-3129-1, USN-3129-2, USN-3161-1, USN-3161-2, USN-3161-3, USN-3161-4, VIGILANCE-VUL-20868.

Description of the vulnerability

The Linux kernel provides the /proc/keys interface to access to cryptographic keys.

However, if the size of data is greater than the size of the storage array, an overflow occurs in proc_keys_show().

An attacker can therefore generate a buffer overflow via proc_keys_show() of the Linux kernel, in order to trigger a denial of service, and possibly to run code.
Full Vigil@nce bulletin... (Free trial)

This cybersecurity note impacts software or systems such as Debian, Android OS, QRadar SIEM, Linux, openSUSE, openSUSE Leap, RHEL, SUSE Linux Enterprise Desktop, SLES, Ubuntu.

Our Vigil@nce team determined that the severity of this computer weakness announce is medium.

The trust level is of type confirmed by the editor, with an origin of user shell.

A proof of concept or an attack tool is available, so your teams have to process this alert. An attacker with a specialist ability can exploit this cybersecurity vulnerability.

Solutions for this threat

Linux kernel: version 4.8.7.
The version 4.8.7 is fixed:
  https://cdn.kernel.org/pub/linux/kernel/v4.x/

Linux kernel: version 4.4.31.
The version 4.4.31 is fixed:
  https://cdn.kernel.org/pub/linux/kernel/v4.x/

Linux kernel: version 4.1.36.
The version 4.1.36 is fixed:
  https://cdn.kernel.org/pub/linux/kernel/v4.x/

Linux kernel: version 3.18.45.
The version 3.18.45 is fixed:
  https://cdn.kernel.org/pub/linux/kernel/v3.x/

Linux kernel: version 3.16.39.
The version 3.16.39 is fixed:
  https://cdn.kernel.org/pub/linux/kernel/v3.x/

Linux kernel: version 3.12.68.
The version 3.12.68 is fixed:
  https://cdn.kernel.org/pub/linux/kernel/v3.x/

Linux kernel: version 3.10.105.
The version 3.10.105 is fixed:
  https://cdn.kernel.org/pub/linux/kernel/v3.x/

Linux kernel: version 3.2.84.
The version 3.2.84 is fixed:
  https://cdn.kernel.org/pub/linux/kernel/v3.x/

Linux kernel: patch for proc_keys_show.
A patch is indicated in information sources.

Android OS: patch of 2017-01-05.
A patch is indicated in information sources.

Debian 7: new linux packages.
New packages are available:
  Debian 7: linux 3.2.82-1

Debian 8: new linux packages.
New packages are available:
  Debian 8: linux 3.16.36-1+deb8u2

IBM QRadar Network Security: solution for Linux.
The solution is indicated in information sources.

openSUSE 13.1: new kernel packages.
New packages are available:
  openSUSE 13.1: kernel default-3.12.67-58.1

openSUSE 13.2: new kernel packages.
New packages are available:
  openSUSE 13.2: kernel 3.16.7-53.1

openSUSE Leap 42.1: new kernel packages.
New packages are available:
  openSUSE Leap 42.1: kernel 4.1.36-38.1

openSUSE Leap 42.2: new kernel packages.
New packages are available:
  openSUSE Leap 42.2: kernel 4.4.36-5.1

RHEL 6: new kernel packages.
New packages are available:
  RHEL 6: kernel 2.6.32-696.el6

RHEL 6: new kernel-rt packages.
New packages are available:
  RHEL 6: kernel-rt 3.10.0-693.2.1.rt56.585.el6rt

RHEL 7: new kernel packages.
New packages are available:
  RHEL 7: kernel 3.10.0-693.el7

RHEL 7: new kernel-rt packages.
New packages are available:
  RHEL 7: kernel-rt 3.10.0-693.rt56.617.el7

SUSE LE 11 SP2: new kernel packages (31/01/2017).
New packages are available:
  SUSE LE 11 SP2: kernel 3.0.101-0.7.53.1

SUSE LE 11 SP3: new kernel packages.
New packages are available:
  SUSE LE 11 SP3: kernel 3.0.101-0.47.96.1

SUSE LE 11 SP4: new kernel packages (02/12/2016).
New packages are available:
  SUSE LE 11 SP4: kernel 3.0.101-88.1

SUSE LE 11 SP4: new kernel-rt packages (26/04/2017).
New packages are available:
  SUSE LE 11 SP4: kernel-rt 3.0.101.rt130-68.1

SUSE LE 12 RTM: new kernel packages.
New packages are available:
  SUSE LE 12 RTM: kernel 3.12.61-52.66.1

SUSE LE 12 SP1: new kernel packages.
New packages are available:
  SUSE LE 12 SP1: kernel 3.12.67-60.64.18.1

SUSE LE 12 SP1 RT: new kernel-rt packages (02/01/2017).
New packages are available:
  SUSE LE 12 SP1: kernel-rt 3.12.67-60.27.1

SUSE LE 12 SP2: new kernel packages.
New packages are available:
  SUSE LE 12 SP2: kernel-default 4.4.38-93.1

Ubuntu: new linux-image-3.13.0 packages.
New packages are available:
  Ubuntu 12.04 LTS: linux-image-3.13.0-101-generic 3.13.0-101.148~precise1
  Ubuntu 14.04 LTS: linux-image-3.13.0-101-generic 3.13.0-101.148

Ubuntu: new linux-image-3.2.0 packages.
New packages are available:
  Ubuntu 12.04 LTS: linux-image-3.2.0-115-generic 3.2.0-115.157, linux-image-3.2.0-1493-omap4 3.2.0-1493.120

Ubuntu: new linux-image-4.4.0 packages.
New packages are available:
  Ubuntu 14.04 LTS: linux-image-4.4.0-47-generic 4.4.0-47.68~14.04.1
  Ubuntu 16.04 LTS: linux-image-4.4.0-47-generic 4.4.0-47.68, linux-image-4.4.0-1035-snapdragon 4.4.0-1035.39

Ubuntu: new linux-image-4.4 packages.
New packages are available:
  Ubuntu 16.04 LTS: linux-image-4.4.0-57-generic 4.4.0-57.78, linux-image-4.4.0-1038-raspi2 4.4.0-1038.45, linux-image-4.4.0-1042-snapdragon 4.4.0-1042.46
  Ubuntu 14.04 LTS: linux-image-4.4.0-57-generic 4.4.0-57.78~14.04.1

Ubuntu: new linux-image-4.8.0 packages.
New packages are available:
  Ubuntu 16.10: linux-image-4.8.0-27-generic 4.8.0-27.29, linux-image-4.8.0-1018-raspi2 4.8.0-1018.21
Full Vigil@nce bulletin... (Free trial)

Computer vulnerabilities tracking service

Vigil@nce provides a computer security workaround. The Vigil@nce vulnerability database contains several thousand vulnerabilities.