Amazon Linux 2核心 --advisory ALAS2KERNEL-5。4-2022-039 (ALASKERNEL-5.4-2022-039)

high Nessus Plugin ID 168727

概要

遠端 Amazon Linux 2 主機缺少安全性更新。

說明

遠端主機上安裝的核心版本早於 5.4.224-128.414。因此,會受到 ALAS2KERNEL-5.4-2022-039 公告中所提及的多個弱點影響。

在 Linux 核心中 memcg 子系統的 ipc 功能中發現記憶體溢位弱點,使用者會多次呼叫 semget 函式,從而建立旗號。本機使用者可利用此缺陷耗盡資源,進而引發拒絕服務。此弱點對系統可用性威脅最大。(CVE-2021-3759)

在 Linux 核心中,下列弱點已解決:

inet:將 sk->sk_rx_dst 完全轉換為 RCU 規則 (CVE-2021-47103)

在 Linux 核心的 Unix 通訊端記憶體回收和 io_uring 中發現釋放後使用缺陷。本機使用者可利用此缺陷造成系統當機,或可能提升自己的系統權限。(CVE-2022-2602)

在 Linux 核心中發現一個弱點。目前已將其歸類為「有問題」。受到此弱點影響的是 IPv6 Handler 元件的 ipv6_renew_options 函式。攻擊者可利用此弱點造成記憶體洩漏。攻擊者可在遠端執行此攻擊。建議套用修補程式以修正此問題。
已爲此弱點指派識別碼 VDB-211021。(CVE-2022-3524)

在 Linux 核心中發現一個歸類為「有問題」的弱點。受到此弱點影響的是 mvpp2 元件中 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c 檔案的 mvpp2_dbgfs_port_init 函式。攻擊者可利用此弱點造成記憶體洩漏。建議套用修補程式以修正此問題。已爲此弱點指派識別碼 VDB-211033。(CVE-2022-3535)

在 Linux 核心中發現一個歸類為「有問題」的弱點。此弱點會影響 BPF 元件中 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 檔案的 bnx2x_tpa_stop 函式。
攻擊者可利用此弱點造成記憶體洩漏。建議套用修補程式以修正此問題。已爲此弱點指派識別碼 VDB-211042。(CVE-2022-3542)

在 Linux 核心中發現一個歸類為「嚴重」的弱點。此弱點會影響 Bluetooth 元件中 net/bluetooth/l2cap_core.c 檔案的 l2cap_reassemble_sdu 函式。操控此弱點可導致釋放後使用。建議套用修補程式以修正此問題。此弱點的相關識別碼是 VDB-211087。(CVE-2022-3564)

在 Linux 核心中發現一個歸類為「嚴重」的弱點。此弱點會影響 Bluetooth 元件中 drivers/isdn/mISDN/l1oip_core.c 檔案的 del_timer 函式。操控此弱點可導致釋放後使用。建議套用修補程式以修正此問題。此弱點的相關識別碼是 VDB-211088。(CVE-2022-3565)

在 Linux 核心中發現一個弱點。目前已將其歸類為「有問題」。此弱點會影響 BPF 元件中 drivers/net/usb/r8152.c 檔案的 intr_callback 函式。利用此弱點可造成程式記錄過量資料。攻擊者可在遠端執行此攻擊。建議套用修補程式以修正此問題。此弱點的相關識別碼是 VDB-211363。
(CVE-2022-3594)

在 Linux 核心中發現一個弱點。目前已將其歸類為「有問題」。這會影響 BPF 元件中 fs/nilfs2/inode.c 檔案的 nilfs_new_inode 函式 。操控此弱點可導致釋放後使用。攻擊者可從遠端發動攻擊。建議套用修補程式以修正此問題。
此弱點的相關識別碼是 VDB-211992。(CVE-2022-3649)

在 Linux 核心 5.19.12 及其之前的所有版本中,如果實際位置靠近的攻擊者在呼叫 open 時移除 USB 裝置,drivers/video/fbdev/smscufx.c 會產生爭用情形並導致釋放後使用,即 ufx_ops_open 與 ufx_usb_disconnect 之間的爭用情形。(CVE-2022-41849)

在 Linux 核心 5.19.12 及其之前的所有版本中,drivers/hid/hid-roccat.c 的 roccat_report_event 中存在爭用情形,在特定情況下,若在複製 report->value 的同時接收報告,此弱點可導致釋放後使用。(CVE-2022-41850)

在 Linux 核心中,下列弱點已解決:

ext4修正目錄項目具有無效 rec_len 時的 BUG_ON() (CVE-2022-49879)

在 Linux 核心中,下列弱點已解決:

