Amazon Linux 2:kernel (ALASKERNEL-5.15-2023-012)

high Nessus Plugin ID 170458

概要

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

說明

遠端主機上安裝的核心版本早於 5.15.86-53.137。因此,會受到 ALAS2KERNEL-5.15-2023-012 公告中所提及的多個弱點影響。

在 Linux 核心中發現一個缺陷。如果透過驅動程式的裝置檔案連續要求 NVME_IOCTL_RESET 和 NVME_IOCTL_SUBSYS_RESET,可能會發生拒絕服務,進而導致 PCIe 連結中斷。(CVE-2022-3169)

在 Linux 核心中發現一個歸類為「嚴重」的弱點。受影響的是 libbpf 元件中 tools/lib/bpf/btf_dump.c 檔案的 btf_dump_name_dups 函式。操控此弱點可導致釋放後使用。建議套用修補程式以修正此問題。此弱點的相關識別碼是 VDB-211032。(CVE-2022-3534)

來賓可透過 netback 觸發 NIC 介面重設/中止/損毀。來賓可透過傳送特定類型的封包,在 Linux 型網路後端觸發 NIC 介面重設/中止/損毀。Linux 網路堆疊的其餘部分似乎有一個 (未寫入的) 假設,即封包通訊協定標頭都包含在 SKB 的線性區段中,如果不是這樣,則某些 NIC 會出現不良行為。據報告,Cisco (enic) 和 Broadcom NetXtrem II BCM5780 (bnx2x) 會發生此問題,但其他 NIC/驅動程式也可能有此問題。如果前端傳送具有分割標頭的要求,netback 會將違反上述假設的要求轉送至網路核心,進而導致上述錯誤行為。(CVE-2022-3643)

在 Linux 核心的 GPU i915 核心驅動程式中發現不正確的 TLB 排清問題,此問題可能會導致隨機記憶體損毀或資料洩漏。本機使用者可利用此缺陷造成系統當機,或提升自己的系統權限。(CVE-2022-4139)

來賓可在 Linux netback 驅動程式中觸發鎖死 [此 CNA 資訊記錄與多個 CVE 有關;
文字說明了哪些方面/弱點對應於哪個 CVE。] XSA-392 的修補程式引入了另一個問題,當嘗試釋放因 XSA-392 處理而丟棄的 SKB 時,可能會導致鎖死 (CVE-2022-42328)。此外,當因其他原因中斷套件時,如果在 xen-netback 驅動程式所連線的介面中,netpoll 處於作用中,則可能會發生相同的鎖死情況 (CVE-2022-42329)。(CVE-2022-42328)

來賓可在 Linux netback 驅動程式中觸發鎖死 [此 CNA 資訊記錄與多個 CVE 有關;
文字說明了哪些方面/弱點對應於哪個 CVE。] XSA-392 的修補程式引入了另一個問題,當嘗試釋放因 XSA-392 處理而丟棄的 SKB 時,可能會導致鎖死 (CVE-2022-42328)。此外,當因其他原因中斷套件時,如果在 xen-netback 驅動程式所連線的介面中,netpoll 處於作用中,則可能會發生相同的鎖死情況 (CVE-2022-42329)。(CVE-2022-42329)

在 Linux 核心的 SYSCTL 子系統中,在使用者變更特定核心參數和變數的方式中發現堆疊溢位缺陷。本機使用者可利用此缺陷造成系統當機,或可能提升自己的系統權限。(CVE-2022-4378)

在 Linux 核心中,發現 fs/nfs/nfs4file.c 的 __nfs42_ssc_open() 包含釋放後使用弱點。
此缺陷允許攻擊者從遠端執行拒絕服務攻擊。(CVE-2022-4379)

在 Linux 核心 6.1-rc6 及更低版本中,x86 KVM 子系統中存在爭用條件,在啟用巢狀虛擬化和 TDP MMU 的情況下,來賓作業系統使用者可藉此造成系統拒絕服務 (主機作業系統當機或主機作業系統記憶體損毀)。(CVE-2022-45869)

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

udf:修正間接範圍邊界的預先配置捨棄 (CVE-2022-48946)

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

igb:初始化信箱訊息以進行 VF 重設 (CVE-2022-48949)

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

perf:修正 perf_pending_task() UaF (CVE-2022-48950)

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

