← CVE Intelligence

CVE-2026-68467

mtd: mchp23k256: use SPI match data for chip caps PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 4379075a870b8de43a9ecd5b46884953234fc669 before 2e179b028da9fd628a09286a2c9df4fa076b2cc9; affected 4379075a870b8de43a9ecd5b46884953234fc669 before a0c38083623c8b210a5b87fd34bebd05aa935ae8; affected 4379075a870b8de43a9ecd5b46884953234fc669 before 7c0a3a73dccc9a3fc701f6be762449f18d0ca0fc; affected 4379075a870b8de43a9ecd5b46884953234fc669 before dbe2254d1da99c986f9a3392471fc5eaa3229647; affected 4379075a870b8de43a9ecd5b46884953234fc669 before 04ebd3766861f219325852c9598e0f0281cb3636; affected 4379075a870b8de43a9ecd5b46884953234fc669 before 09e044192a42f716215fbd1a100ee87fa57426aa; affected 4379075a870b8de43a9ecd5b46884953234fc669 before d322e40f4edf92bf0ca329e5aa4ae1c0316feb38
Linux / Linuxaffected 4.13; unaffected 0 before 4.13; unaffected 5.15.212 through 5.15.*; unaffected 6.1.178 through 6.1.*; unaffected 6.6.145 through 6.6.*; unaffected 6.12.97 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through *

CWE

No CWE identifiers supplied.

References