Linux Distros 未修補的弱點:CVE-2026-46242

critical Nessus Plugin ID 318062

概要

Linux/Unix 主機上安裝的一個或多個套件存有弱點,廠商表示將不會修補。

說明

Linux/Unix 主機上安裝了一個或多個受到弱點影響的套件,且供應商未提供可用的修補程式。

- eventpoll:修正ep_remove結構 eventpoll / 結構檔案 UAF ep_remove() (透過 ep_remove_file()) 清除 file->f_lock 下的 file->f_ep,但隨後繼續在關鍵區段內使用 @file (is_file_epoll(),hlist_del_rcu() 通過頭部,spin_unlock)。在該視窗中採用 eventpoll_release() 快速路徑的並行 __fput() 觀察到暫時性 NULL,跳過 eventpoll_release_file() 並執行至 f_op->release / file_free()。對於 epoll-watches-epoll 案例,f_op->release 是 ep_eventpoll_release() -> ep_clear_and_put() -> ep_free(),其中 kfree() 會監視結構 eventpoll。它嵌入的 ->refs hlist_head正是 epi->fllink.pprev 指向的位置,因此後續的 hlist_del_rcu() 的 *pprev = next 會潦草地寫到釋放的 kmalloc-192 記憶體中。此外,結構檔案是SLAB_TYPESAFE_BY_RCU的,因此插槽備份@file可以由 alloc_empty_file() 回收 -- 重新初始化 f_lock 和 f_ep -- 而 ep_remove() 名義上仍位於該鎖內。結果是攻擊者可控制的針對錯誤的 slab 快取的 kmem_cache_free()。透過 ep_remove() 頂部的 epi_fget() 引腳@file,並閘極成功引腳上的關鍵部分。保留引腳時,@file無法達到參照計數零,這會使 __fput() 關閉並轉移地使受監視的結構 eventpoll 在 hlist_del_rcu() 和 f_lock 使用中保持活動狀態,從而關閉兩個 UAF。如果引腳發生故障,@file已經達到參照計數零,並且其 __fput() 正在飛行中。因為我們在清除f_ep之前就放棄了,所以該路徑採用 eventpoll_release() 慢速路徑進入 eventpoll_release_file(),並在 ep->mtx 上阻塞,直到服務員端的 ep_clear_and_put() 刪除它。保釋的 epi 在 ep->refcount 中的份額保持不變,因此 ep_clear_and_put() 中的尾端 ep_refcount_dec_and_test() 無法將 eventpoll 從 eventpoll_release_file() 下釋放出來;然後,孤立的 EPI 會在那裡被清理。成功的 pin 也證明我們沒有在這個 epi 上進行 eventpoll_release_file() 的比賽,所以放棄現在多餘的 epi->dying under f_lock 的重新檢查。廉價的無鎖READ_ONCE(epi->垂死)快速救助仍然存在。(CVE-2026-46242)

請注意,Nessus 的判定取決於廠商所報告的套件是否存在。

解決方案

目前尚未有已知的解決方案。

另請參閱

https://security-tracker.debian.org/tracker/CVE-2026-46242

Plugin 詳細資訊

嚴重性: Critical

ID: 318062

檔案名稱: unpatched_CVE_2026_46242.nasl

版本: 1.1

類型: Local

代理程式: unix

系列: Misc.

已發布: 2026/5/30

已更新: 2026/5/30

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 7.5

時間性分數: 6.4

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

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

CVSS v3

風險因素: Critical

基本分數: 9.8

時間性分數: 9

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

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

弱點資訊

CPE: p-cpe:/a:debian:debian_linux:linux, cpe:/o:debian:debian_linux:14.0, cpe:/o:debian:debian_linux:13.0

必要的 KB 項目: Host/local_checks_enabled, Host/cpu, global_settings/vendor_unpatched, Host/OS/identifier

可輕鬆利用: No known exploits are available

弱點發布日期: 2026/5/30

參考資訊

CVE: CVE-2026-46242