CVE-2026-46148
SPI Chip Select Control Fix in Linux Kernel
Publication date: 2026-05-28
Last updated on: 2026-05-28
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| microchip | coreqspi | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability involves the Linux kernel's handling of the Microchip coreQSPI controller's chip select (CS) signal. The coreQSPI IP supports only a single chip select that is automatically controlled by hardware, which works well for one device but causes issues when multiple devices are attached.
When two devices are connected to the QSPI controller, the built-in chip select is set low (active) even when Linux tries to access a device that uses GPIO for chip select. This can cause conflicts because the hardware-controlled chip select does not support active-high devices or devices that need to transmit with chip select disabled.
The vulnerability was addressed by modifying the driver to manually control the chip select signal rather than relying on automatic hardware control. This ensures proper chip select behavior for multiple devices and removes unsafe operations during runtime.
How can this vulnerability impact me? :
This vulnerability can cause incorrect chip select signaling when multiple devices are connected to the Microchip coreQSPI controller. As a result, communication with SPI devices may fail or behave unpredictably.
Specifically, devices that rely on GPIO-controlled chip selects may be interfered with by the hardware-controlled chip select being active at the wrong times, potentially leading to data corruption, device malfunction, or communication errors.
What immediate steps should I take to mitigate this vulnerability?
The vulnerability is resolved by modifying the Linux kernel driver for the microchip-core-qspi to control the chip select (CS) manually rather than relying on the hardware automatic control.
Immediate mitigation steps include updating your Linux kernel to a version that includes this fix, which removes unsafe code related to CLKIDLE field modification during operation and implements direct control of the chip select line.
Ensure that your system does not rely on the built-in chip select for multiple devices attached to the QSPI controller, and verify that the driver uses GPIOs for chip selects where appropriate.