ext4:修正「ext4_da_release_space」中的警告 (CVE-2022-49880)

在 Linux 核心中,下列弱點已解決:

capabilities:從 vfs_getxattr_alloc() 修正錯誤路徑上的潛在記憶體洩漏 (CVE-2022-49890)

在 Linux 核心中,下列弱點已解決:

ipv6修正 ip6_route_net_exit_late() 中的警告 (CVE-2022-49903)

在 Linux 核心中,下列弱點已解決:

net、neigh:修正 neigh_table_clear() 中的 null-ptr-deref (CVE-2022-49904)

在 Linux 核心中,下列弱點已解決:

net:mdio:為 __mdiobus_register 修正位元移位中的未定義行為 (CVE-2022-49907)

在 Linux 核心中,下列弱點已解決:

btrfs:修正 qgroup 自我測試之錯誤路徑中的 ulist 洩漏 (CVE-2022-49912)

在 Linux 核心中,下列弱點已解決:

btrfs修正反向參照搜尋期間於 find_parent_nodes() 執行的 inode 清單洩漏 (CVE-2022-49913)

在 Linux 核心中,下列弱點已解決:

btrfs:修正反向參照搜尋期間於 resolve_indirect_refs() 發生的 inode 清單洩漏 (CVE-2022-49914)

在 Linux 核心中,下列弱點已解決:

mISDN:修正 mISDN_register_device() 中可能發生的記憶體洩漏 (CVE-2022-49915)

在 Linux 核心中,下列弱點已解決:

ipvs修正 ip_vs_app_net_cleanup() 中的警告 (CVE-2022-49917)

在 Linux 核心中,下列弱點已解決:

ipvs修正 __ip_vs_cleanup_batch() 中的警告 (CVE-2022-49918)

在 Linux 核心中,下列弱點已解決:

netfilternf_tables從認可路徑釋放流程規則物件 (CVE-2022-49919)

在 Linux 核心中,下列弱點已解決:

net:sched:修正 red_enqueue() 中的釋放後使用 (CVE-2022-49921)

在 Linux 核心中,下列弱點已解決:

RDMA/核心修正 ib_core_cleanup() 中的 null-ptr-deref (CVE-2022-49925)

在 Linux 核心中,下列弱點已解決:

nfs4:修正配置插槽失敗時的 kmemleak (CVE-2022-49927)

在 Linux 核心中,下列弱點已解決:

binder修正 alloc->vma 在與 munmap() 爭用中的 UAF (CVE-2022-50240)

在 Linux 核心中,下列弱點已解決:

sctp處理從 sctp_auth_asoc_init_active_key 傳回的錯誤 (CVE-2022-50243)

在 Linux 核心中,下列弱點已解決:

xen/gntdev防止洩漏授權 (CVE-2022-50257)

在 Linux 核心中,下列弱點已解決:

kcm註解 kcm->rx_wait 的資料爭用 (CVE-2022-50265)

在 Linux 核心中,下列弱點已解決:

vhost/vsock針對較大的封包使用 kvmalloc/kvfree。 (CVE-2022-50271)

在 Linux 核心中,下列弱點已解決:

mm、hugetlb在遞減 h->resv_huge_pages 前取得 hugetlb_lock (CVE-2022-50285)

在 Linux 核心中,下列弱點已解決:

kcm註解 kcm->rx_psock 的資料爭用 (CVE-2022-50291)

在 Linux 核心中,下列弱點已解決:

md將 snprintf 取代為 scnprintf (CVE-2022-50299)

在 Linux 核心中,下列弱點已解決:

nbd修正訊號中斷時發生的懸置 nbd_start_device_ioctl() (CVE-2022-50314)

在 Linux 核心中,下列弱點已解決:

ataahci比對 EM_MAX_SLOTS 和 SATA_PMP_MAX_PORTS (CVE-2022-50315)

在 Linux 核心中,下列弱點已解決:

cryptocavium - 防止載入韌體的整數溢位 (CVE-2022-50330)

在 Linux 核心中,下列弱點已解決:

binder修正 alloc->vma 在與 munmap() 爭用中的 UAF (CVE-2022-50338)

在 Linux 核心中,下列弱點已解決:

ext4修正 ext4_write_info 中的 null-ptr-deref (CVE-2022-50344)

在 Linux 核心中,下列弱點已解決:

nfsd修正錯誤處理路徑中的記憶體洩漏 (CVE-2022-50348)

在 Linux 核心中,下列弱點已解決:

nethns修正 hnae_ae_register() 中的潛在記憶體洩漏 (CVE-2022-50352)

在 Linux 核心中,下列弱點已解決:

