{"id":"CVE-2025-39921","published":"2025-10-01T07:55:16Z","modified":"2026-10-21T12:37:34Z","title":"spi: microchip-core-qspi: stop checking viability of op->max_freq in supports_op callback","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: microchip-core-qspi: stop checking viability of op->max_freq in supports_op callback\n\nIn commit 13529647743d9 (\"spi: microchip-core-qspi: Support per spi-mem\noperation frequency switches\") the logic for checking the viability of\nop->max_freq in mchp_coreqspi_setup_clock() was copied into\nmchp_coreqspi_supports_op(). Unfortunately, op->max_freq is not valid\nwhen this function is called during probe but is instead zero.\nAccordingly, baud_rate_val is calculated to be INT_MAX due to division\nby zero, causing probe of the attached memory device to fail.\n\nSeemingly spi-microchip-core-qspi was the only driver that had such a\nmodification made to its supports_op callback when the per_op_freq\ncapability was added, so just remove it to restore prior functionality.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00187,"percentile":0.08504,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4ad071e3d57967f7ab483aed0687468bc1d9e9ce","tags":[]},{"url":"https://git.kernel.org/stable/c/ac8a13f35d5b8996582b3f97b924838a5c570c18","tags":[]},{"url":"https://git.kernel.org/stable/c/89e7353f522f5cf70cb48c01ce2dcdcb275b8022","tags":[]}],"priority":{"score":5.6,"factors":[{"name":"EPSS percentile","points":1.7},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d29f749d5202605dbb7480791e6841487d8afb77, < 4ad071e3d57967f7ab483aed0687468bc1d9e9ce",">= 13529647743d906ed3cf991f1d77727e7ff1fb6f, < ac8a13f35d5b8996582b3f97b924838a5c570c18",">= 13529647743d906ed3cf991f1d77727e7ff1fb6f, < 89e7353f522f5cf70cb48c01ce2dcdcb275b8022"]},{"vendor":"Linux","product":"Linux","versions":["6.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-14T17:43:20.240186Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-32884","exploited":false,"provenance":"source"}}