CVE-2023-53034
ntb_hw_switchtec: Fix shift-out-of-bounds in switchtec_ntb_mw_set_trans
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < f56951f211f181410a383d305e8d370993e45294; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 5b6857bb3bfb0dae17fab1e42c1e82c204a508b1; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 2429bdf26a0f3950fdd996861e9c1a3873af1dbe; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 7ed22f8d8be26225a78cf5e85b2036421a6bf2d5; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < c61a3f2df162ba424be0141649a9ef5f28eaccc1; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < cb153bdc1812a3375639ed6ca5f147eaefb65349; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 36d32cfb00d42e865396424bb5d340fc0a28870d; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 0df2e03e4620548b41891b4e0d1bd9d2e0d8a39a; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < de203da734fae00e75be50220ba5391e7beecdf9
- Anyone running Linux 4.16
Vulnerability facts
- Affected
- Linux >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < f56951f211f181410a383d305e8d370993e45294; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 5b6857bb3bfb0dae17fab1e42c1e82c204a508b1; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 2429bdf26a0f3950fdd996861e9c1a3873af1dbe; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 7ed22f8d8be26225a78cf5e85b2036421a6bf2d5; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < c61a3f2df162ba424be0141649a9ef5f28eaccc1; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < cb153bdc1812a3375639ed6ca5f147eaefb65349; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 36d32cfb00d42e865396424bb5d340fc0a28870d; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 0df2e03e4620548b41891b4e0d1bd9d2e0d8a39a; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < de203da734fae00e75be50220ba5391e7beecdf9; Linux 4.16
- Fixed in
- Linux 5b6857bb3bfb0dae17fab1e42c1e82c204a508b1, Linux 2429bdf26a0f3950fdd996861e9c1a3873af1dbe, Linux 7ed22f8d8be26225a78cf5e85b2036421a6bf2d5, Linux 36d32cfb00d42e865396424bb5d340fc0a28870d, Linux 0df2e03e4620548b41891b4e0d1bd9d2e0d8a39a
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Adjacent network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.39% chance of exploitation in 30 days (percentile 25, 2026-11-26)
- CWE
- CWE-125
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < f56951f211f181410a383d305e8d370993e45294; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 5b6857bb3bfb0dae17fab1e42c1e82c204a508b1; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 2429bdf26a0f3950fdd996861e9c1a3873af1dbe; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 7ed22f8d8be26225a78cf5e85b2036421a6bf2d5; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < c61a3f2df162ba424be0141649a9ef5f28eaccc1; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < cb153bdc1812a3375639ed6ca5f147eaefb65349; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 36d32cfb00d42e865396424bb5d340fc0a28870d; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 0df2e03e4620548b41891b4e0d1bd9d2e0d8a39a; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < de203da734fae00e75be50220ba5391e7beecdf9 | — | cvelist |
| Linux | 4.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-53034. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53034.md Affected: Linux >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < f56951f211f181410a383d305e8d370993e45294; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 5b6857bb3bfb0dae17fab1e42c1e82c204a508b1; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 2429bdf26a0f3950fdd996861e9c1a3873af1dbe; >= 1e2fd202f8593985cdadca3… Fixed in: Linux 5b6857bb3bfb0dae17fab1e42c1e82c204a508b1, Linux 2429bdf26a0f3950fdd996861e9c1a3873af1dbe, Linux 7ed22f8d8be26225a78cf5e85b2036421a6bf2d5, Linux 36d32cfb00d42e865396424bb5d340fc0a28870d, Linux 0df2e03e4620548b41891b4e0d1bd9d2e0d8a39a Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/f56951f211f181410a383d305e8d370993e45294
- https://git.kernel.org/stable/c/5b6857bb3bfb0dae17fab1e42c1e82c204a508b1
- https://git.kernel.org/stable/c/2429bdf26a0f3950fdd996861e9c1a3873af1dbe
- https://git.kernel.org/stable/c/7ed22f8d8be26225a78cf5e85b2036421a6bf2d5
- https://git.kernel.org/stable/c/c61a3f2df162ba424be0141649a9ef5f28eaccc1
- https://git.kernel.org/stable/c/cb153bdc1812a3375639ed6ca5f147eaefb65349
- https://git.kernel.org/stable/c/36d32cfb00d42e865396424bb5d340fc0a28870d
- https://git.kernel.org/stable/c/0df2e03e4620548b41891b4e0d1bd9d2e0d8a39a
- https://git.kernel.org/stable/c/de203da734fae00e75be50220ba5391e7beecdf9
FAQ
Is CVE-2023-53034 being exploited?
There is no confirmed exploitation: CVE-2023-53034 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.39% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53034?
High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-53034?
Linux >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < f56951f211f181410a383d305e8d370993e45294; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 5b6857bb3bfb0dae17fab1e42c1e82c204a508b1; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 2429bdf26a0f3950fdd996861e9c1a3873af1dbe; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 7ed22f8d8be26225a78cf5e85b2036421a6bf2d5; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < c61a3f2df162ba424be0141649a9ef5f28eaccc1; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < cb153bdc1812a3375639ed6ca5f147eaefb65349; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 36d32cfb00d42e865396424bb5d340fc0a28870d; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < 0df2e03e4620548b41891b4e0d1bd9d2e0d8a39a; >= 1e2fd202f8593985cdadca32e0c322f98e7fe7cb, < de203da734fae00e75be50220ba5391e7beecdf9; Linux 4.16.
Is there a fix for CVE-2023-53034?
Yes. Fixed in Linux 5b6857bb3bfb0dae17fab1e42c1e82c204a508b1, Linux 2429bdf26a0f3950fdd996861e9c1a3873af1dbe, Linux 7ed22f8d8be26225a78cf5e85b2036421a6bf2d5, Linux 36d32cfb00d42e865396424bb5d340fc0a28870d, Linux 0df2e03e4620548b41891b4e0d1bd9d2e0d8a39a. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-53034?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.