rtc:cmos:修正事件處置程式註冊順序問題 (CVE-2022-48953)

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

ipv6:避免 ip6_fragment() 中的釋放後使用 (CVE-2022-48956)

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

net:mdio:修正 mdio_device_release() 中不平衡的 fwnode 參照計數 (CVE-2022-48961)

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

xen-netfront:修正即時移轉後的 NULL sring (CVE-2022-48969)

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

af_unix:從 unix_diag_get_exact() 中的 in_skb 取得 user_ns。 (CVE-2022-48970)

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

mac802154:修正 ieee802154_if_add() 中遺漏的 INIT_LIST_HEAD (CVE-2022-48972)

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

gpiolib:修正 gpiochip_setup_dev() 中的記憶體洩漏 (CVE-2022-48975)

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

can:af_can:修正 can_rcv_filter 中的 Null 指標解除參照弱點 (CVE-2022-48977)

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

HID:核心:修正 hid_report_raw_event 中的 shift-out-of-bounds (CVE-2022-48978)

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

io_uring:修正 io_tctx_exit_cb() 中的 null-ptr-deref (CVE-2022-48983)

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

mm/gup:修正 dax 的 gup_pud_range() (CVE-2022-48986)

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

memcg:修正 memcg_write_event_control() 中可能的釋放後使用 (CVE-2022-48988)

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

mm/khugepaged:叫用 shmem/file 折疊路徑中的 MMU 通知程式 (CVE-2022-48991)

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

char:tpm:使用鎖定保護 tpm_pm_suspend (CVE-2022-48997)

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

ipv4:當 fib_info 包含 nh 參照時,處理刪除多重路徑路由的嘗試 (CVE-2022-48999)

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

ommu/vt-d:修正 has_external_pci() 中的 PCI 裝置 refcount 洩漏 (CVE-2022-49000)

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

iommu/vt-d:修正 dmar_dev_scope_init() 中的 PCI 裝置 refcount 洩漏 (CVE-2022-49002)

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

nvme:修正 nvme_ns_head 清單的 SRCU 保護 (CVE-2022-49003)

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

riscv:切換前同步 efi 頁面表格的核心對應 (CVE-2022-49004)

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

追踪:移除使用的動態事件時釋放緩衝區 (CVE-2022-49006)

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

sctp:修正 sctp_stream_outq_migrate() 中的記憶體洩漏 (CVE-2022-49013)

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

net:tun:修正 tun_detach() 中的釋放後使用 (CVE-2022-49014)

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

net:hsr:修復潛在的釋放後使用問題 (CVE-2022-49015)

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

net:mdiobus:修正不平衡的節點參照計數 (CVE-2022-49016)

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

net:phy:在 probe() 失敗時修正 null-ptr-deref (CVE-2022-49021)

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

ixgbevf:修正 ixgbevf_init_module() 中的資源洩漏 (CVE-2022-49028)

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

libbpf:處理 ringbuf mmap 的大小溢位 (CVE-2022-49030)

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

btrfs:qgroup:修復 btrfs_qgroup_inherit() 中無效內容錯誤的 Sleep (CVE-2022-49033)

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

ceph解碼 snap 失敗時避免放置領域兩次 (CVE-2022-49770)

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

dm ioctl修正 list_versions 與模組載入爭用時的錯誤行為 (CVE-2022-49771)

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

macvlan強制執行一致的最小 mtu (CVE-2022-49776)

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

kprobes略過在 kprobe-on-ftrace 案例中清除 aggrprobe 的 post_handler (CVE-2022-49779)

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

scsi目標tcm_loop修正 tcm_loop_setup_hba_bus() 中的潛在名稱洩漏 (CVE-2022-49780)

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

perf改善遺漏的 SIGTRAP 檢查 (CVE-2022-49782)

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

misc/vmw_vmci修正 vmci_host_do_receive_datagram() 中的資訊洩漏 (CVE-2022-49788)

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

追踪修正可在事件發生前呼叫 eprobes 的爭用 (CVE-2022-49798)

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

ftrace修正 ftrace_add_mod() 中的 null 指標解除參照 (CVE-2022-49802)

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

drbddrbd_create_device() 中有釋放後使用錯誤 (CVE-2022-49811)

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

bridgeswitchdev修正變更 VLAN 通訊協定時的記憶體洩漏 (CVE-2022-49812)

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

