CentOS Linux 7 [TuxCare] 安全性更新:bpftool / kernel / kernel-debug / kernel-debug-devel / kernel-devel / etc 多個弱點 (CENTOS7:CLSA-2025:1766617167)

high Nessus Plugin ID 361688

概要

CentOS Linux 主機缺少一個或多個安全性更新。

說明

CentOS Linux 7 主機已安裝的套件會受到 TuxCare CENTOS7:CLSA-2025:1766617167 公告中提及的多個弱點影響。

- 在 l2cap_core 的 l2cap_chan_put 中,可能因不當鎖定造成釋放後使用。這可能會導致本機特權提升,且不需額外的執行權限。利用此弱點不需要使用者互動。產品:Android 版本:Android kernel Android ID:A-165329981 參照:
上游核心 (CVE-2022-20566)

- 已解決 Linux 核心中的下列弱點:scsi: target: Fix WRITE_SAME No Data Buffer crash In newer version of the SBC specs, we have a NDOB bit that indicates there is no data buffer that gets written out. If this bit is set using commands like sg_write_same --ndob we will crash in target_core_iblock/file's execute_write_same handlers when we go to access the se_cmd->t_data_sg because its NULL. This patch adds a check for the NDOB bit in the common WRITE SAME code because we don't support it. And, it adds a check for zero SG elements in each handler in case the initiator tries to send a normal WRITE SAME with no data buffer. (CVE-2022-21546)

- Linux PV 裝置前端容易受到後端攻擊 [其 CNA 資訊記錄與多個 CVE 有關;文字說明了哪些方面/弱點對應哪個 CVE。] 數個 Linux PV 裝置前端正在以易受爭用情形影響的方式,使用授權表介面移除後端的存取權,進而可能導致資料洩漏、惡意後端損毀資料以及惡意後端觸發拒絕服務:blkfront、netfront、scsifront 和 gntalloc 驅動程式正在測試授權參照是否仍在使用中。如果情況並非如此,則它們會假設後續每次都能移除授予的存取權;但如果後端已在執行這兩項作業之間對應授權頁面,則此假設不成立。因此,無論前端 I/O 完成後如何使用頁面,後端都可以繼續存取客體的記憶體頁面。
xenbus 驅動程式有一個類似的問題,因為它不會檢查是否成功移除向共用環形緩衝區授予的存取權。blkfront:CVE-2022-23036 netfront:CVE-2022-23037 scsifront:CVE-2022-23038 gntalloc:CVE-2022-23039 xenbus:CVE-2022-23040 blkfront、netfront、scsifront、usbfront、dmabuf、xenbus、9p、kbdfront 和 pvcalls 使用功能延遲釋放授權參照 (直到不再使用這個參照),但相關資料頁面的釋放與刪除授予的存取權並不同步。因此,即使在記憶體頁面被釋放並重新用於其他目的之後,後端仍可繼續存取該頁面。CVE-2022-23041 如果 netfront 無法撤銷 rx 路徑中的存取權,則 BUG_ON() 宣告將失敗。這會導致客體發生拒絕服務 (DoS) 情形,而此情形可能由後端觸發。CVE-2022-23042 (CVE-2022-23042)

- 已解決 Linux 核心中的下列弱點:capabilities: fix undefined behavior in bit shift for CAP_TO_MASK Shifting signed 32-bit value by 31 bits is undefined, so changing significant bit to unsigned. The UBSAN warning calltrace like below: UBSAN: shift-out-of-bounds in security/commoncap.c:1252:2 left shift of 1 by 31 places cannot be represented in type 'int' Call Trace:
<TASK> dump_stack_lvl+0x7d/0xa5 dump_stack+0x15/0x1b ubsan_epilogue+0xe/0x4e
__ubsan_handle_shift_out_of_bounds+0x1e7/0x20c cap_task_prctl+0x561/0x6f0 security_task_prctl+0x5a/0xb0
__x64_sys_prctl+0x61/0x8f0 do_syscall_64+0x58/0x80 entry_SYSCALL_64_after_hwframe+0x63/0xcd </TASK> (CVE-2022-49870)

- 已解決 Linux 核心中的下列弱點:net: mdio: fix undefined behavior in bit shift for __mdiobus_register Shifting signed 32-bit value by 31 bits is undefined, so changing significant bit to unsigned. The UBSAN warning calltrace like below: UBSAN: shift-out-of-bounds in drivers/net/phy/mdio_bus.c:586:27 left shift of 1 by 31 places cannot be represented in type 'int' Call Trace: <TASK> dump_stack_lvl+0x7d/0xa5 dump_stack+0x15/0x1b ubsan_epilogue+0xe/0x4e
__ubsan_handle_shift_out_of_bounds+0x1e7/0x20c __mdiobus_register+0x49d/0x4e0 fixed_mdio_bus_init+0xd8/0x12d do_one_initcall+0x76/0x430 kernel_init_freeable+0x3b3/0x422 kernel_init+0x24/0x1e0 ret_from_fork+0x1f/0x30 </TASK> (CVE-2022-49907)

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

解決方案

根據 TuxCare 公告 CENTOS7:CLSA-2025:1766617167 中的指引更新受影響的套件。

另請參閱

https://cve.tuxcare.com/els/releases/CLSA-2025:1766617167

http://www.nessus.org/u?6e8e781b

Plugin 詳細資訊

嚴重性: High

ID: 361688

檔案名稱: tuxcare_centos_7_CLSA-2025-1766617167.nasl

版本: 1.1

類型: Local

代理程式: unix

已發布: 2026/10/1

已更新: 2026/10/1

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

風險資訊

VPR

風險因素: Medium

分數: 6.9

百分位數: 96.62

Vendor

Vendor Severity: Important

CVSS v2

風險因素: Medium

基本分數: 4.4

時間性分數: 3.4

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

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

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

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

弱點資訊

必要的 KB 項目: Host/OS/extended-third-party, Host/local_checks_enabled, Host/CentOS/release, Host/CentOS/rpm-list

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2025/12/24

弱點發布日期: 2021/7/21

參考資訊

CVE: CVE-2022-20566, CVE-2022-21546, CVE-2022-23042, CVE-2022-48900, CVE-2022-49870, CVE-2022-49907, CVE-2022-49917, CVE-2022-49918, CVE-2022-49948, CVE-2022-50084, CVE-2022-50085, CVE-2022-50252, CVE-2022-50258, CVE-2022-50386, CVE-2022-50408, CVE-2023-52854, CVE-2023-53000, CVE-2023-53117, CVE-2023-53305, CVE-2023-53365, CVE-2023-53373, CVE-2024-2201, CVE-2024-35962, CVE-2024-35967, CVE-2024-38659, CVE-2025-37839, CVE-2025-37882, CVE-2025-38250, CVE-2025-38584, CVE-2025-38718, CVE-2025-39751, CVE-2025-39797, CVE-2025-39965

CLSA: 2025:1766617167