CVE-2023-53034

ntb_hw_switchtec: Fix shift-out-of-bounds in switchtec_ntb_mw_set_trans

HIGH
7.1
CVSS Score
Published: April 16, 2025 at 02:11 PM UTC
Updated: August 5, 2026 at 10:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.16 ≤ v < 5.10.2364.16 ≤ v < 5.15.1804.16 ≤ v < 5.4.2924.16 ≤ v < 6.1.1344.16 ≤ v < 6.12.234.16 ≤ v < 6.13.114.16 ≤ v < 6.14.24.16 ≤ v < 6.154.16 ≤ v < 6.6.875.11 ≤ v < 5.15.1805.16 ≤ v < 6.1.1345.5 ≤ v < 5.10.2366.13 ≤ v < 6.13.116.14 ≤ v < 6.14.26.2 ≤ v < 6.6.876.7 ≤ v < 6.12.231e2fd202f8593985cdadca32e0c322f98e7fe7cb4.16
Vendor states this is fixed in 0df2e03e4620548b41891b4e0d1bd9d2e0d8a39a (fixed)
Vendor states this is fixed in 2429bdf26a0f3950fdd996861e9c1a3873af1dbe (fixed)
Vendor states this is fixed in 36d32cfb00d42e865396424bb5d340fc0a28870d (fixed)
Vendor states this is fixed in 5b6857bb3bfb0dae17fab1e42c1e82c204a508b1 (fixed)
Vendor states this is fixed in 7ed22f8d8be26225a78cf5e85b2036421a6bf2d5 (fixed)
Vendor states this is fixed in c61a3f2df162ba424be0141649a9ef5f28eaccc1 (fixed)
Vendor states this is fixed in cb153bdc1812a3375639ed6ca5f147eaefb65349 (fixed)
Vendor states this is fixed in de203da734fae00e75be50220ba5391e7beecdf9 (fixed)
Vendor states this is fixed in f56951f211f181410a383d305e8d370993e45294 (fixed)
Vendor states this is fixed in 4.16 (unaffected)
Vendor states this is fixed in 5.10.236 (unaffected)
Vendor states this is fixed in 5.15.180 (unaffected)
Vendor states this is fixed in 5.4.292 (unaffected)
Vendor states this is fixed in 6.1.134 (unaffected)
Vendor states this is fixed in 6.12.23 (unaffected)
Vendor states this is fixed in 6.13.11 (unaffected)
Vendor states this is fixed in 6.14.2 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.87 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0df2e03e4620548b41891b4e0d1bd9d2e0d8a39a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2429bdf26a0f3950fdd996861e9c1a3873af1dbe
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/36d32cfb00d42e865396424bb5d340fc0a28870d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5b6857bb3bfb0dae17fab1e42c1e82c204a508b1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7ed22f8d8be26225a78cf5e85b2036421a6bf2d5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c61a3f2df162ba424be0141649a9ef5f28eaccc1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cb153bdc1812a3375639ed6ca5f147eaefb65349
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/de203da734fae00e75be50220ba5391e7beecdf9

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.1HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card