CVEBrief

Home / Linux / Linux / CVE-2023-54295

CVE-2023-54295: is it exploited, and which versions of Linux are affected and fixed?

CVE-2023-54295 is a vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: Linux from 4.20 until the fixed versions (CVE record by Linux). Fixed in 5.10.173, 5.15.99, 6.1.16, 6.2.3 and 1 more (CVE record by Linux).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 28, 2026, 18:38 UTC and NVD November 19, 2026, 07:14 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 16:09 UTC
Affected
Linux from 4.20 until the fixed versions
CVE record by Linux
Fixed in
5.10.173, 5.15.99, 6.1.16, 6.2.3 and 1 more
CVE record by Linux
Exploit odds (EPSS)
0.21% in 30 days
higher than 12% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2023-54295?

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]

From the CVE record by Linux, last updated May 11, 2026, 19:59 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
LinuxLinuxnot stated
LinuxLinuxfrom 4.20 until the fixed versions5.10.173, 5.15.99, 6.1.16, 6.2.3, 6.3

As the CVE record by Linux states it, last updated May 11, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Is CVE-2023-54295 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
0.21% probability of exploitation activity in the next 30 days, percentile 12.4 (FIRST EPSS, scores of December 3, 2026)

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
December 30, 2025
Published
December 30, 2025, 12:23 UTC
CVE record updated
May 11, 2026, 19:59 UTC by Linux
NVD
Deferred, last modified June 17, 2026, 06:47 UTC
Last checked
CVE list November 28, 2026, 18:38 UTC; NVD November 19, 2026, 07:14 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Linux?

Every CVE in Linux

Questions about CVE-2023-54295

Is CVE-2023-54295 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.21% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Linux are affected by CVE-2023-54295?

Linux from 4.20 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.

Which version fixes CVE-2023-54295?

5.10.173, 5.15.99, 6.1.16, 6.2.3 and 6.3, per the CVE record by Linux. Check the vendor's advisory before you rely on it.

Where is the official record of CVE-2023-54295?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.