VulnerabilityCVE-2023-54295UBUNTU-CVE-2023-54295WID-SEC-W-2025-2941:CVE-2023-54295
mtd: spi-nor: Fix shift-out-of-bounds in spi_nor_set_erase_type
Not on CISA KEV
Summary
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:
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- BSI CERT-Bund Source: BSI CERT-Bund
- CVE List Source: CVE Program (cve.org)
- Red Hat Source: Red Hat Security Data (CC BY 4.0)
- Ubuntu Source: Ubuntu