Ubuntu 16.04 LTS : Linux kernel vulnerabilities (USN-3848-1)

critical Nessus Plugin ID 119830

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 16.04 LTS host has a package installed that is affected by multiple vulnerabilities as referenced in the USN-3848-1 advisory.

- In the Linux kernel before 4.7, the amd_gpio_remove function in drivers/pinctrl/pinctrl-amd.c calls the pinctrl_unregister function, leading to a double free. (CVE-2017-18174)

- An issue was discovered in the Linux kernel through 4.17.3. An Integer Overflow in kernel/time/posix- timers.c in the POSIX timer code is caused by the way the overrun accounting works. Depending on interval and expiry time values, the overrun can be larger than INT_MAX, but the accounting is int based. This basically makes the accounting values, which are visible to user space via timer_getoverrun(2) and siginfo::si_overrun, random. For example, a local user can cause a denial of service (signed integer overflow) via crafted mmap, futex, timer_create, and timer_settime system calls. (CVE-2018-12896)

- In the Linux kernel before 4.17, a local attacker able to set attributes on an xfs filesystem could make this filesystem non-operational until the next mount by triggering an unchecked error condition during an xfs attribute change, because xfs_attr_shortform_addname in fs/xfs/libxfs/xfs_attr.c mishandles ATTR_REPLACE operations with conversion of an attr from short to long form. (CVE-2018-18690)

- An issue was discovered in the Linux kernel through 4.19. An information leak in cdrom_ioctl_select_disc in drivers/cdrom/cdrom.c could be used by local attackers to read kernel memory because a cast from unsigned long to int interferes with bounds checking. This is similar to CVE-2018-10940 and CVE-2018-16658. (CVE-2018-18710)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected kernel package.

See Also

https://ubuntu.com/security/notices/USN-3848-1

Plugin Details

Severity: Critical

ID: 119830

File Name: ubuntu_USN-3848-1.nasl

Version: 1.9

Type: local

Agent: unix

Published: 12/21/2018

Updated: 1/9/2024

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2017-18174

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:linux-image-4.4.0-1102-raspi2, p-cpe:/a:canonical:ubuntu_linux:linux-image-4.4.0-1106-snapdragon, p-cpe:/a:canonical:ubuntu_linux:linux-image-4.4.0-141-generic, p-cpe:/a:canonical:ubuntu_linux:linux-image-4.4.0-141-generic-lpae, p-cpe:/a:canonical:ubuntu_linux:linux-image-4.4.0-141-lowlatency, p-cpe:/a:canonical:ubuntu_linux:linux-image-4.4.0-141-powerpc-e500mc, p-cpe:/a:canonical:ubuntu_linux:linux-image-4.4.0-141-powerpc-smp, p-cpe:/a:canonical:ubuntu_linux:linux-image-4.4.0-141-powerpc64-emb, p-cpe:/a:canonical:ubuntu_linux:linux-image-4.4.0-141-powerpc64-smp, cpe:/o:canonical:ubuntu_linux:16.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:linux-image-4.4.0-1039-kvm, p-cpe:/a:canonical:ubuntu_linux:linux-image-4.4.0-1074-aws

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/20/2018

Vulnerability Publication Date: 2/11/2018

Reference Information

CVE: CVE-2017-18174, CVE-2018-12896, CVE-2018-18690, CVE-2018-18710

USN: 3848-1