Amazon Linux 2 : kernel (ALASKERNEL-5.10-2022-011)

high Nessus Plugin ID 160425

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of kernel installed on the remote host is prior to 5.10.102-99.473. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2KERNEL-5.10-2022-011 advisory.

2024-08-27: CVE-2022-48804 was added to this advisory.

2024-08-27: CVE-2022-48773 was added to this advisory.

2024-08-27: CVE-2022-48788 was added to this advisory.

2024-08-27: CVE-2022-48823 was added to this advisory.

2024-08-27: CVE-2022-48809 was added to this advisory.

2024-08-27: CVE-2022-48818 was added to this advisory.

2024-08-27: CVE-2022-48813 was added to this advisory.

2024-08-27: CVE-2022-48805 was added to this advisory.

2024-08-27: CVE-2022-48790 was added to this advisory.

2024-08-01: CVE-2022-48714 was added to this advisory.

2024-08-01: CVE-2022-48734 was added to this advisory.

2024-08-01: CVE-2022-48724 was added to this advisory.

2024-08-01: CVE-2022-48743 was added to this advisory.

2024-08-01: CVE-2022-48763 was added to this advisory.

2024-08-01: CVE-2022-48745 was added to this advisory.

2024-08-01: CVE-2022-48728 was added to this advisory.

2024-08-01: CVE-2022-48742 was added to this advisory.

2024-08-01: CVE-2022-48711 was added to this advisory.

2024-08-01: CVE-2022-48720 was added to this advisory.

2024-08-01: CVE-2022-48740 was added to this advisory.

2024-08-01: CVE-2022-48712 was added to this advisory.

2024-08-01: CVE-2022-48713 was added to this advisory.

2024-08-01: CVE-2022-48796 was added to this advisory.

2024-08-01: CVE-2022-48726 was added to this advisory.

2024-08-01: CVE-2022-48746 was added to this advisory.

2024-07-03: CVE-2023-1582 was added to this advisory.

AMD recommends using a software mitigation for this issue, which the kernel is enabling by default. The Linux kernel will use the generic retpoline software mitigation, instead of the specialized AMD one, on AMD instances (*5a*). This is done by default, and no administrator action is needed. (CVE-2021-26341)

AMD recommends using a software mitigation for this issue, which the kernel is enabling by default. The Linux kernel will use the generic retpoline software mitigation, instead of the specialized AMD one, on AMD instances (*5a*). This is done by default, and no administrator action is needed. (CVE-2021-26401)

An unprivileged write to the file handler flaw in the Linux kernel's control groups and namespaces subsystem was found in the way users have access to some less privileged process that are controlled by cgroups and have higher privileged parent process. It is actually both for cgroup2 and cgroup1 versions of control groups. A local user could use this flaw to crash the system or escalate their privileges on the system. (CVE-2021-4197)

Non-transparent sharing of branch predictor selectors between contexts in some Intel(R) Processors may allow an authorized user to potentially enable information disclosure. (CVE-2022-0001)

Non-transparent sharing of branch predictor within a context in some Intel(r) Processors may allow an authorized user to potentially enable information disclosure via local access. (CVE-2022-0002)

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 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 use-after-free vulnerability was found in the tc_new_tfilter function in net/sched/cls_api.c in the Linux kernel. The availability of local, unprivileged user namespaces allows privilege escalation.
(CVE-2022-1055)

The Amazon Linux kernel now enables, by default, a software mitigation for this issue, on all ARM-based EC2 instance types. (CVE-2022-23960)

A flaw was found in the Linux kernel's driver for the ASIX AX88179_178A-based USB 2.0/3.0 Gigabit Ethernet Devices. The vulnerability contains multiple out-of-bounds reads and possible out-of-bounds writes.
(CVE-2022-2964)

In the Linux kernel, the following vulnerability has been resolved:

tipc: improve size validations for received domain records (CVE-2022-48711)

In the Linux kernel, the following vulnerability has been resolved:

ext4: fix error handling in ext4_fc_record_modified_inode() (CVE-2022-48712)

In the Linux kernel, the following vulnerability has been resolved:

perf/x86/intel/pt: Fix crash with stop filters in single-range mode (CVE-2022-48713)

In the Linux kernel, the following vulnerability has been resolved:

bpf: Use VM_MAP instead of VM_ALLOC for ringbuf (CVE-2022-48714)

In the Linux kernel, the following vulnerability has been resolved:

net: macsec: Fix offload support for NETDEV_UNREGISTER event (CVE-2022-48720)

In the Linux kernel, the following vulnerability has been resolved:

iommu/vt-d: Fix potential memory leak in intel_setup_irq_remapping() (CVE-2022-48724)

In the Linux kernel, the following vulnerability has been resolved:

RDMA/ucma: Protect mc during concurrent multicast leaves (CVE-2022-48726)

In the Linux kernel, the following vulnerability has been resolved:

IB/hfi1: Fix AIP early init panic (CVE-2022-48728)

In the Linux kernel, the following vulnerability has been resolved:

btrfs: fix deadlock between quota disable and qgroup rescan worker (CVE-2022-48734)

In the Linux kernel, the following vulnerability has been resolved:

selinux: fix double free of cond_list on error paths (CVE-2022-48740)

In the Linux kernel, the following vulnerability has been resolved:

rtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink() (CVE-2022-48742)

In the Linux kernel, the following vulnerability has been resolved:

net: amd-xgbe: Fix skb data length underflow (CVE-2022-48743)

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5: Use del_timer_sync in fw reset flow of halting poll (CVE-2022-48745)

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5e: Fix handling of wrong devices during bond netevent (CVE-2022-48746)

In the Linux kernel, the following vulnerability has been resolved:

