CVE-2023-53034
ntb_hw_switchtec: Fix shift-out-of-bounds in switchtec_ntb_mw_set_trans
Check your servers for CVE-2023-53034
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53034 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
- Attack vector
- adjacent: the attacker has to be on the same local network or link
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality low, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.30%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 24.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Jun 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, before f56951f211f181410a383d305e8d370993e45294 affected from 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, before 5b6857bb3bfb0dae17fab1e42c1e82c204a508b1 affected from 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, before 2429bdf26a0f3950fdd996861e9c1a3873af1dbe affected from 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, before 7ed22f8d8be26225a78cf5e85b2036421a6bf2d5 affected from 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, before c61a3f2df162ba424be0141649a9ef5f28eaccc1 affected from 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, before cb153bdc1812a3375639ed6ca5f147eaefb65349 affected from 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, before 36d32cfb00d42e865396424bb5d340fc0a28870d affected from 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, before 0df2e03e4620548b41891b4e0d1bd9d2e0d8a39a affected from 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, before de203da734fae00e75be50220ba5391e7beecdf9
Other versions: unaffected
|
| Linux |
affected 4.16 unaffected before 4.16 unaffected from 5.4.292 up to and including 5.4.* unaffected from 5.10.236 up to and including 5.10.* unaffected from 5.15.180 up to and including 5.15.* unaffected from 6.1.134 up to and including 6.1.* unaffected from 6.6.87 up to and including 6.6.* unaffected from 6.12.23 up to and including 6.12.* unaffected from 6.13.11 up to and including 6.13.* unaffected from 6.14.2 up to and including 6.14.* unaffected 6.15 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53034 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53034
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-53034
trivy image --scanners vuln IMAGE | grep CVE-2023-53034
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/f56951f211f181410a383d305e8d370993e45294 git.kernel.org
- https://git.kernel.org/stable/c/5b6857bb3bfb0dae17fab1e42c1e82c204a508b1 git.kernel.org
- https://git.kernel.org/stable/c/2429bdf26a0f3950fdd996861e9c1a3873af1dbe git.kernel.org
- https://git.kernel.org/stable/c/7ed22f8d8be26225a78cf5e85b2036421a6bf2d5 git.kernel.org
- https://git.kernel.org/stable/c/c61a3f2df162ba424be0141649a9ef5f28eaccc1 git.kernel.org
- https://git.kernel.org/stable/c/cb153bdc1812a3375639ed6ca5f147eaefb65349 git.kernel.org
- https://git.kernel.org/stable/c/36d32cfb00d42e865396424bb5d340fc0a28870d git.kernel.org
- https://git.kernel.org/stable/c/0df2e03e4620548b41891b4e0d1bd9d2e0d8a39a git.kernel.org
- https://git.kernel.org/stable/c/de203da734fae00e75be50220ba5391e7beecdf9 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html lists.debian.org
Source: the record CVE-2023-53034 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse