In the Linux kernel, the following vulnerability has been resolved:
spi: microchip-core-qspi: control built-in cs manually
The coreQSPI IP supports only a single chip select, which is automagically operated by the hardware - set low when the transmit buffer first gets written to and set high when the number of bytes written to the TOTALBYTES field of the FRAMES register have been sent on the bus. Additional devices must use GPIOs for their chip selects. It was reported to me that if there are two devices attached to this QSPI controller that the in-built chip select is set low while linux tries to access the device attached to the GPIO.
This went undetected as the boards that connected multiple devices to the SPI controller all exclusively used GPIOs for chip selects, not relying on the built-in chip select at all. It turns out that this was because the built-in chip select, when controlled automagically, is set low when active and high when inactive, thereby ruling out its use for active-high devices or devices that need to transmit with the chip select disabled.
Modify the driver so that it controls chip select directly, retaining the behaviour for mem_ops of setting the chip select active for the entire duration of the transfer in the exec_op callback. For regular transfers, implement the set_cs callback for the core to use.
As part of this, the existing setup callback, mchp_coreqspi_setup_op(), is removed. Modifying the CLKIDLE field is not safe to do during operation when there are multiple devices, so this code is removed entirely. Setting the MASTER and ENABLE fields is something that can be done once at probe, it doesn't need to be re-run for each device. Instead the new setup callback sets the built-in chip select to its inactive state for active-low devices, as the reset value of the chip select in software controlled mode is low.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Ubuntu | — | Upgrade linux-image-generic-64k-hwe-26.04Upgrade linux-image-7.0.0-1011-gcpUpgrade linux-image-gcp-7.0Upgrade linux-image-7.0.0-28-realtime-64kUpgrade linux-image-7.0.0-28-generic-64kUpgrade linux-image-7.0.0-1003-gke-64kUpgrade linux-image-oracle-7.0Upgrade linux-image-realtime-7.0Upgrade linux-image-gke-64k-hwe-26.04Upgrade linux-image-7.0.0-1016-nvidiaUpgrade linux-image-azure-fdeUpgrade linux-image-7.0.0-1009-azure-fdeUpgrade linux-image-awsUpgrade linux-image-7.0.0-1015-raspiUpgrade linux-image-oracleUpgrade linux-image-azure-fde-7.0Upgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-realtime-64k-7.0Upgrade linux-image-7.0.0-1009-awsUpgrade linux-image-ibmUpgrade linux-image-7.0.0-1008-oracle-64kUpgrade linux-image-7.0.0-1009-aws-64kUpgrade linux-image-7.0.0-1010-azureUpgrade linux-image-7.0.0-1015-raspi-realtimeUpgrade linux-image-oem-24.04bUpgrade linux-image-gke-7.0Upgrade linux-image-oracle-64k-7.0Upgrade linux-image-7.0.0-1009-oemUpgrade linux-image-realtime-64kUpgrade linux-image-7.0.0-28-realtimeUpgrade linux-image-gke-hwe-26.04Upgrade linux-image-virtual-7.0Upgrade linux-image-virtualUpgrade linux-image-aws-64k-7.0Upgrade linux-image-gke-64kUpgrade linux-image-raspi-7.0Upgrade linux-image-7.0.0-28-genericUpgrade linux-image-raspi-realtime-7.0Upgrade linux-image-7.0.0-1008-gcpUpgrade linux-image-7.0.0-2016-nvidia-bos-64kUpgrade linux-image-realtimeUpgrade linux-image-7.0.0-1008-gcp-64kUpgrade linux-image-azure-7.0Upgrade linux-image-7.0.0-1010-ibmUpgrade linux-image-7.0.0-1016-nvidia-64kUpgrade linux-image-7.0.0-1011-gcp-64kUpgrade linux-image-7.0.0-1003-gkeUpgrade linux-image-generic-64kUpgrade linux-image-raspiUpgrade linux-image-oem-26.04Upgrade linux-image-nvidia-bos-64kUpgrade linux-image-ibm-7.0Upgrade linux-image-aws-64kUpgrade linux-image-7.0.0-1014-azureUpgrade linux-image-aws-7.0Upgrade linux-image-nvidia-hwe-26.04Upgrade linux-image-raspi-realtimeUpgrade linux-image-nvidia-64k-hwe-26.04Upgrade linux-image-oem-7.0Upgrade linux-image-nvidia-64k-7.0Upgrade linux-image-generic-7.0Upgrade linux-image-realtime-64k-hwe-26.04Upgrade linux-image-nvidia-bos-64k-7.0Upgrade linux-image-nvidiaUpgrade linux-image-oem-24.04cUpgrade linux-image-realtime-hwe-26.04Upgrade linux-image-oem-26.04aUpgrade linux-image-oem-24.04dUpgrade linux-image-nvidia-bos-7.0Upgrade linux-image-nvidia-7.0Upgrade linux-image-gcp-64kUpgrade linux-image-oem-24.04Upgrade linux-image-nvidia-bosUpgrade linux-image-7.0.0-1008-oracleUpgrade linux-image-virtual-hwe-26.04Upgrade linux-image-oem-24.04aUpgrade linux-image-generic-hwe-26.04Upgrade linux-image-genericUpgrade linux-image-generic-64k-7.0Upgrade linux-image-oracle-64kUpgrade linux-image-gkeUpgrade linux-image-gke-64k-7.0Upgrade linux-image-7.0.0-2016-nvidia-bosUpgrade linux-image-nvidia-64kUpgrade linux-image-azureUpgrade linux-image-virtual-hwe-24.04Upgrade linux-image-gcp-64k-7.0Upgrade linux-image-gcpUpgrade linux-image-generic-hwe-24.04 | Jul 20, 2026 | May 28, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub