Linux kernel stack overflow in npcm-fiu SPI driver
- Exploited
- No known exploitation
- Fix
- No fix listed
- Who is exposed
- Not reported
Summary
The Linux kernel's SPI driver for npcm-fiu does not limit transfer sizes, so a transfer larger than its 16-byte stack buffer can overflow or read past that buffer. A crafted SPI memory operation with no address bytes and more than 16 bytes of data could corrupt the kernel stack.
Written by a model
Original 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.
What to do
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-143405 (spi: npcm-fiu: limit UMA data_size to the 16-byte staging buffer), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-143405 (entry last updated 2026-12-05):
Affected:
- Linux Linux: version range not reported
- Linux Linux: versions 5.4
Fixed versions: none listed yet.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-143405 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-143405 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/9e1599fbe20adf051cbed019b7827479a23da8b7
- https://git.kernel.org/stable/c/2df0db1ab5e8b586f89920da72cfeffcac4d14ba
- https://git.kernel.org/stable/c/9eca0f33f7f6a35d1507cfde6b73a611fa6f2692
- https://git.kernel.org/stable/c/320a86166cf323a982255b6af5c86325f5be2f1c
- https://git.kernel.org/stable/c/5475d9ec0ad89d69356a7084dad612c4d61480be
- https://git.kernel.org/stable/c/4a8f333446c10d361782aa4dcb7833d30cf5c154
- https://git.kernel.org/stable/c/07b9c1c9c9cac5e80725e1822631091d2a31681f
- https://git.kernel.org/stable/c/f0be928a41384ea93c876364f360779f70359249
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-143405
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-143405"}.Affected versions
- Linux LinuxVersion range not reported
- Linux Linux5.4
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure?/25Unknown. No advisory context yet
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity?/10Unknown. No CVSS score or vendor rating
- No patch5/5No patch listed yet
What would change the score
- Would score about 80 if added to CISA KEV
- Would score about 75 if CISA's SSVC rates exploitation active
- Would score about 47 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 10
Questions about CVE-2026-143405
Is CVE-2026-143405 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-143405?
Linux: version 5.4.
Source: cve.now feed data
Related
- CVE-2026-143448RDMA/bnxt_re: Validate SRQ max_sge at create time
- CVE-2026-143464arm64: dts: ti: k3-am62d2-evm: Fix wkup R5F memory region size
- CVE-2026-143463arm64: dts: ti: k3-am62a7-sk: Fix wkup R5F memory region size
- CVE-2026-143465arm64: dts: mediatek: mt8188-geralt: Enlarge SCP core0 memory region
- CVE-2026-143462arm64: dts: ti: k3-am62p5-sk: Fix wkup R5F memory region size
- CVE-2026-143461net: fix frag_list leak in skb_segment_list() error path
No corrections so far. Something wrong on this page? Report an error.