btrfs修正配額啟用和配額重新掃描 ioctl 之間的爭用 (CVE-2022-50379)

在 Linux 核心中,下列弱點已解決:

mm/proc/pid/smaps_rollup修正任何 vma 的 null-deref (CVE-2022-50380)

在 Linux 核心中,下列弱點已解決:

net/ieee802154拒絕零大小的 raw_sendmsg() (CVE-2022-50397)

在 Linux 核心中,下列弱點已解決:

net如果 sock 無作用請勿存取 sk_stream_wait_memory 中 sock 的 sk_wq (CVE-2022-50409)

在 Linux 核心中,下列弱點已解決:

scsilibsas修正 smp_execute_task_sg() 中的釋放後使用錯誤 (CVE-2022-50422)

在 Linux 核心中,下列弱點已解決:

ALSAac97修正 snd_ac97_dev_register() 中的潛在記憶體洩漏 (CVE-2022-50427)

在 Linux 核心中,下列弱點已解決:

kernfs修正 __kernfs_remove 中的釋放後使用 (CVE-2022-50432)

在 Linux 核心中,下列弱點已解決:

ext4避免在 DIO 寫入後建立內嵌資料時當機 (CVE-2022-50435)

在 Linux 核心中,下列弱點已解決:

netschedcake修正 cake_init() 失敗時的 NULL 指標存取問題 (CVE-2022-50452)

在 Linux 核心中,下列弱點已解決:

xhci釋放裝置時移除頻寬清單中的裝置端點 (CVE-2022-50470)

在 Linux 核心中,下列弱點已解決:

iommu/vt-d清理 init_dmars() 錯誤路徑中的 si_domain (CVE-2022-50482)

在 Linux 核心中,下列弱點已解決:

tipc修正 tipc_topsrv_kern_subscr 中的資訊洩漏 (CVE-2022-50531)

在 Linux 核心中,下列弱點已解決:

usbhostxhci修正 xhci_alloc_stream_info() 中的潛在記憶體洩漏 (CVE-2022-50544)

在 Linux 核心中,下列弱點已解決:

tipc修正 tipc_topsrv_accept 中的 null-ptr-deref (CVE-2022-50555)

在 Linux 核心的 TUN/TAP 裝置驅動程式功能中發現超出邊界記憶體存取缺陷,該缺陷涉及使用者在啟用 napi frags 時產生惡意網路封包 (過大) 的方式。本機使用者可利用此缺陷造成系統當機,或可能提升自己的系統權限。(CVE-2023-3812)

Tenable 已直接從所測試產品的安全公告擷取前置描述區塊。

請注意,Nessus 並未測試這些問題,而是僅依據應用程式自我報告的版本號碼作出判斷。

解決方案

執行「yum update kernel」或 或「yum update --advisory ALAS2KERNEL-5.4-2022-039」更新您的系統。

另請參閱

https://alas.aws.amazon.com//AL2/ALAS2KERNEL-5.4-2022-039.html

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

https://explore.alas.aws.amazon.com/CVE-2021-3759.html

https://explore.alas.aws.amazon.com/CVE-2021-47103.html

https://explore.alas.aws.amazon.com/CVE-2022-2602.html

https://explore.alas.aws.amazon.com/CVE-2022-3524.html

https://explore.alas.aws.amazon.com/CVE-2022-3535.html

https://explore.alas.aws.amazon.com/CVE-2022-3542.html

https://explore.alas.aws.amazon.com/CVE-2022-3564.html

https://explore.alas.aws.amazon.com/CVE-2022-3565.html

https://explore.alas.aws.amazon.com/CVE-2022-3594.html

https://explore.alas.aws.amazon.com/CVE-2022-3649.html

https://explore.alas.aws.amazon.com/CVE-2022-41849.html

https://explore.alas.aws.amazon.com/CVE-2022-41850.html

https://explore.alas.aws.amazon.com/CVE-2022-49879.html

https://explore.alas.aws.amazon.com/CVE-2022-49880.html

https://explore.alas.aws.amazon.com/CVE-2022-49890.html

https://explore.alas.aws.amazon.com/CVE-2022-49903.html

https://explore.alas.aws.amazon.com/CVE-2022-49904.html

https://explore.alas.aws.amazon.com/CVE-2022-49907.html

https://explore.alas.aws.amazon.com/CVE-2022-49912.html

https://explore.alas.aws.amazon.com/CVE-2022-49913.html

https://explore.alas.aws.amazon.com/CVE-2022-49914.html

https://explore.alas.aws.amazon.com/CVE-2022-49915.html

https://explore.alas.aws.amazon.com/CVE-2022-49917.html

https://explore.alas.aws.amazon.com/CVE-2022-49918.html

