# CVE-2026-143405: spi: npcm-fiu: limit UMA data\_size to the 16-byte staging buffer

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-05T01:20:31.144Z
- **Modified:** 2026-12-05T03:19:50.693Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker who can issue SPI MEM operations can overflow or read past a 16-byte on-stack buffer in the Linux kernel npcm-fiu SPI driver, corrupting kernel stack memory.

## Who should check

- Anyone running Linux \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 9e1599fbe20adf051cbed019b7827479a23da8b7; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 2df0db1ab5e8b586f89920da72cfeffcac4d14ba; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 9eca0f33f7f6a35d1507cfde6b73a611fa6f2692; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 320a86166cf323a982255b6af5c86325f5be2f1c; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 5475d9ec0ad89d69356a7084dad612c4d61480be; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 4a8f333446c10d361782aa4dcb7833d30cf5c154; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 07b9c1c9c9cac5e80725e1822631091d2a31681f; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< f0be928a41384ea93c876364f360779f70359249
- Anyone running Linux 5.4

## Description

In the Linux kernel, the following vulnerability has been resolved:

spi: npcm-fiu: limit UMA data\_size to the 16-byte staging buffer

npcm\_fiu\_uma\_read() and npcm\_fiu\_uma\_write() use a 16-byte on-stack
staging buffer (u32 data\_reg\[4\]) and move data\_size bytes to or from
it. data\_size comes straight from op-\>data.nbytes, which is supplied
by the SPI MEM operation and is not bounded by the driver:
npcm\_fiu\_exec\_op() only validates op-\>addr.nbytes, and no
adjust\_op\_size callback truncates the transfer to the controller FIFO
size.

A SPI MEM operation with addr.nbytes == 0 and data.nbytes \> 16
therefore overflows data\_reg\[\] on the kernel stack (write path) or
reads past it (read path), corrupting the stack.

Reject data\_size larger than the staging buffer in both UMA helpers
by returning -EOPNOTSUPP, so spi\_mem falls back to the generic SPI
message path. The chunked path in npcm\_fiu\_manualwrite() always passes
at most CHUNK\_SIZE bytes, so it is unaffected.

## Affected and fixed versions

- Linux: \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 9e1599fbe20adf051cbed019b7827479a23da8b7; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 2df0db1ab5e8b586f89920da72cfeffcac4d14ba; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 9eca0f33f7f6a35d1507cfde6b73a611fa6f2692; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 320a86166cf323a982255b6af5c86325f5be2f1c; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 5475d9ec0ad89d69356a7084dad612c4d61480be; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 4a8f333446c10d361782aa4dcb7833d30cf5c154; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 07b9c1c9c9cac5e80725e1822631091d2a31681f; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< f0be928a41384ea93c876364f360779f70359249 (cvelist)
- Linux: 5.4 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-143405.md
Affected: Linux >= ace55c411b11d9b12f500c7433bf469c26130182, < 9e1599fbe20adf051cbed019b7827479a23da8b7; >= ace55c411b11d9b12f500c7433bf469c26130182, < 2df0db1ab5e8b586f89920da72cfeffcac4d14ba; >= ace55c411b11d9b12f500c7433bf469c26130182, < 9eca0f33f7f6a35d1507cfde6b73a611fa6f2692; >= ace55c411b11d9b12f500c7…
Fixed in: Linux 9e1599fbe20adf051cbed019b7827479a23da8b7, Linux 2df0db1ab5e8b586f89920da72cfeffcac4d14ba, Linux 9eca0f33f7f6a35d1507cfde6b73a611fa6f2692, Linux 320a86166cf323a982255b6af5c86325f5be2f1c, Linux 5475d9ec0ad89d69356a7084dad612c4d61480be, Linux 4a8f333446c10d361782aa4dcb7833d30cf5c154, Linux 07b9c…

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-143405 being exploited?

There is no confirmed exploitation: CVE-2026-143405 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

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

It has no CVSS score yet. Unknown.

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

Linux \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 9e1599fbe20adf051cbed019b7827479a23da8b7; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 2df0db1ab5e8b586f89920da72cfeffcac4d14ba; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 9eca0f33f7f6a35d1507cfde6b73a611fa6f2692; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 320a86166cf323a982255b6af5c86325f5be2f1c; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 5475d9ec0ad89d69356a7084dad612c4d61480be; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 4a8f333446c10d361782aa4dcb7833d30cf5c154; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< 07b9c1c9c9cac5e80725e1822631091d2a31681f; \>= ace55c411b11d9b12f500c7433bf469c26130182, \< f0be928a41384ea93c876364f360779f70359249; Linux 5.4.

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

Yes. Fixed in Linux 9e1599fbe20adf051cbed019b7827479a23da8b7, Linux 2df0db1ab5e8b586f89920da72cfeffcac4d14ba, Linux 9eca0f33f7f6a35d1507cfde6b73a611fa6f2692, Linux 320a86166cf323a982255b6af5c86325f5be2f1c, Linux 5475d9ec0ad89d69356a7084dad612c4d61480be, Linux 4a8f333446c10d361782aa4dcb7833d30cf5c154, Linux 07b9c1c9c9cac5e80725e1822631091d2a31681f. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/9e1599fbe20adf051cbed019b7827479a23da8b7>
- other: <https://git.kernel.org/stable/c/2df0db1ab5e8b586f89920da72cfeffcac4d14ba>
- other: <https://git.kernel.org/stable/c/9eca0f33f7f6a35d1507cfde6b73a611fa6f2692>
- other: <https://git.kernel.org/stable/c/320a86166cf323a982255b6af5c86325f5be2f1c>
- other: <https://git.kernel.org/stable/c/5475d9ec0ad89d69356a7084dad612c4d61480be>
- other: <https://git.kernel.org/stable/c/4a8f333446c10d361782aa4dcb7833d30cf5c154>
- other: <https://git.kernel.org/stable/c/07b9c1c9c9cac5e80725e1822631091d2a31681f>
- other: <https://git.kernel.org/stable/c/f0be928a41384ea93c876364f360779f70359249>

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

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