BreachSpiderVerified, not vibes

CVE-2023-54295 in Determine products

No CVSS score published

In the Linux kernel, the following vulnerability has been resolved: mtd: spi-nor: Fix shift-out-of-bounds in spi_nor_set_erase_type spi_nor_set_erase_type() was used either to set or to mask out an erase type. When we used it to mask out an erase type a shift-out-of-bounds was hit: UBSAN: shift-out-of-bounds in dr...

Affects 1 product from 4 vendors. Facts below cite their sources.

EPSS0.3%
EPSS percentile13th
FixUnknown

Affected products and versions

VendorProductAffected versions
Determine — —
Exponent — —
Kernel — —
Linux Linux 4.20

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

In the Linux kernel, the following vulnerability has been resolved: mtd: spi-nor: Fix shift-out-of-bounds in spi_nor_set_erase_type spi_nor_set_erase_type() was used either to set or to mask out an erase type. When we used it to mask out an erase type a shift-out-of-bounds was hit: UBSAN: shift-out-of-bounds in drivers/mtd/spi-nor/core.c:2237:24 shift exponent 4294967295 is too large for 32-bit type 'int' The setting of the size_{shift, mask} and of the opcode are unnecessary when the erase size is zero, as throughout the code just the erase size is considered to determine whether an erase type is supported or not. Setting the opcode to 0xFF was wrong too as nobody guarantees that 0xFF is an unused opcode. Thus when masking out an erase type, just set the erase size to zero. This will fix the shift-out-of-bounds. [ta: refine changes, new commit message, fix compilation error]

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-54295
BreachSpider IDBS-2025-GLOBAL-032569-I
Published2025-12-30
Last modified2026-06-17
SourceNVD

Analysis AI-written, not human-reviewed

A shift-out-of-bounds vulnerability was identified in the spi_nor_set_erase_type function of the Linux kernel's mtd: spi-nor module. This issue could potentially lead to undefined behavior, including system crashes or memory corruption.

The vulnerability arises from an improper handling of the shift operation when masking out an erase type. An attacker with the ability to control the input to the spi_nor_set_erase_type function could exploit this to cause a shift-out-of-bounds error, potentially leading to a denial of service or other unspecified impacts.

Questions

What is CVE-2023-54295?

A shift-out-of-bounds vulnerability was identified in the spi_nor_set_erase_type function of the Linux kernel's mtd: spi-nor module. This issue could potentially lead to undefined behavior, including system crashes or memory corruption.

Is CVE-2023-54295 actively exploited?

No confirmed active exploitation of CVE-2023-54295 as of 2026-09-25.

How do I remediate CVE-2023-54295?

Priority: MEDIUM.

What systems are affected by CVE-2023-54295?

CVE-2023-54295 affects Determine; Exponent; Kernel; Linux Linux.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Determine","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.