https://explore.alas.aws.amazon.com/CVE-2022-49919.html

https://explore.alas.aws.amazon.com/CVE-2022-49921.html

https://explore.alas.aws.amazon.com/CVE-2022-49925.html

https://explore.alas.aws.amazon.com/CVE-2022-49927.html

https://explore.alas.aws.amazon.com/CVE-2022-50240.html

https://explore.alas.aws.amazon.com/CVE-2022-50243.html

https://explore.alas.aws.amazon.com/CVE-2022-50257.html

https://explore.alas.aws.amazon.com/CVE-2022-50265.html

https://explore.alas.aws.amazon.com/CVE-2022-50271.html

https://explore.alas.aws.amazon.com/CVE-2022-50285.html

https://explore.alas.aws.amazon.com/CVE-2022-50291.html

https://explore.alas.aws.amazon.com/CVE-2022-50299.html

https://explore.alas.aws.amazon.com/CVE-2022-50314.html

https://explore.alas.aws.amazon.com/CVE-2022-50315.html

https://explore.alas.aws.amazon.com/CVE-2022-50330.html

https://explore.alas.aws.amazon.com/CVE-2022-50338.html

https://explore.alas.aws.amazon.com/CVE-2022-50344.html

https://explore.alas.aws.amazon.com/CVE-2022-50348.html

https://explore.alas.aws.amazon.com/CVE-2022-50352.html

https://explore.alas.aws.amazon.com/CVE-2022-50379.html

https://explore.alas.aws.amazon.com/CVE-2022-50380.html

https://explore.alas.aws.amazon.com/CVE-2022-50397.html

https://explore.alas.aws.amazon.com/CVE-2022-50409.html

https://explore.alas.aws.amazon.com/CVE-2022-50422.html

https://explore.alas.aws.amazon.com/CVE-2022-50427.html

https://explore.alas.aws.amazon.com/CVE-2022-50432.html

https://explore.alas.aws.amazon.com/CVE-2022-50435.html

https://explore.alas.aws.amazon.com/CVE-2022-50452.html

https://explore.alas.aws.amazon.com/CVE-2022-50470.html

https://explore.alas.aws.amazon.com/CVE-2022-50482.html

https://explore.alas.aws.amazon.com/CVE-2022-50531.html

https://explore.alas.aws.amazon.com/CVE-2022-50544.html

https://explore.alas.aws.amazon.com/CVE-2022-50555.html

https://explore.alas.aws.amazon.com/CVE-2023-3812.html

Plugin 詳細資訊

嚴重性: High

ID: 168727

檔案名稱: al2_ALASKERNEL-5_4-2022-039.nasl

版本: 1.20

類型: local

代理程式: unix

已發布: 2022/12/14

已更新: 2025/10/27

支援的感應器: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

風險資訊

VPR

風險因素: High

分數: 7.4

CVSS v2

風險因素: Medium

基本分數: 6.8

時間性分數: 5.3

媒介: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

CVSS 評分資料來源: CVE-2023-3812

CVSS v3

風險因素: High

基本分數: 7.8

時間性分數: 7

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

時間媒介: CVSS:3.0/E:P/RL:O/RC:C

弱點資訊

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: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

必要的 KB 項目: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2022/12/1

弱點發布日期: 2022/2/11

參考資訊

CVE: CVE-2021-3759, CVE-2021-47103, CVE-2022-2602, CVE-2022-3524, CVE-2022-3564, CVE-2022-3565, CVE-2022-3594, CVE-2022-3649, CVE-2022-41849, CVE-2022-41850, CVE-2022-49879, CVE-2022-49880, CVE-2022-49890, CVE-2022-49903, CVE-2022-49904, CVE-2022-49907, CVE-2022-49912, CVE-2022-49913, CVE-2022-49914, CVE-2022-49915, CVE-2022-49917, CVE-2022-49918, CVE-2022-49919, CVE-2022-49921, CVE-2022-49925, CVE-2022-49927, CVE-2022-50240, CVE-2022-50243, CVE-2022-50257, CVE-2022-50265, CVE-2022-50271, CVE-2022-50285, CVE-2022-50291, CVE-2022-50299, CVE-2022-50314, CVE-2022-50315, CVE-2022-50330, CVE-2022-50344, CVE-2022-50348, CVE-2022-50352, CVE-2022-50379, CVE-2022-50380, CVE-2022-50409, CVE-2022-50422, CVE-2022-50427, CVE-2022-50432, CVE-2022-50435, CVE-2022-50452, CVE-2022-50470, CVE-2022-50482, CVE-2022-50531, CVE-2022-50544, CVE-2022-50555, CVE-2023-3812