ALASKERNEL-5.4-2022-028


Amazon Linux 2 Security Advisory: ALASKERNEL-5.4-2022-028
Advisory Release Date: 2022-06-30 22:29 Pacific
Advisory Updated Date: 2025-03-13 01:32 Pacific
Severity: Important

Issue Overview:

Due to the small table perturb size, a memory leak flaw was found in the Linux kernel's TCP source port generation algorithm in the net/ipv4/tcp.c function. This flaw allows an attacker to leak information and may cause a denial of service. (CVE-2022-1012)

A use-after-free flaw was found in fs/ext4/namei.c:dx_insert_block() in the Linux kernel's filesystem sub-component. This flaw allows a local attacker with a user privilege to cause a denial of service. (CVE-2022-1184)

A use-after-free vulnerability was found in the Linux kernel's Netfilter subsystem in net/netfilter/nf_tables_api.c. This flaw allows a local attacker with user access to cause a privilege escalation issue. (CVE-2022-1966)

A flaw was found in hw. Incomplete cleanup of multi-core shared buffers for some Intel(r) Processors may allow an authenticated user to enable information disclosure via local access. (CVE-2022-21123)

A flaw was found in hw. Incomplete cleanup of microarchitectural fill buffers on some Intel(r) Processors may allow an authenticated user to enable information disclosure via local access. (CVE-2022-21125)

A flaw was found in hw. Incomplete cleanup in specific special register write operations for some Intel® Processors may allow an authenticated user to enable information disclosure via local access. (CVE-2022-21166)

KGDB and KDB allow read and write access to kernel memory, and thus should be restricted during lockdown. An attacker with access to a serial port could trigger the debugger so it is important that the debugger respect the lockdown mode when/if it is triggered. CVSS 3.1 Base Score 6.5 (Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H). (CVE-2022-21499)

net/netfilter/nf_tables_api.c in the Linux kernel through 5.18.1 allows a local user (able to create user/net namespaces) to escalate privileges to root because an incorrect NFT_STATEFUL_EXPR check leads to a use-after-free. (CVE-2022-32250)

The Linux kernel before 5.17.9 allows TCP servers to identify clients by observing what source ports are used. (CVE-2022-32296)

An issue was discovered in the Linux kernel through 5.18.3 on powerpc 32-bit platforms. There is a buffer overflow in ptrace PEEKUSER and POKEUSER (aka PEEKUSR and POKEUSR) when accessing floating point registers. (CVE-2022-32981)

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

net: openvswitch: fix leak of nested actions (CVE-2022-49086)

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

nbd: fix io hung while disconnecting device (CVE-2022-49297)

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

ip_gre: test csum_start instead of transport header (CVE-2022-49340)

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

net: xfrm: unexport __init-annotated xfrm4_protocol_init() (CVE-2022-49345)

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

ext4: fix bug_on in ext4_writepages (CVE-2022-49347)

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

ext4: fix use-after-free in ext4_rename_dir_prepare (CVE-2022-49349)

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

driver: base: fix UAF when driver_attach failed (CVE-2022-49385)

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

dlm: fix plock invalid read (CVE-2022-49407)

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

drm/virtio: fix NULL pointer dereference in virtio_gpu_conn_get_modes (CVE-2022-49532)

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

netfilter: conntrack: re-fetch conntrack after insertion (CVE-2022-49561)

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

ext4: fix bug_on ext4_mb_use_inode_pa (CVE-2022-49708)

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

ipv6: Fix signed integer overflow in l2tp_ip6_sendmsg (CVE-2022-49727)

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

ata: libata-core: fix NULL pointer deref in ata_host_alloc_pinfo() (CVE-2022-49731)


Affected Packages:

kernel


Note:

This advisory is applicable to Amazon Linux 2 - Kernel-5.4 Extra. Visit this page to learn more about Amazon Linux 2 (AL2) Extras and 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-5.4.201-111.359.amzn2.aarch64
    kernel-headers-5.4.201-111.359.amzn2.aarch64
    kernel-debuginfo-common-aarch64-5.4.201-111.359.amzn2.aarch64
    perf-5.4.201-111.359.amzn2.aarch64
    perf-debuginfo-5.4.201-111.359.amzn2.aarch64
    python-perf-5.4.201-111.359.amzn2.aarch64
    python-perf-debuginfo-5.4.201-111.359.amzn2.aarch64
    kernel-tools-5.4.201-111.359.amzn2.aarch64
    kernel-tools-devel-5.4.201-111.359.amzn2.aarch64
    kernel-tools-debuginfo-5.4.201-111.359.amzn2.aarch64
    bpftool-5.4.201-111.359.amzn2.aarch64
    bpftool-debuginfo-5.4.201-111.359.amzn2.aarch64
    kernel-devel-5.4.201-111.359.amzn2.aarch64
    kernel-debuginfo-5.4.201-111.359.amzn2.aarch64

i686:
    kernel-headers-5.4.201-111.359.amzn2.i686

src:
    kernel-5.4.201-111.359.amzn2.src

x86_64:
    kernel-5.4.201-111.359.amzn2.x86_64
    kernel-headers-5.4.201-111.359.amzn2.x86_64
    kernel-debuginfo-common-x86_64-5.4.201-111.359.amzn2.x86_64
    perf-5.4.201-111.359.amzn2.x86_64
    perf-debuginfo-5.4.201-111.359.amzn2.x86_64
    python-perf-5.4.201-111.359.amzn2.x86_64
    python-perf-debuginfo-5.4.201-111.359.amzn2.x86_64
    kernel-tools-5.4.201-111.359.amzn2.x86_64
    kernel-tools-devel-5.4.201-111.359.amzn2.x86_64
    kernel-tools-debuginfo-5.4.201-111.359.amzn2.x86_64
    bpftool-5.4.201-111.359.amzn2.x86_64
    bpftool-debuginfo-5.4.201-111.359.amzn2.x86_64
    kernel-devel-5.4.201-111.359.amzn2.x86_64
    kernel-debuginfo-5.4.201-111.359.amzn2.x86_64

Changelog:

2025-03-13: CVE-2022-49297 was added to this advisory.

2025-03-13: CVE-2022-49345 was added to this advisory.

2025-03-13: CVE-2022-49407 was added to this advisory.

2025-03-13: CVE-2022-49561 was added to this advisory.

2025-03-13: CVE-2022-49347 was added to this advisory.

2025-03-13: CVE-2022-49340 was added to this advisory.

2025-03-13: CVE-2022-49385 was added to this advisory.

2025-03-13: CVE-2022-49727 was added to this advisory.

2025-03-13: CVE-2022-49731 was added to this advisory.

2025-03-13: CVE-2022-49086 was added to this advisory.

2025-03-13: CVE-2022-49532 was added to this advisory.

2025-03-13: CVE-2022-49349 was added to this advisory.

2025-03-13: CVE-2022-49708 was added to this advisory.