Ubuntu 22.04 LTS : Linux kernel vulnerabilities (USN-5518-1)

high Nessus Plugin ID 163117

Synopsis

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

Description

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

- A flaw was found in unrestricted eBPF usage by the BPF_BTF_LOAD, leading to a possible out-of-bounds memory write in the Linux kernel's BPF subsystem due to the way a user loads BTF. This flaw allows a local user to crash or escalate their privileges on the system. (CVE-2022-0500)

- A flaw in Linux Kernel found in nfcmrvl_nci_unregister_dev() in drivers/nfc/nfcmrvl/main.c can lead to use after free both read or write when non synchronized between cleanup routine and firmware download routine.
(CVE-2022-1734)

- With shadow paging enabled, the INVPCID instruction results in a call to kvm_mmu_invpcid_gva. If INVPCID is executed with CR0.PG=0, the invlpg callback is not set and the result is a NULL pointer dereference.
(CVE-2022-1789)

- A use-after-free flaw was found in the Linux kernel's NFC core functionality due to a race condition between kobject creation and delete. This vulnerability allows a local attacker with CAP_NET_ADMIN privilege to leak kernel information. (CVE-2022-1974)

- There is a sleep-in-atomic bug in /net/nfc/netlink.c that allows an attacker to crash the Linux kernel by simulating a nfc device from user-space. (CVE-2022-1975)

- drivers/block/floppy.c in the Linux kernel before 5.17.6 is vulnerable to a denial of service, because of a concurrency use-after-free flaw after deallocating raw_cmd in the raw_cmd_ioctl function.
(CVE-2022-33981)

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-5518-1

Plugin Details

Severity: High

ID: 163117

File Name: ubuntu_USN-5518-1.nasl

Version: 1.7

Type: local

Agent: unix

Published: 7/14/2022

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: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.6

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

CVSS Score Source: CVE-2022-0500

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

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

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:22.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.15.0-1010-ibm, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.15.0-1011-gke, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.15.0-1012-raspi, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.15.0-1012-raspi-nolpae, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.15.0-1013-gcp, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.15.0-1014-azure, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.15.0-1015-aws, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.15.0-41-generic, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.15.0-41-generic-64k, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.15.0-41-generic-lpae, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.15.0-41-lowlatency, p-cpe:/a:canonical:ubuntu_linux:linux-image-5.15.0-41-lowlatency-64k

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: 7/14/2022

Vulnerability Publication Date: 3/25/2022

Reference Information

CVE: CVE-2022-0500, CVE-2022-1734, CVE-2022-1789, CVE-2022-1974, CVE-2022-1975, CVE-2022-33981

USN: 5518-1