mtd: mchp23k256: use SPI match data for chip caps
21Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 7.8epss 0.1%
probabilidade de exploração
0.1%top 97% das CVEs
exploração observada
nãonenhuma fonte reporta
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Produtos afetados
Linux · LinuxReferências
https://git.kernel.org/stable/c/04ebd3766861f219325852c9598e0f0281cb3636https://git.kernel.org/stable/c/09e044192a42f716215fbd1a100ee87fa57426aahttps://git.kernel.org/stable/c/2e179b028da9fd628a09286a2c9df4fa076b2cc9https://git.kernel.org/stable/c/7c0a3a73dccc9a3fc701f6be762449f18d0ca0fchttps://git.kernel.org/stable/c/a0c38083623c8b210a5b87fd34bebd05aa935ae8https://git.kernel.org/stable/c/d322e40f4edf92bf0ca329e5aa4ae1c0316feb38https://git.kernel.org/stable/c/dbe2254d1da99c986f9a3392471fc5eaa3229647