{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68467","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-07-30T09:28:09.396Z","datePublished":"2026-08-15T05:51:25.949Z","dateUpdated":"2026-08-17T05:39:11.779Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-17T05:39:11.779Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: mchp23k256: use SPI match data for chip caps\n\nThe driver stores chip capacity information in both the OF match table\nand the SPI id table. Probe currently uses of_device_get_match_data(),\nso a non-OF SPI modalias match falls back to mchp23k256_caps even when\nthe SPI id table selected a different part.\n\nUse spi_get_device_match_data() so SPI id-table driver_data is consumed\nwhen OF match data is absent. This keeps the existing default fallback\nwhile avoiding the wrong MTD geometry for id-table-only matches."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The flaw is exercised only through local MTD I/O (mtdchar read/write or MEMREAD/MEMWRITE ioctls on /dev/mtdN) after probe; mchp23k256 is an on-board SPI SRAM driver with no network, Bluetooth, or remote-protocol entry point.\nAC:L - On affected deployments (mchp23lcv1024 matched via SPI id table without OF), every mtd read/write deterministically uses 2-byte addresses on a 3-byte/128K part; the attacker chooses offsets and lengths to mis-map logical MTD access across the chip with no race or uncontrollable memory layout.\nPR:L - The path from mtdchar_open through mchp23k256_read/write performs no capability checks beyond device-node permissions; on embedded/industrial boards where SPI SRAM MTD nodes are group- or world-accessible, a local unprivileged user can trigger the defective addressing.\nUI:N - No victim interaction is required beyond the attacker issuing their own mtd reads or writes; probe misconfiguration is automatic at boot and persists for all subsequent transfers.\nS:U - Impact is confined to incorrect SPI SRAM access within the same kernel/host security authority; there is no VM escape, IOMMU bypass, or cross-sandbox boundary crossing.\nC:H - Wrong addr_width makes SPI reads return data from unintended chip offsets while mtdchar still caps logical size at 32K, enabling out-of-bounds disclosure of up to ~96K of 128K SRAM contents (credentials, runtime state) outside the reported geometry.\nI:H - Mis-encoded write addresses cause out-of-bounds stores into the full 128K device despite mtd->size enforcing a 32K bound, corrupting SRAM regions the attacker should not be able to reach through the MTD interface.\nA:H - Desynchronized SPI transactions from address-width mismatch can stall spi_sync() and hang the bus, and corrupted on-board SRAM can crash safety-critical embedded services or trigger watchdog resets on industrial controllers."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/mtd/devices/mchp23k256.c"],"versions":[{"version":"4379075a870b8de43a9ecd5b46884953234fc669","lessThan":"2e179b028da9fd628a09286a2c9df4fa076b2cc9","status":"affected","versionType":"git"},{"version":"4379075a870b8de43a9ecd5b46884953234fc669","lessThan":"a0c38083623c8b210a5b87fd34bebd05aa935ae8","status":"affected","versionType":"git"},{"version":"4379075a870b8de43a9ecd5b46884953234fc669","lessThan":"7c0a3a73dccc9a3fc701f6be762449f18d0ca0fc","status":"affected","versionType":"git"},{"version":"4379075a870b8de43a9ecd5b46884953234fc669","lessThan":"dbe2254d1da99c986f9a3392471fc5eaa3229647","status":"affected","versionType":"git"},{"version":"4379075a870b8de43a9ecd5b46884953234fc669","lessThan":"04ebd3766861f219325852c9598e0f0281cb3636","status":"affected","versionType":"git"},{"version":"4379075a870b8de43a9ecd5b46884953234fc669","lessThan":"09e044192a42f716215fbd1a100ee87fa57426aa","status":"affected","versionType":"git"},{"version":"4379075a870b8de43a9ecd5b46884953234fc669","lessThan":"d322e40f4edf92bf0ca329e5aa4ae1c0316feb38","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/mtd/devices/mchp23k256.c"],"versions":[{"version":"4.13","status":"affected"},{"version":"0","lessThan":"4.13","status":"unaffected","versionType":"semver"},{"version":"5.15.212","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.178","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.145","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.97","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.40","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.5","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"5.15.212"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.1.178"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.12.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"7.2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/2e179b028da9fd628a09286a2c9df4fa076b2cc9"},{"url":"https://git.kernel.org/stable/c/a0c38083623c8b210a5b87fd34bebd05aa935ae8"},{"url":"https://git.kernel.org/stable/c/7c0a3a73dccc9a3fc701f6be762449f18d0ca0fc"},{"url":"https://git.kernel.org/stable/c/dbe2254d1da99c986f9a3392471fc5eaa3229647"},{"url":"https://git.kernel.org/stable/c/04ebd3766861f219325852c9598e0f0281cb3636"},{"url":"https://git.kernel.org/stable/c/09e044192a42f716215fbd1a100ee87fa57426aa"},{"url":"https://git.kernel.org/stable/c/d322e40f4edf92bf0ca329e5aa4ae1c0316feb38"}],"title":"mtd: mchp23k256: use SPI match data for chip caps","x_generator":{"engine":"bippy-1.2.0"}}}}