Amazon Linux 2:kernel (ALASKERNEL-5.10-2024-068)

high Nessus Plugin ID 205698

概要

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

說明

遠端主機上安裝的核心版本早於 5.10.215-203.850。因此,會受到 ALAS2KERNEL-5.10-2024-068 公告中所提及的多個弱點影響。

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

block:新增分割區長度必須與區塊大小對齊的檢查

在呼叫新增分割區或調整分割區大小前,沒有檢查長度是否與邏輯區塊大小對齊。若磁碟的邏輯區塊大小大於 512 位元組,則磁碟分割大小可能不是邏輯區塊大小的倍數。此外,讀取最後一個磁區時,bio_truncate() 會調整 bio 大小,若讀取命令的大小小於邏輯區塊的大小,則會導致 IO 错误。若支援完整性資料,這還將導致呼叫 bio_integrity_free 時發生 Null 指標解除參照。(CVE-2023-52458)

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

x86/srso:新增 Hygon 處理器的 SRSO 緩解措施 (CVE-2023-52482)

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

netfilter:nf_tables:不允許匿名集逾時 (CVE-2023-52620)

在 6.7.4 及之前版本的 Linux 核心中,drivers/mtd/ubi/vtbl.c 中的 create_empty_lvol 可嘗試配置零位元組並當機,因缺少對 ubi->leb_size 的檢查所致。(CVE-2024-25739)

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

netfilter:nf_tables:不允許帶逾時標記的匿名集合 (CVE-2024-26642)

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

netfilter:nf_tables:以逾時解除系結匿名集時,將集合標記為無作用 (CVE-2024-26643)

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

vfio/pci:鎖定外部 INTx 遮罩作業 (CVE-2024-26810)

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

vfio/pci:建立持續的 INTx 處置程式 (CVE-2024-26812)

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

vfio/platform:建立持續的 IRQ 處置程式 (CVE-2024-26813)

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

netfilter:nf_tables:從中止路徑釋放 nft_gc_seq_end 後的互斥

在 nft_gc_seq_begin() 和 nft_gc_seq_end() 之間的關鍵區段期間,不應釋放認可互斥,否則,async GCworker 可能會收集過期的物件,並在相同的 GC 序列中取得已釋放的認可鎖定。

nf_tables_module_autoload() 會暫時將互斥釋放至 loadmodule 相依性,然後返回以再次重播交易。在呼叫 nft_gc_seq_end() 之後,於中止階段結束時移動它。
(CVE-2024-26925)

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

scsi:qla2xxx:修復拔除纜線時的命令排清問題 (CVE-2024-26931)

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

USB:core:修正 usb_deauthorize_interface() 中的鎖死 (CVE-2024-26934)

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

scsi:核心:修正未移除的 procfs 主機目錄迴歸 (CVE-2024-26935)

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

drm/i915/gt:停放時重設 queue_priority_hint (CVE-2024-26937)

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

wireguard:netlink:透過 ctx 而非對等存取裝置 (CVE-2024-26950)

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

wireguard:netlink:透過 is_dead 而非空白清單檢查對等懸置 (CVE-2024-26951)

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

nilfs2:防止 submit_bh_wbc() 發生核心錯誤 (CVE-2024-26955)

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

nilfs2:修復無法在 btree 和直接對應中偵測到 DAT 損毀的問題 (CVE-2024-26956)

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

nfs:修正直接寫入中的 UAF (CVE-2024-26958)

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

mm:swap:修正 free_swap_and_cache() 和 swapoff() 之間的爭用 (CVE-2024-26960)

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

mac802154:修復 mac802154_llsec_key_del 中的 llsec 金鑰資源版本 (CVE-2024-26961)

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

fat:修正過時 filehandles 中的未初始化欄位 (CVE-2024-26973)

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

KVM:vCPU 遭到破壞時一律排清 async #PF 工作佇列 (CVE-2024-26976)

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

USB:usb-storage:防止 isd200_ata_command 中發生除以 0 錯誤 (CVE-2024-27059)

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

vfio/pci:停用獨占 INTx IRQ 的自動啟用 (CVE-2024-27437)

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

KVM:SVM:排清 kvm->lock 下的頁面,以修正 svm_register_enc_region() 中的 UAF (CVE-2024-35791)

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

dm 快照:修復 dm_exception_table_exit 中的鎖定問題 (CVE-2024-35805)

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

PCI/PM:移除驅動程式前耗盡 runtime-idle 回呼 (CVE-2024-35809)

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

mmc:core:避免使用負數索引存取陣列 (CVE-2024-35813)

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

fs/aio:檢查結構 aio_kiocb 轉換前的 IOCB_AIO_RW (CVE-2024-35815)

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

vt:修正刪除字元時發生 unicode 緩衝區損毀 (CVE-2024-35823)

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

udp:不接受通道中的非通道 GSO skbs 登錄 (CVE-2024-35884)

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

erspan:確認 skb->head 中存在 erspan_base_hdr (CVE-2024-35888)

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

bpf、sockmap防止對應刪除元素中發生鎖定反轉鎖死 (CVE-2024-35895)

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

netfilter:驗證使用者輸入的預期長度 (CVE-2024-35896)

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

