Dismissed
(max. allowed matches exceeded)
Activity log
- Created & dismissed (max. allowed matches exceeded) suggestion
mtd: mchp23k256: use SPI match data for chip caps
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.
References
Affected products
Linux
- =<6.6.*
- ==4.13
- =<*
- <7c0a3a73dccc9a3fc701f6be762449f18d0ca0fc
- <dbe2254d1da99c986f9a3392471fc5eaa3229647
- <09e044192a42f716215fbd1a100ee87fa57426aa
- =<6.18.*
- =<6.12.*
- <d322e40f4edf92bf0ca329e5aa4ae1c0316feb38
- =<7.1.*
- <2e179b028da9fd628a09286a2c9df4fa076b2cc9
- =<5.15.*
- <a0c38083623c8b210a5b87fd34bebd05aa935ae8
- <04ebd3766861f219325852c9598e0f0281cb3636
- <4.13
- =<6.1.*