kcm關閉 sk_receive_queue 上的爭用情形 (CVE-2022-49814)

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

cifstlink 設定失敗時修正連線洩漏 (CVE-2022-49822)

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

atalibata-transport修正 ata_tdev_add() 中的錯誤處理 (CVE-2022-49823)

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

atalibata-transport修正 ata_tlink_add() 中的錯誤處理 (CVE-2022-49824)

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

atalibata-transport修正 ata_tport_add() 中的錯誤處理 (CVE-2022-49825)

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

atalibata-transport修正 ata_tport_add() 中的雙重 ata_host_put() (CVE-2022-49826)

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

drm修正 drm_vblank_destroy_worker() 中潛在的 null-ptr-deref (CVE-2022-49827)

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

hugetlbfs不從頁面快取中刪除錯誤頁面 (CVE-2022-49828)

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

drm/drv修正 drm_dev_init() 中的潛在記憶體洩漏 (CVE-2022-49830)

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

pinctrldevicetree修正 pinctrl_dt_to_map 中的 null 指標解除參照 (CVE-2022-49832)

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

bpf修正 __check_func_call 中的記憶體洩漏 (CVE-2022-49837)

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

sctp若目前 msg 的所有 frag 區塊皆刪除則清除 out_curr (CVE-2022-49838)

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

bpf、test_run修正 bpf_prog_test_run_skb() 中的對齊問題 (CVE-2022-49840)

在 Linux 核心的 fs/cifs/connect.c 內的 reconn_set_ipaddr_from_hostname 中發現一個釋放後使用缺陷。(CVE-2023-1195)

在 Linux 核心 6.0.8 中,fs/ntfs3/bitmap.c 的 ntfs_trim_fs 中存在釋放後使用問題。
(CVE-2023-26606)

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

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

解決方案

執行「yum update kernel」以更新系統。

另請參閱

https://alas.aws.amazon.com/AL2/ALASKERNEL-5.15-2023-012.html

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Plugin 詳細資訊

嚴重性: High

ID: 170458

檔案名稱: al2_ALASKERNEL-5_15-2023-012.nasl

版本: 1.17

類型: local

代理程式: unix

已發布: 2023/1/24

已更新: 2025/6/23

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 7.7

時間性分數: 6

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

CVSS 評分資料來源: CVE-2022-3534

CVSS v3

風險因素: High

基本分數: 8

時間性分數: 7.2

媒介: CVSS:3.0/AV:A/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-tools-devel, 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-livepatch-5.15.86-53.137, 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

修補程式發佈日期: 2023/1/18

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

參考資訊

CVE: CVE-2022-3169, CVE-2022-3534, CVE-2022-3643, CVE-2022-4139, CVE-2022-42328, CVE-2022-42329, CVE-2022-4378, CVE-2022-4379, CVE-2022-45869, CVE-2022-48946, CVE-2022-48949, CVE-2022-48950, CVE-2022-48953, CVE-2022-48956, CVE-2022-48961, CVE-2022-48969, CVE-2022-48970, CVE-2022-48972, CVE-2022-48975, CVE-2022-48977, CVE-2022-48978, CVE-2022-48983, CVE-2022-48986, CVE-2022-48988, CVE-2022-48991, CVE-2022-48997, CVE-2022-48999, CVE-2022-49000, CVE-2022-49002, CVE-2022-49003, CVE-2022-49004, CVE-2022-49006, CVE-2022-49013, CVE-2022-49014, CVE-2022-49015, CVE-2022-49016, CVE-2022-49021, CVE-2022-49028, CVE-2022-49030, CVE-2022-49033, CVE-2022-49770, CVE-2022-49771, CVE-2022-49776, CVE-2022-49779, CVE-2022-49780, CVE-2022-49782, CVE-2022-49788, CVE-2022-49798, CVE-2022-49802, CVE-2022-49811, CVE-2022-49812, CVE-2022-49814, CVE-2022-49822, CVE-2022-49823, CVE-2022-49824, CVE-2022-49825, CVE-2022-49826, CVE-2022-49827, CVE-2022-49828, CVE-2022-49830, CVE-2022-49832, CVE-2022-49837, CVE-2022-49838, CVE-2022-49840, CVE-2023-1195, CVE-2023-26606