KVM: x86: Forcibly leave nested virt when SMM state is toggled (CVE-2022-48763)

In the Linux kernel, the following vulnerability has been resolved:

xprtrdma: fix pointer derefs in error cases of rpcrdma_ep_create (CVE-2022-48773)

In the Linux kernel, the following vulnerability has been resolved:

nvme-rdma: fix possible use-after-free in transport error_recovery work (CVE-2022-48788)

In the Linux kernel, the following vulnerability has been resolved:

nvme: fix a possible use-after-free in controller reset during load (CVE-2022-48790)

In the Linux kernel, the following vulnerability has been resolved:

iommu: Fix potential use-after-free during probe (CVE-2022-48796)

In the Linux kernel, the following vulnerability has been resolved:

vt_ioctl: fix array_index_nospec in vt_setactivate (CVE-2022-48804)

In the Linux kernel, the following vulnerability has been resolved:

net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup (CVE-2022-48805)

In the Linux kernel, the following vulnerability has been resolved:

net: fix a memleak when uncloning an skb dst and its metadata (CVE-2022-48809)

In the Linux kernel, the following vulnerability has been resolved:

net: dsa: felix: don't use devres for mdiobus (CVE-2022-48813)

In the Linux kernel, the following vulnerability has been resolved:

net: dsa: mv88e6xxx: don't use devres for mdiobus (CVE-2022-48818)

In the Linux kernel, the following vulnerability has been resolved:

scsi: qedf: Fix refcount issue when LOGO is received during TMF (CVE-2022-48823)

A race problem was found in fs/proc/task_mmu.c in the memory management sub-component in the Linux kernel.
This issue may allow a local attacker with user privilege to cause a denial of service. (CVE-2023-1582)

Tenable has extracted the preceding description block directly from the tested product security advisory.

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

Solution

Run 'yum update kernel' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALASKERNEL-5.10-2022-011.html

https://alas.aws.amazon.com/faqs.html

https://alas.aws.amazon.com/cve/html/CVE-2021-4197.html

https://alas.aws.amazon.com/cve/html/CVE-2021-26341.html

https://alas.aws.amazon.com/cve/html/CVE-2021-26401.html

https://alas.aws.amazon.com/cve/html/CVE-2022-0001.html

https://alas.aws.amazon.com/cve/html/CVE-2022-0002.html

https://alas.aws.amazon.com/cve/html/CVE-2022-0435.html

https://alas.aws.amazon.com/cve/html/CVE-2022-0847.html

https://alas.aws.amazon.com/cve/html/CVE-2022-1055.html

https://alas.aws.amazon.com/cve/html/CVE-2022-2964.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48711.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48712.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48713.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48714.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48720.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48724.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48726.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48728.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48734.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48740.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48742.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48743.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48745.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48746.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48763.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48773.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48788.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48790.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48796.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48804.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48805.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48809.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48813.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48818.html

https://alas.aws.amazon.com/cve/html/CVE-2022-48823.html

https://alas.aws.amazon.com/cve/html/CVE-2023-1582.html

https://alas.aws.amazon.com/cve/html/CVE-2022-23960.html

Plugin Details

Severity: High

ID: 160425

File Name: al2_ALASKERNEL-5_10-2022-011.nasl

Version: 1.17

Type: local

Agent: unix

Published: 5/2/2022

Updated: 9/19/2024

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

Risk Information

VPR

Risk Factor: Critical

Score: 9.8

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A: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: CVSS:3.0/E:H/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.6

Threat Score: 8.6

Threat Vector: CVSS:4.0/E:A

Vector: CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N

CVSS Score Source: CVE-2022-1055

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:perf, p-cpe:/a:amazon:linux:bpftool, p-cpe:/a:amazon:linux:perf-debuginfo, p-cpe:/a:amazon:linux:kernel-tools-debuginfo, p-cpe:/a:amazon:linux:kernel-debuginfo-common-aarch64, p-cpe:/a:amazon:linux:kernel-tools, p-cpe:/a:amazon:linux:kernel-devel, p-cpe:/a:amazon:linux:python-perf-debuginfo, p-cpe:/a:amazon:linux:kernel, p-cpe:/a:amazon:linux:kernel-debuginfo, p-cpe:/a:amazon:linux:kernel-headers, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:kernel-livepatch-5.10.102-99.473, p-cpe:/a:amazon:linux:bpftool-debuginfo, p-cpe:/a:amazon:linux:kernel-tools-devel, p-cpe:/a:amazon:linux:kernel-debuginfo-common-x86_64, p-cpe:/a:amazon:linux:python-perf

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/7/2022

Vulnerability Publication Date: 3/7/2022

CISA Known Exploited Vulnerability Due Dates: 5/16/2022

Exploitable With

CANVAS (CANVAS)

Core Impact

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

Reference Information

CVE: CVE-2021-26341, CVE-2021-26401, CVE-2021-4197, CVE-2022-0001, CVE-2022-0002, CVE-2022-0435, CVE-2022-0847, CVE-2022-1055, CVE-2022-23960, CVE-2022-2964, CVE-2022-48711, CVE-2022-48712, CVE-2022-48713, CVE-2022-48714, CVE-2022-48720, CVE-2022-48724, CVE-2022-48726, CVE-2022-48728, CVE-2022-48734, CVE-2022-48740, CVE-2022-48742, CVE-2022-48743, CVE-2022-48745, CVE-2022-48746, CVE-2022-48763, CVE-2022-48773, CVE-2022-48788, CVE-2022-48790, CVE-2022-48796, CVE-2022-48804, CVE-2022-48805, CVE-2022-48809, CVE-2022-48813, CVE-2022-48818, CVE-2022-48823, CVE-2023-1582