Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2026-68467

mtd: mchp23k256: use SPI match data for chip caps

Description

In the Linux kernel, the following vulnerability has been resolved: mtd: mchp23k256: use SPI match data for chip caps The driver stores chip capacity information in both the OF match table and the SPI id table. Probe currently uses of_device_get_match_data(), so a non-OF SPI modalias match falls back to mchp23k256_caps even when the SPI id table selected a different part. Use spi_get_device_match_data() so SPI id-table driver_data is consumed when OF match data is absent. This keeps the existing default fallback while avoiding the wrong MTD geometry for id-table-only matches.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 4379075a870b8de43a9ecd5b46884953234fc669 to < 2e179b028da9fd628a09286a2c9df4fa076b2cc9affected
  • 4379075a870b8de43a9ecd5b46884953234fc669 to < a0c38083623c8b210a5b87fd34bebd05aa935ae8affected
  • 4379075a870b8de43a9ecd5b46884953234fc669 to < 7c0a3a73dccc9a3fc701f6be762449f18d0ca0fcaffected
  • 4379075a870b8de43a9ecd5b46884953234fc669 to < dbe2254d1da99c986f9a3392471fc5eaa3229647affected
  • 4379075a870b8de43a9ecd5b46884953234fc669 to < 04ebd3766861f219325852c9598e0f0281cb3636affected
  • 4379075a870b8de43a9ecd5b46884953234fc669 to < 09e044192a42f716215fbd1a100ee87fa57426aaaffected
  • 4379075a870b8de43a9ecd5b46884953234fc669 to < d322e40f4edf92bf0ca329e5aa4ae1c0316feb38affected

Linux Linux

Default version status: affected

  • 4.13affected
  • 0 to < 4.13unaffected
  • 5.15.212 to ≤ 5.15.*unaffected
  • 6.1.178 to ≤ 6.1.*unaffected
  • 6.6.145 to ≤ 6.6.*unaffected
  • 6.12.97 to ≤ 6.12.*unaffected
  • 6.18.40 to ≤ 6.18.*unaffected
  • 7.1.5 to ≤ 7.1.*unaffected
  • 7.2 to ≤ *unaffected

References