CVE-2025-39921: spi: microchip-core-qspi: stop checking viability of op->max_freq in supports_op callback

Published Oct 1, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

spi: microchip-core-qspi: stop checking viability of op->maxfreq in supportsop callback

In commit 13529647743d9 ("spi: microchip-core-qspi: Support per spi-mem operation frequency switches") the logic for checking the viability of op->maxfreq in mchpcoreqspisetupclock() was copied into mchpcoreqspisupportsop(). Unfortunately, op->maxfreq is not valid when this function is called during probe but is instead zero. Accordingly, baudrateval is calculated to be INTMAX due to division by zero, causing probe of the attached memory device to fail.

Seemingly spi-microchip-core-qspi was the only driver that had such a modification made to its supportsop callback when the peropfreq capability was added, so just remove it to restore prior functionality.

Affected Software

6 affected components
Linux Kernel
Linux Linux kernel>=6.14<6.16.6
Linux Linux kernel=6.17-rc1
Linux Linux kernel=6.17-rc2
Linux Linux kernel=6.17-rc3
Linux Linux kernel=6.17-rc4

Event History

Oct 1, 2025
CVE Published
via MITRE·07:55 AM
Data Sourced
via MITRE·07:55 AM
Description
Data Sourced
via NVD·08:15 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-39921?

CVE-2025-39921 has been classified with a severity rating that indicates the potential for exploitation may impact system stability.

2

How do I fix CVE-2025-39921?

To fix CVE-2025-39921, update your Linux kernel to the latest version that includes the patch for this vulnerability.

3

What components are affected by CVE-2025-39921?

CVE-2025-39921 affects the microchip-core-qspi component of the Linux kernel.

4

Can CVE-2025-39921 be exploited remotely?

CVE-2025-39921 does not explicitly state remote exploitation capabilities, but vulnerability could potentially lead to local privilege escalation.

5

When was CVE-2025-39921 published?

CVE-2025-39921 was published as part of ongoing updates to the Linux kernel addressing various vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203