Rocky Linux 8 : kernel (RLSA-2022:825)

high Nessus Plugin ID 158877

Synopsis

The remote Rocky Linux host is missing one or more security updates.

Description

The remote Rocky Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RLSA-2022:825 advisory.

- A flaw was found in the way the flags member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe and push_pipe functions in the Linux kernel and could thus contain stale values. An unprivileged local user could use this flaw to write to pages in the page cache backed by read only files and as such escalate their privileges on the system. (CVE-2022-0847)

- A random memory access flaw was found in the Linux kernel's GPU i915 kernel driver functionality in the way a user may run malicious code on the GPU. This flaw allows a local user to crash the system or escalate their privileges on the system. (CVE-2022-0330)

- A stack overflow flaw was found in the Linux kernel's TIPC protocol functionality in the way a user sends a packet with malicious content where the number of domain member nodes is higher than the 64 allowed.
This flaw allows a remote user to crash the system or possibly escalate their privileges if they have access to the TIPC network. (CVE-2022-0435)

- A vulnerability was found in the Linux kernel's cgroup_release_agent_write in the kernel/cgroup/cgroup-v1.c function. This flaw, under certain circumstances, allows the use of the cgroups v1 release_agent feature to escalate privileges and bypass the namespace isolation unexpectedly.
(CVE-2022-0492)

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

Solution

Update the affected packages.

See Also

https://errata.rockylinux.org/RLSA-2022:825

https://bugzilla.redhat.com/show_bug.cgi?id=2031930

https://bugzilla.redhat.com/show_bug.cgi?id=2034514

https://bugzilla.redhat.com/show_bug.cgi?id=2042404

https://bugzilla.redhat.com/show_bug.cgi?id=2044809

https://bugzilla.redhat.com/show_bug.cgi?id=2048738

https://bugzilla.redhat.com/show_bug.cgi?id=2050237

https://bugzilla.redhat.com/show_bug.cgi?id=2051505

https://bugzilla.redhat.com/show_bug.cgi?id=2060795

Plugin Details

Severity: High

ID: 158877

File Name: rocky_linux_RLSA-2022-825.nasl

Version: 1.7

Type: local

Published: 3/12/2022

Updated: 8/12/2022

Risk Information

VPR

Risk Factor: Critical

Score: 9.7

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7.8

Vector: AV:N/AC:L/Au:S/C:C/I:C/A:C

Temporal Vector: E:H/RL:OF/RC:C

CVSS Score Source: CVE-2022-0435

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.4

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

Temporal Vector: E:H/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:2.3:a:rocky:linux:bpftool-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-debug-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-rt-core:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-debuginfo-common-aarch64:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-debug:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-rt:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-rt-modules-extra:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-tools-libs-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:perf-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-debug-core:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-rt-debug-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-rt-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-modules:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-debug-modules:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-tools-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-modules-extra:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-rt-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-tools:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-rt-debug-modules:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-debug-modules-extra:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-debug-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-abi-stablelists:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-rt-debug-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:bpftool:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-rt-debug-modules-extra:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-rt-debug-core:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-rt-modules:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-rt-kvm:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-core:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-tools-libs:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-debuginfo-common-x86_64:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:python3-perf:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:python3-perf-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:perf:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-rt-debuginfo-common-x86_64:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-headers:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-rt-debug:*:*:*:*:*:*:*, p-cpe:2.3:a:rocky:linux:kernel-cross-headers:*:*:*:*:*:*:*, cpe:2.3:o:rocky:linux:8:*:*:*:*:*:*:*

Required KB Items: Host/local_checks_enabled, Host/RockyLinux/release, Host/RockyLinux/rpm-list, Host/cpu

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/11/2022

Vulnerability Publication Date: 2/23/2022

CISA Known Exploited Dates: 5/16/2022

Exploitable With

CANVAS (CANVAS)

Metasploit (Dirty Pipe Local Privilege Escalation via CVE-2022-0847)

Reference Information

CVE: CVE-2022-0330, CVE-2022-0435, CVE-2022-0492, CVE-2022-0847

RLSA: 2022:825