Amazon Linux 2023:bpftool、kernel、kernel-devel (ALAS2023-2026-2032)

medium Nessus Plugin ID 332051

概要

遠端 Amazon Linux 2023 主機缺少一個安全性更新。

說明

因此,會受到 ALAS2023-2026-2032 公告中所提及的多個弱點影響。

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

ipv6:在 ip6_output() 中使用 RCU (CVE-2025-40158)

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

xfrm:在原則 netns 結束期間等待 RCU 讀取器 (CVE-2026-43091)

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

net/sched:修正導致頁面快取損毀的 pedit 部分 COW (CVE-2026-46331)

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

ip6_vti:在後援裝置上設定netns_immutable。(CVE-2026-52909)

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

af_unix:拒絕非串流通訊端上的 SIOCATMARK (CVE-2026-52928)

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

sched/psi:修正檔案釋放和壓力寫入 (CVE-2026-52991) 之間的爭用

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

fuse:將FUSE_NOTIFY_RETRIEVE限制為最新的對開本 (CVE-2026-53167)

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

sctp:驗證 cookie (CVE-2026-53224) 中內嵌的 INIT 區塊和位址清單長度

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

sctp:驗證 COOKIE_ECHO 處理中快取的對等 INIT 區塊長度 (CVE-2026-53246)

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

af_unix:在 unix_gc() 中將 gc_in_progress 設為 true。(CVE-2026-53361)

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

virtiofs:修正子掛載 umount 上的 UAF

如果超級區塊已經被破壞,則從 fuse_release_end() 呼叫的 iput() 可以 Oops。通常,這是透過在開始超級區塊關閉之前等待fornum_waiting降至零來防止的。

不過,這僅適用於最後一個子掛載執行個體,因為等候計數器是每個連線,而不是每個超級區塊。

還原為針對auto_submounts情況使用同步釋放要求,目前僅為虛擬狀態。(CVE-2026-53381)

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

vc_screen:在並行vcs_write期間修正 vcs_notifier() 中的 null-ptr-deref

在 vcs_notifier() 中觀察到 KASAN null-ptr-deref:

錯誤:KASAN:vcs_notifier+0x98/0x130 中的 null-ptr-deref 在 addr qmp_cmd_name 處讀取大小為 2:
qmp_capabilities,引數:{}

問題是 vcs_write() 中的爭用情形。當console_lock暫時刪除(以從使用者空間複製資料)時,從vcs_vc()取得的vc_data指標可能會過時。重新取得鎖定後,會再次呼叫 vcs_vc() 以重新驗證指標。如果 vc 在此期間已被解除分配,則 vcs_vc() 傳回 NULL,while 迴圈中斷(寫入的 > 為 0)。不過,在迴圈之後,仍會使用現在為 NULL 的 vc 指標呼叫 vcs_scr_updated(vc),導致通知程式鏈結中出現 NULL 指標解除參照 (vcs_notifier解除參照 param->vc)。

在呼叫 vcs_scr_updated() 之前新增 vc 的 NULL 檢查來修正此問題。(CVE-2026-53385)

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

fuse:取代頁面快取對開本之前的重新鎖定要求

fuse_try_move_folio() 會在進入時解除鎖定要求,但不會在成功路徑上重新鎖定要求。這意味著 fuse_chan_abort() 可以結束請求並釋放fuse_io_args(例如 fuse_readpages_end()),而 fuse_try_move_folio() 存取後的後續複製鏈邏輯thefuse_io_args,從而導致釋放後使用問題。

透過在 replace_page_cache_folio() 之前呼叫 lock_request() 來解決此問題。這可確保要求鎖定在成功路徑上,以防止在稍後的複製邏輯執行時釋放fuse_io_args,並且還可以確保 ap->folios[i]->映射永遠不會為 null,因為 ap->folios[i] 將始終指向 newfolio afterreplace_page_cache_folio()。(CVE-2026-53388)

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

NFSv4/pNFS:拒絕 nfs4_decode_mp_ds_addr (CVE-2026-53391) 中的零長度r_addr

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