netfilter:nf_tables:捨棄具有擱置 basechain 刪除功能的表格旗標更新 (CVE-2024-35897)

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

netfilternf_tables在 exit_net 釋放前排清擱置的破壞工作 (CVE-2024-35899)

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

netfilternf_tables拒絕表格旗標更新後的新 basechain (CVE-2024-35900)

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

net/rds修正可能的 cp null 解除參照 (CVE-2024-35902)

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

tcp:正確終止核心通訊端的計時器 (CVE-2024-35910)

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

block:防止 blk_rq_stat_sum() 中發生除以零錯誤 (CVE-2024-35925)

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

scsi:lpfc:修正 lpfc_rcv_padisc() 中可能存在的記憶體流失問題 (CVE-2024-35930)

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

btrfssend處理標頭 iterate_inode_ref() 中的路徑參照反向溢位 (CVE-2024-35935)

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

btrfs處理 btrfs_relocate_sys_chunks() 中的區塊樹狀結構查閱錯誤 (CVE-2024-35936)

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

VMCI:修正 dg_dispatch_as_host() 中的 memcpy() 執行時間警告 (CVE-2024-35944)

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

i40e:修復此函式警告中可能使用未初始化的 vf 的問題 (CVE-2024-36020)

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

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

解決方案

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

另請參閱

https://alas.aws.amazon.com/AL2/ALASKERNEL-5.10-2024-068.html

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

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

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

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

https://alas.aws.amazon.com/cve/html/CVE-2024-25739.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26642.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26643.html

https://alas.aws.amazon.com/cve/html/CVE-2024-27059.html

https://alas.aws.amazon.com/cve/html/CVE-2024-27437.html

https://alas.aws.amazon.com/cve/html/CVE-2024-35791.html

https://alas.aws.amazon.com/cve/html/CVE-2024-35805.html

https://alas.aws.amazon.com/cve/html/CVE-2024-35809.html

https://alas.aws.amazon.com/cve/html/CVE-2024-35813.html

https://alas.aws.amazon.com/cve/html/CVE-2024-35815.html

https://alas.aws.amazon.com/cve/html/CVE-2024-35823.html

https://alas.aws.amazon.com/cve/html/CVE-2024-35884.html

https://alas.aws.amazon.com/cve/html/CVE-2024-35888.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26810.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26812.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26813.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26925.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26931.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26934.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26935.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26937.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26950.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26951.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26955.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26956.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26958.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26960.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26961.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26973.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26976.html

https://alas.aws.amazon.com/cve/html/CVE-2024-35895.html

https://alas.aws.amazon.com/cve/html/CVE-2024-35896.html

https://alas.aws.amazon.com/cve/html/CVE-2024-35897.html

https://alas.aws.amazon.com/cve/html/CVE-2024-35899.html

https://alas.aws.amazon.com/cve/html/CVE-2024-35900.html

https://alas.aws.amazon.com/cve/html/CVE-2024-35902.html

https://alas.aws.amazon.com/cve/html/CVE-2024-35910.html

https://alas.aws.amazon.com/cve/html/CVE-2024-35925.html

https://alas.aws.amazon.com/cve/html/CVE-2024-35930.html

https://alas.aws.amazon.com/cve/html/CVE-2024-35935.html

https://alas.aws.amazon.com/cve/html/CVE-2024-35936.html

https://alas.aws.amazon.com/cve/html/CVE-2024-35944.html

https://alas.aws.amazon.com/cve/html/CVE-2024-36020.html

Plugin 詳細資訊

嚴重性: High

ID: 205698

檔案名稱: al2_ALASKERNEL-5_10-2024-068.nasl

版本: 1.5

類型: local

代理程式: unix

已發布: 2024/8/17

已更新: 2025/5/22

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: Medium

基本分數: 6.8

時間性分數: 5

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

CVSS 評分資料來源: CVE-2024-26961

CVSS v3

風險因素: High

基本分數: 7.8

時間性分數: 6.8

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

時間媒介: CVSS:3.0/E:U/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-livepatch-5.10.215-203.850, 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

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2024/8/1

弱點發布日期: 2024/5/1

參考資訊

CVE: CVE-2023-52458, CVE-2023-52482, CVE-2023-52620, CVE-2024-25739, CVE-2024-26642, CVE-2024-26643, CVE-2024-26810, CVE-2024-26812, CVE-2024-26813, CVE-2024-26925, CVE-2024-26931, CVE-2024-26934, CVE-2024-26935, CVE-2024-26937, CVE-2024-26950, CVE-2024-26951, CVE-2024-26955, CVE-2024-26956, CVE-2024-26958, CVE-2024-26960, CVE-2024-26961, CVE-2024-26973, CVE-2024-26976, CVE-2024-27059, CVE-2024-27437, CVE-2024-35791, CVE-2024-35805, CVE-2024-35809, CVE-2024-35813, CVE-2024-35815, CVE-2024-35823, CVE-2024-35884, CVE-2024-35888, CVE-2024-35895, CVE-2024-35896, CVE-2024-35897, CVE-2024-35899, CVE-2024-35900, CVE-2024-35902, CVE-2024-35910, CVE-2024-35925, CVE-2024-35930, CVE-2024-35935, CVE-2024-35936, CVE-2024-35944, CVE-2024-36020