CVE
CVE-2023-53034
CNA 原文 · 原文(英文)
In the Linux kernel, the following vulnerability has been resolved: ntb_hw_switchtec: Fix shift-out-of-bounds in switchtec_ntb_mw_set_trans There is a kernel API ntb_mw_clear_trans() would pass 0 to both addr and size. This would make xlate_pos negative. [ 23.734156] switchtec switchtec0: MW 0: part 0 addr 0x0000000000000000 size 0x0000000000000000 [ 23.734158] ================================================================================ [ 23.734172] UBSAN: shift-out-of-bounds in drivers/ntb/hw/mscc/ntb_hw_switchtec.c:293:7 [ 23.734418] shift exponent -1 is negative Ensuring xlate_pos is a positive or zero before BIT.
受影响版本
- ≥ 6.14, < 6.14.2修复版本 6.14.2
- ≥ 6.13, < 6.13.11修复版本 6.13.11
- ≥ 6.7, < 6.12.23修复版本 6.12.23
- ≥ 6.2, < 6.6.87修复版本 6.6.87
- ≥ 5.16, < 6.1.134修复版本 6.1.134
- ≥ 5.11, < 5.15.180修复版本 5.15.180
- ≥ 5.5, < 5.10.236修复版本 5.10.236
- ≥ 4.16, < 5.4.292修复版本 5.4.292
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- git.kernel.org/stable/c/0df2e03e4620548b41891b4e0d1bd9d2e0d8a39a · Patch
- git.kernel.org/stable/c/2429bdf26a0f3950fdd996861e9c1a3873af1dbe · Patch
- git.kernel.org/stable/c/36d32cfb00d42e865396424bb5d340fc0a28870d · Patch
- git.kernel.org/stable/c/5b6857bb3bfb0dae17fab1e42c1e82c204a508b1 · Patch
- git.kernel.org/stable/c/7ed22f8d8be26225a78cf5e85b2036421a6bf2d5 · Patch
- git.kernel.org/stable/c/c61a3f2df162ba424be0141649a9ef5f28eaccc1 · Patch
- git.kernel.org/stable/c/cb153bdc1812a3375639ed6ca5f147eaefb65349 · Patch
- git.kernel.org/stable/c/de203da734fae00e75be50220ba5391e7beecdf9 · Patch
- git.kernel.org/stable/c/f56951f211f181410a383d305e8d370993e45294 · Patch
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。