nfsd:修正 SETACL 解碼失敗時的posix_acl洩露 (CVE-2026-53397)

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

NFSD:修正SECINFO_NO_NAME解碼錯誤清除 (CVE-2026-53398)

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

fbdev:修正 fb_new_modelist 以防止 fb_videomode_to_var 中的 null-ptr-deref

info->var 是 framebuffer 的目前模式,在 info->modelist 中應該有一個 matchingentry。
var_to_display() 依賴這一點,並將失敗的 fb_match_mode() 視為不應該發生這種情況。
fb_set_var() 透過在每次變更時將模式新增至清單來保持 true,anddo_register_framebuffer() 在註冊時也會執行相同的操作。

store_modes() 取代了使用者空間中的模式清單。fb_new_modelist()會驗證新模式,但不會檢查 info->var 是否仍然具有 amatch。它依賴 fbcon_new_modelist() 重新指向控制台,但這僅處理映射到幀緩衝區的控制台。如果 fbcon 未綁定,就沒有了,所以 info->var 只剩下描述一個不再在清單中的模式。

稍後的主控台接管會執行 var_to_display(),其中 fb_match_mode() 傳回 NULL 並將 fb_display[i].mode 保留為 NULL。fbcon_switch() 將其傳遞給 display_to_var(),fb_videomode_to_var() 解除參照 NULL 模式。

在 fb_new_modelist() 中保留清單中的目前模式,wayfb_set_var() 也是如此。(CVE-2026-53403)

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

pNFS:修正 pnfs_update_layout() 中的釋放後使用 (CVE-2026-63800)

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

tipc:修正 tipc_aead_decrypt_done (CVE-2026-63801) 中的 slab-use-after-free Read

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

KVM:x86/mmu:在檢查最大對應層級 () 之前,請確定 hugepage 已依插槽進入 (CVE-2026-63807)

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

exfat:修正 exfat_find_dir_entry() 中潛在的釋放後使用 (CVE-2026-63808)

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

bpf:將 kvfree() 用於已替換的 sysctl 寫入緩衝區 (CVE-2026-63809)

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

keys:在實例路徑中釘選request_key_auth負載 (CVE-2026-63823)

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

KEYS:修正 keyctl_pkey_params_get_2()CVE-2026-63824 () 中的溢位

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

net: skmsg:跨 SG 轉換保留 sg.copy (CVE-2026-63830)

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

ntfs3:拒絕直接使用者空間寫入保留 $LX的 * xattrs

NTFS3 使用 $LXUID、 $LXGID和 $LXDEV 作為$LXMOD內部 WSLpermission 中繼資料,並將它們重新載入到 i_uid、i_gid 和 i_modefrom ntfs_get_wsl_perm() 中。

由於空前綴 xattr 處理常式還允許檔案所有者直接在這些名稱上呼叫 setxattr(),因此 awritable ntfs3 掛載上的無權限寫入器可以在自己的檔案上植入根所有權和S_ISUID,並在 inode 重新載入後獲得 euid 0。

拒絕直接使用者空間寫入保留 $LX的 * 名稱。Internalntfs3 中繼資料更新不會變更,因為 ntfs_save_wsl_perm() 會直接透過 ntfs_set_ea() 寫入這些更新。

[[email protected]:新增了針對非特權使用者的額外檢查](CVE-2026-63833)

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

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

解決方案

執行「dnf update kernel --releasever 2023.12.20260803」或「dnf update --advisory ALAS2023-2026-2032 --releasever 2023.12.20260803」以更新您的系統。

另請參閱

https://alas.aws.amazon.com//AL2023/ALAS2023-2026-2032.html

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

https://explore.alas.aws.amazon.com/CVE-2025-40158.html

https://explore.alas.aws.amazon.com/CVE-2026-43091.html

https://explore.alas.aws.amazon.com/CVE-2026-46331.html

https://explore.alas.aws.amazon.com/CVE-2026-52909.html

https://explore.alas.aws.amazon.com/CVE-2026-52928.html

https://explore.alas.aws.amazon.com/CVE-2026-52991.html

