ALAS2KERNEL-5.4-2022-028


Amazon Linux 2 Security Advisory: ALAS2KERNEL-5.4-2022-028
Advisory Released Date: 2022-07-15
Advisory Updated Date: 2025-05-21
Severity: Important

Issue Overview:

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

drm/plane: Move range check for format_count earlier (CVE-2021-47659)

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:

drm/radeon: fix a possible null pointer dereference (CVE-2022-48710)

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:

exec: Force single empty string when argv is empty (CVE-2022-49264)

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:

nbd: fix race between nbd_alloc_config() and module removal (CVE-2022-49300)

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

tty: synclink_gt: Fix null-pointer-dereference in slgt_clean() (CVE-2022-49307)

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

extcon: Modify extcon device to be created after driver data is set (CVE-2022-49308)

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

NFSv4: Don't hold the layoutget locks across multiple RPC calls (CVE-2022-49316)

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

xprtrdma: treat all calls not a bcall when bc_serv is NULL (CVE-2022-49321)

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

tracing: Fix sleeping function called from invalid context on RT kernel (CVE-2022-49322)

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

tcp: fix tcp_mtup_probe_success vs wrong snd_cwnd (CVE-2022-49330)

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

net: ipv6: unexport __init-annotated seg6_hmac_init() (CVE-2022-49339)

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:

bpf, arm64: Clear prog->jited_len along prog->jited (CVE-2022-49341)

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

ext4: avoid cycles in directory h-tree (CVE-2022-49343)

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

af_unix: Fix a data-race in unix_dgram_peer_wake_me(). (CVE-2022-49344)

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:

net: mdio: unexport __init-annotated mdio_bus_init() (CVE-2022-49350)

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

ext4: fix warning in ext4_handle_inode_extension (CVE-2022-49352)

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

netfilter: nf_tables: memleak flow rule from commit path (CVE-2022-49358)

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

firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle (CVE-2022-49370)

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

driver core: fix deadlock in __device_attach (CVE-2022-49371)

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

tcp: tcp_rtx_synack() can be called from process context (CVE-2022-49372)

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

tipc: check attribute length for bearer name (CVE-2022-49374)

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:

ubi: ubi_create_volume: Fix use-after-free when volume creation failed (CVE-2022-49388)

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

usb: usbip: fix a refcount leak in stub_probe() (CVE-2022-49389)

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:

tracing: Fix potential double free in create_var_ref() (CVE-2022-49410)

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

bfq: Make sure bfqg for which we are queueing requests is online (CVE-2022-49411)

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

bfq: Update cgroup information before merging bio (CVE-2022-49413)

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

video: fbdev: clcdfb: Fix refcount leak in clcdfb_of_vram_setup (CVE-2022-49421)

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

PCI: Avoid pci_dev_lock() AB/BA deadlock with sriov_numvfs_store() (CVE-2022-49434)

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

tty: fix deadlock caused by calling printk() under tty_port->lock (CVE-2022-49441)

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

drivers/base/node.c: fix compaction sysfs file leak (CVE-2022-49442)

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

rxrpc: Fix listen() setting the bar too high for the prealloc rings (CVE-2022-49450)

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

net: phy: micrel: Allow probing without .driver_data (CVE-2022-49472)

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

nvme-pci: fix a NULL pointer dereference in nvme_alloc_admin_tags (CVE-2022-49492)

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

HID: elan: Fix potential double free in elan_input_configured (CVE-2022-49508)

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

arm64: compat: Do not treat syscall number as ESR_ELx for a bad syscall (CVE-2022-49520)

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

md/bitmap: don't set sb values if can't pass sanity check (CVE-2022-49526)

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:

zsmalloc: fix races between asynchronous zspage free and page migration (CVE-2022-49554)

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: add reserved GDT blocks check (CVE-2022-49707)

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:

dm mirror log: round up region bitmap size to BITS_PER_LONG (CVE-2022-49710)

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

irqchip/gic-v3: Fix refcount leak in gic_populate_ppi_partitions (CVE-2022-49715)

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

irqchip/gic-v3: Fix error handling in gic_populate_ppi_partitions (CVE-2022-49716)

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

i40e: Fix call trace in setup_tx_descriptors (CVE-2022-49725)

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

clocksource: hyper-v: unexport __init-annotated hv_init_clocksource() (CVE-2022-49726)

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-05-21: CVE-2022-49371 was added to this advisory.

2025-05-21: CVE-2022-49441 was added to this advisory.

2025-05-21: CVE-2022-48710 was added to this advisory.

2025-05-21: CVE-2022-49442 was added to this advisory.

2025-05-21: CVE-2022-49307 was added to this advisory.

2025-05-21: CVE-2022-49554 was added to this advisory.

2025-05-21: CVE-2022-49374 was added to this advisory.

2025-05-21: CVE-2022-49370 was added to this advisory.

2025-05-21: CVE-2021-47659 was added to this advisory.

2025-05-21: CVE-2022-49330 was added to this advisory.

2025-05-21: CVE-2022-49352 was added to this advisory.

2025-05-21: CVE-2022-49321 was added to this advisory.

2025-05-21: CVE-2022-49339 was added to this advisory.

2025-05-21: CVE-2022-49710 was added to this advisory.

2025-05-21: CVE-2022-49716 was added to this advisory.

2025-05-21: CVE-2022-49520 was added to this advisory.

2025-05-21: CVE-2022-49358 was added to this advisory.

2025-05-21: CVE-2022-49372 was added to this advisory.

2025-05-21: CVE-2022-49707 was added to this advisory.

2025-05-21: CVE-2022-49308 was added to this advisory.

2025-05-21: CVE-2022-49300 was added to this advisory.

2025-05-21: CVE-2022-49264 was added to this advisory.

2025-05-21: CVE-2022-49526 was added to this advisory.

2025-05-21: CVE-2022-49715 was added to this advisory.

2025-05-21: CVE-2022-49725 was added to this advisory.

2025-05-21: CVE-2022-49434 was added to this advisory.

2025-05-21: CVE-2022-49450 was added to this advisory.

2025-05-21: CVE-2022-49492 was added to this advisory.

2025-05-21: CVE-2022-49343 was added to this advisory.

2025-05-21: CVE-2022-49472 was added to this advisory.

2025-05-21: CVE-2022-49389 was added to this advisory.

2025-05-21: CVE-2022-49726 was added to this advisory.

2025-05-21: CVE-2022-49316 was added to this advisory.

2025-05-21: CVE-2022-49341 was added to this advisory.

2025-05-21: CVE-2022-49322 was added to this advisory.

2025-05-21: CVE-2022-49410 was added to this advisory.

2025-05-21: CVE-2022-49350 was added to this advisory.

2025-05-21: CVE-2022-49344 was added to this advisory.

2025-05-21: CVE-2022-49421 was added to this advisory.

2025-04-23: CVE-2022-49411 was added to this advisory.

2025-04-09: CVE-2022-49413 was added to this advisory.

2025-04-09: CVE-2022-49388 was added to this advisory.

2025-04-09: CVE-2022-49508 was added to this advisory.

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.