# CVE-2026-46148: spi: microchip-core-qspi: control built-in cs manually

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **Published:** 2026-05-28T09:36:04.805Z
- **Modified:** 2026-10-30T13:18:56.363Z

## Who should check

- Anyone running Linux \>= 8596124c4c1bc7561454cee0463c16eca70b5d25, \< 06b14dd2393933e8cd574157369e551bd615b52a; \>= 8596124c4c1bc7561454cee0463c16eca70b5d25, \< 783dc000b8be6d18713bde4d2705e168f2a61782; \>= 8596124c4c1bc7561454cee0463c16eca70b5d25, \< 244fc8942123afe753ae8962407fb312a1d96a07; \>= 8596124c4c1bc7561454cee0463c16eca70b5d25, \< 998f43196d732f20f9b71eb6ebd973736c9fa911; \>= 8596124c4c1bc7561454cee0463c16eca70b5d25, \< ee3c99aa102212ad59dc2c19595515c4a6729307; \>= 8596124c4c1bc7561454cee0463c16eca70b5d25, \< 7672749e1496215e8683ce57cf323119033954cf
- Anyone running Linux 6.1

## 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.

## Affected and fixed versions

- Linux: \>= 8596124c4c1bc7561454cee0463c16eca70b5d25, \< 06b14dd2393933e8cd574157369e551bd615b52a; \>= 8596124c4c1bc7561454cee0463c16eca70b5d25, \< 783dc000b8be6d18713bde4d2705e168f2a61782; \>= 8596124c4c1bc7561454cee0463c16eca70b5d25, \< 244fc8942123afe753ae8962407fb312a1d96a07; \>= 8596124c4c1bc7561454cee0463c16eca70b5d25, \< 998f43196d732f20f9b71eb6ebd973736c9fa911; \>= 8596124c4c1bc7561454cee0463c16eca70b5d25, \< ee3c99aa102212ad59dc2c19595515c4a6729307; \>= 8596124c4c1bc7561454cee0463c16eca70b5d25, \< 7672749e1496215e8683ce57cf323119033954cf (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- Upgrade Linux to 7672749e1496215e8683ce57cf323119033954cf or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-46148. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46148.md
Affected: Linux >= 8596124c4c1bc7561454cee0463c16eca70b5d25, < 06b14dd2393933e8cd574157369e551bd615b52a; >= 8596124c4c1bc7561454cee0463c16eca70b5d25, < 783dc000b8be6d18713bde4d2705e168f2a61782; >= 8596124c4c1bc7561454cee0463c16eca70b5d25, < 244fc8942123afe753ae8962407fb312a1d96a07; >= 8596124c4c1bc7561454cee…
Fixed in: Linux 06b14dd2393933e8cd574157369e551bd615b52a, Linux 783dc000b8be6d18713bde4d2705e168f2a61782, Linux 244fc8942123afe753ae8962407fb312a1d96a07, Linux 998f43196d732f20f9b71eb6ebd973736c9fa911, Linux 7672749e1496215e8683ce57cf323119033954cf

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-46148 being exploited?

There is no confirmed exploitation: CVE-2026-46148 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-46148?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-46148?

Linux \>= 8596124c4c1bc7561454cee0463c16eca70b5d25, \< 06b14dd2393933e8cd574157369e551bd615b52a; \>= 8596124c4c1bc7561454cee0463c16eca70b5d25, \< 783dc000b8be6d18713bde4d2705e168f2a61782; \>= 8596124c4c1bc7561454cee0463c16eca70b5d25, \< 244fc8942123afe753ae8962407fb312a1d96a07; \>= 8596124c4c1bc7561454cee0463c16eca70b5d25, \< 998f43196d732f20f9b71eb6ebd973736c9fa911; \>= 8596124c4c1bc7561454cee0463c16eca70b5d25, \< ee3c99aa102212ad59dc2c19595515c4a6729307; \>= 8596124c4c1bc7561454cee0463c16eca70b5d25, \< 7672749e1496215e8683ce57cf323119033954cf; Linux 6.1.

### Is there a fix for CVE-2026-46148?

Yes. Fixed in Linux 06b14dd2393933e8cd574157369e551bd615b52a, Linux 783dc000b8be6d18713bde4d2705e168f2a61782, Linux 244fc8942123afe753ae8962407fb312a1d96a07, Linux 998f43196d732f20f9b71eb6ebd973736c9fa911, Linux 7672749e1496215e8683ce57cf323119033954cf. Upgrade Linux to 7672749e1496215e8683ce57cf323119033954cf or later.

### How do I check if I'm affected by CVE-2026-46148?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/998f43196d732f20f9b71eb6ebd973736c9fa911>
- patch: <https://git.kernel.org/stable/c/ee3c99aa102212ad59dc2c19595515c4a6729307>
- patch: <https://git.kernel.org/stable/c/7672749e1496215e8683ce57cf323119033954cf>
- other: <https://git.kernel.org/stable/c/06b14dd2393933e8cd574157369e551bd615b52a>
- other: <https://git.kernel.org/stable/c/783dc000b8be6d18713bde4d2705e168f2a61782>
- other: <https://git.kernel.org/stable/c/244fc8942123afe753ae8962407fb312a1d96a07>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-46148>

HTML: <https://flawdb.com/CVE-2026-46148> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-46148>