https://explore.alas.aws.amazon.com/CVE-2026-53167.html

https://explore.alas.aws.amazon.com/CVE-2026-53224.html

https://explore.alas.aws.amazon.com/CVE-2026-53246.html

https://explore.alas.aws.amazon.com/CVE-2026-53361.html

https://explore.alas.aws.amazon.com/CVE-2026-53381.html

https://explore.alas.aws.amazon.com/CVE-2026-53385.html

https://explore.alas.aws.amazon.com/CVE-2026-53388.html

https://explore.alas.aws.amazon.com/CVE-2026-53391.html

https://explore.alas.aws.amazon.com/CVE-2026-53397.html

https://explore.alas.aws.amazon.com/CVE-2026-53398.html

https://explore.alas.aws.amazon.com/CVE-2026-53403.html

https://explore.alas.aws.amazon.com/CVE-2026-63800.html

https://explore.alas.aws.amazon.com/CVE-2026-63801.html

https://explore.alas.aws.amazon.com/CVE-2026-63807.html

https://explore.alas.aws.amazon.com/CVE-2026-63808.html

https://explore.alas.aws.amazon.com/CVE-2026-63809.html

https://explore.alas.aws.amazon.com/CVE-2026-63823.html

https://explore.alas.aws.amazon.com/CVE-2026-63824.html

https://explore.alas.aws.amazon.com/CVE-2026-63830.html

https://explore.alas.aws.amazon.com/CVE-2026-63833.html

Plugin 詳細資訊

嚴重性: Medium

ID: 332051

檔案名稱: al2023_ALAS2023-2026-2032.nasl

版本: 1.4

類型: Local

代理程式: unix

已發布: 2026/8/4

已更新: 2026/8/13

支援的感應器: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security, Nessus

風險資訊

VPR

風險因素: High

分數: 7.9

百分位數: 99.36

CVSS v2

風險因素: Medium

基本分數: 4.6

時間性分數: 3.6

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

CVSS 評分資料來源: CVE-2026-53403

CVSS v3

風險因素: Medium

基本分數: 5.5

時間性分數: 5

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

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

弱點資訊

CPE: cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:bpftool-debuginfo, p-cpe:/a:amazon:linux:bpftool, p-cpe:/a:amazon:linux:kernel-debuginfo-common-aarch64, p-cpe:/a:amazon:linux:kernel-debuginfo-common-x86_64, p-cpe:/a:amazon:linux:kernel-debuginfo, p-cpe:/a:amazon:linux:kernel-devel, p-cpe:/a:amazon:linux:kernel-headers, p-cpe:/a:amazon:linux:kernel-livepatch-6.1.177-224.371, p-cpe:/a:amazon:linux:kernel-modules-extra-common, p-cpe:/a:amazon:linux:kernel-modules-extra, p-cpe:/a:amazon:linux:kernel-tools-debuginfo, p-cpe:/a:amazon:linux:kernel-tools-devel, p-cpe:/a:amazon:linux:kernel-tools, p-cpe:/a:amazon:linux:kernel, p-cpe:/a:amazon:linux:perf-debuginfo, p-cpe:/a:amazon:linux:perf, p-cpe:/a:amazon:linux:python3-perf-debuginfo, p-cpe:/a:amazon:linux:python3-perf

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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2026/8/4

弱點發布日期: 2026/6/22

參考資訊

CVE: CVE-2025-40158, CVE-2026-43091, CVE-2026-46331, CVE-2026-52909, CVE-2026-52928, CVE-2026-52991, CVE-2026-53167, CVE-2026-53224, CVE-2026-53246, CVE-2026-53361, CVE-2026-53381, CVE-2026-53385, CVE-2026-53388, CVE-2026-53391, CVE-2026-53397, CVE-2026-53398, CVE-2026-53403, CVE-2026-63800, CVE-2026-63801, CVE-2026-63807, CVE-2026-63808, CVE-2026-63809, CVE-2026-63823, CVE-2026-63824, CVE-2026-63830, CVE-2026-63833