CVE-2026-46148
spi: microchip-core-qspi: control built-in cs manually
Check your servers for CVE-2026-46148
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-46148 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.02% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 8596124c4c1bc7561454cee0463c16eca70b5d25, before 06b14dd2393933e8cd574157369e551bd615b52a affected from 8596124c4c1bc7561454cee0463c16eca70b5d25, before 783dc000b8be6d18713bde4d2705e168f2a61782 affected from 8596124c4c1bc7561454cee0463c16eca70b5d25, before 244fc8942123afe753ae8962407fb312a1d96a07 affected from 8596124c4c1bc7561454cee0463c16eca70b5d25, before 998f43196d732f20f9b71eb6ebd973736c9fa911 affected from 8596124c4c1bc7561454cee0463c16eca70b5d25, before ee3c99aa102212ad59dc2c19595515c4a6729307 affected from 8596124c4c1bc7561454cee0463c16eca70b5d25, before 7672749e1496215e8683ce57cf323119033954cf
Other versions: unaffected
|
| Linux |
affected 6.1 unaffected before 6.1 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.114 up to and including 6.12.* unaffected from 6.18.30 up to and including 6.18.* unaffected from 7.0.7 up to and including 7.0.* unaffected 7.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-46148 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-46148
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-46148
trivy image --scanners vuln IMAGE | grep CVE-2026-46148
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/06b14dd2393933e8cd574157369e551bd615b52a git.kernel.org
- https://git.kernel.org/stable/c/783dc000b8be6d18713bde4d2705e168f2a61782 git.kernel.org
- https://git.kernel.org/stable/c/244fc8942123afe753ae8962407fb312a1d96a07 git.kernel.org
- https://git.kernel.org/stable/c/998f43196d732f20f9b71eb6ebd973736c9fa911 git.kernel.org
- https://git.kernel.org/stable/c/ee3c99aa102212ad59dc2c19595515c4a6729307 git.kernel.org
- https://git.kernel.org/stable/c/7672749e1496215e8683ce57cf323119033954cf git.kernel.org
Source: the record CVE-2026-46148 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse