CVE-2026-46148·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.0.7
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.12% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 7.0.7
Fixed in: 7.0.7
How to fix this CVE
Update your Linux kernel to version 7.0.7 or later to resolve this SPI chip select handling vulnerability. The vulnerability affects systems running kernel versions 6.19 through 7.0.6 with Microchip coreQSPI controllers connected to multiple devices. After updating, reboot the system to apply the kernel patch and verify the new version is running.
sudo dnf update kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r (must be 7.0.7 or later to be unaffected)
- Verify if Microchip coreQSPI hardware is in use: lspci | grep -i qspi or grep -i microchip /proc/cpuinfo
- Check for multiple SPI devices attached: ls -la /dev/spi* and cat /proc/device-tree/*/compatible (if available)
- Verify kernel patch applied: grep 'spi: microchip-core-qspi' /var/log/dmesg or check git commit 244fc8942123afe753ae8962407fb312a1d96a07 in kernel source
FAQ
What is CVE-2026-46148?
This vulnerability affects the Microchip coreQSPI driver in the Linux kernel where the built-in chip select is automatically controlled by hardware, causing it to interfere with GPIO-based chip selects when multiple SPI devices are connected. The fix implements manual chip select control to prevent unwanted activation during transfers to other devices.
Is CVE-2026-46148 being actively exploited?
No, this vulnerability is not currently being actively exploited in the wild according to CISA KEV data, and no public exploits are available.
What versions of Kernel are affected by CVE-2026-46148?
Linux kernel versions 6.19 through 7.0.6 are affected. Kernel 7.0.7 and later versions include the patch.
How do I check if my server is vulnerable to CVE-2026-46148?
Run 'uname -r' to get your kernel version. If it shows 6.19 to 7.0.6 and you have Microchip coreQSPI hardware with multiple SPI devices, your system is vulnerable. Confirm coreQSPI presence with 'lspci -v' or check device tree.
Does Defensia detect CVE-2026-46148?
Yes — Defensia's CVE advisory scanner compares installed kernel package versions against the NVD database. If a vulnerable kernel version is detected on a monitored server, CVE-2026-46148 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/06b14dd2393933e8cd574157369e551bd615b52a
- https://git.kernel.org/stable/c/244fc8942123afe753ae8962407fb312a1d96a07
- https://git.kernel.org/stable/c/7672749e1496215e8683ce57cf323119033954cf
- https://git.kernel.org/stable/c/783dc000b8be6d18713bde4d2705e168f2a61782
- https://git.kernel.org/stable/c/998f43196d732f20f9b71eb6ebd973736c9fa911
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-46148. Free for 1 server.
Get started free