ALAS2-2022-1838


Amazon Linux 2 Security Advisory: ALAS2-2022-1838
Advisory Released Date: 2022-09-13
Advisory Updated Date: 2025-07-01
Severity: Important

Issue Overview:

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

i2c: Fix a potential use after free

Free the adap structure only after we are done using it.
This patch just moves the put_device() down a bit to avoid the
use after free.

[wsa: added comment to the code, added Fixes tag] (CVE-2019-25162)

A use-after-free flaw was found in the Linux kernel's Atheros wireless adapter driver in the way a user forces the ath9k_htc_wait_for_target function to fail with some input messages. This flaw allows a local user to crash or potentially escalate their privileges on the system. (CVE-2022-1679)

In l2cap_chan_put of l2cap_core, there is a possible use after free due to improper locking. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-165329981References: Upstream kernel (CVE-2022-20566)

A flaw was found in the Linux kernel's KVM when attempting to set a SynIC IRQ. This issue makes it possible for a misbehaving VMM to write to SYNIC/STIMER MSRs, causing a NULL pointer dereference. This flaw allows an unprivileged local attacker on the host to issue specific ioctl calls, causing a kernel oops condition that results in a denial of service. (CVE-2022-2153)

A use-after-free flaw was found in route4_change in the net/sched/cls_route.c filter implementation in the Linux kernel. This flaw allows a local user to crash the system and possibly lead to a local privilege escalation problem. (CVE-2022-2588)

Non-transparent sharing of return predictor targets between contexts in some Intel(R) Processors may allow an authorized user to potentially enable information disclosure via local access. (CVE-2022-26373)

A flaw was found in hw. The unprotected alternative channel of return branch target prediction in some Intel(R) Processors may allow an authorized user to enable information disclosure via local access. (CVE-2022-28693)

Intel microprocessor generations 6 to 8 are affected by a new Spectre variant that is able to bypass their retpoline mitigation in the kernel to leak arbitrary data. An attacker with unprivileged user access can hijack return instructions to achieve arbitrary speculative code execution under certain microarchitecture-dependent conditions. (CVE-2022-29901)

A memory corruption flaw was found in the Linux kernel's Netfilter subsystem in the way a local user uses the libnetfilter_queue when analyzing a corrupted network packet. This flaw allows a local user to crash the system or a remote user to crash the system when the libnetfilter_queue is used by a local user. (CVE-2022-36946)

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

x86/speculation: Fill RSB on vmexit for IBRS (CVE-2022-49611)

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

ext4: add EXT4_INODE_HAS_XATTR_SPACE macro in xattr.h (CVE-2022-50083)

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

video: fbdev: s3fb: Check the size of screen before memset_io() (CVE-2022-50097)

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

jbd2: fix assertion 'jh->b_frozen_data == NULL' failure when journal aborted (CVE-2022-50126)

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

RDMA/rxe: Fix error unwind in rxe_create_qp() (CVE-2022-50127)

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

drm/radeon: fix potential buffer overflow in ni_set_mc_special_registers() (CVE-2022-50185)

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

selinux: Add boundary check in put_entry() (CVE-2022-50200)

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

PM: hibernate: defer device probing when resuming from hibernation (CVE-2022-50202)

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

ext2: Add more validity checks for inode counts (CVE-2022-50205)

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

md-raid10: fix KASAN warning (CVE-2022-50211)

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

usbnet: Fix linkwatch use-after-free on disconnect (CVE-2022-50220)

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

KVM: SVM: Don't BUG if userspace injects an interrupt with GIF=0 (CVE-2022-50228)

In nf_tables_updtable, if nf_tables_table_enable returns an error, nft_trans_destroy is called to free the transaction object. nft_trans_destroy() calls list_del(), but the transaction was never placed on a list -- the list head is all zeroes, this results in a NULL pointer dereference. (CVE-2023-1095)


Affected Packages:

kernel


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update kernel to update your system.

New Packages:
aarch64:
    kernel-4.14.291-218.527.amzn2.aarch64
    kernel-headers-4.14.291-218.527.amzn2.aarch64
    kernel-debuginfo-common-aarch64-4.14.291-218.527.amzn2.aarch64
    perf-4.14.291-218.527.amzn2.aarch64
    perf-debuginfo-4.14.291-218.527.amzn2.aarch64
    python-perf-4.14.291-218.527.amzn2.aarch64
    python-perf-debuginfo-4.14.291-218.527.amzn2.aarch64
    kernel-tools-4.14.291-218.527.amzn2.aarch64
    kernel-tools-devel-4.14.291-218.527.amzn2.aarch64
    kernel-tools-debuginfo-4.14.291-218.527.amzn2.aarch64
    kernel-devel-4.14.291-218.527.amzn2.aarch64
    kernel-debuginfo-4.14.291-218.527.amzn2.aarch64

i686:
    kernel-headers-4.14.291-218.527.amzn2.i686

src:
    kernel-4.14.291-218.527.amzn2.src

x86_64:
    kernel-4.14.291-218.527.amzn2.x86_64
    kernel-headers-4.14.291-218.527.amzn2.x86_64
    kernel-debuginfo-common-x86_64-4.14.291-218.527.amzn2.x86_64
    perf-4.14.291-218.527.amzn2.x86_64
    perf-debuginfo-4.14.291-218.527.amzn2.x86_64
    python-perf-4.14.291-218.527.amzn2.x86_64
    python-perf-debuginfo-4.14.291-218.527.amzn2.x86_64
    kernel-tools-4.14.291-218.527.amzn2.x86_64
    kernel-tools-devel-4.14.291-218.527.amzn2.x86_64
    kernel-tools-debuginfo-4.14.291-218.527.amzn2.x86_64
    kernel-devel-4.14.291-218.527.amzn2.x86_64
    kernel-debuginfo-4.14.291-218.527.amzn2.x86_64
    kernel-livepatch-4.14.291-218.527-1.0-0.amzn2.x86_64

Changelog:

2025-07-01: CVE-2022-50200 was added to this advisory.

2025-07-01: CVE-2022-50127 was added to this advisory.

2025-07-01: CVE-2022-50185 was added to this advisory.

2025-07-01: CVE-2022-50083 was added to this advisory.

2025-07-01: CVE-2022-50205 was added to this advisory.

2025-07-01: CVE-2022-50202 was added to this advisory.

2025-07-01: CVE-2022-50097 was added to this advisory.

2025-07-01: CVE-2022-50126 was added to this advisory.

2025-07-01: CVE-2022-50211 was added to this advisory.

2025-07-01: CVE-2022-50228 was added to this advisory.

2025-07-01: CVE-2022-50220 was added to this advisory.

2025-03-10: CVE-2022-49611 was added to this advisory.

2024-07-03: CVE-2019-25162 was added to this advisory.

2024-06-06: CVE-2022-20566 was added to this advisory.

2024-04-11: CVE-2023-1095 was added to this advisory.