CVE-2026-143405
Received Received - Intake

Buffer Overflow in Nuvoton NPCM FIU SPI Controller

Vulnerability report for CVE-2026-143405, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-05

Last updated on: 2026-12-05

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-05
Last Modified
2026-12-05
Generated
2026-12-05
AI Q&A
2026-12-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is in the Linux kernel's SPI (Serial Peripheral Interface) controller driver for Nuvoton NPCM FIU. It involves a stack buffer overflow in the npcm_fiu_uma_read() and npcm_fiu_uma_write() functions. These functions use a 16-byte on-stack buffer to handle data transfers, but the size of the data being transferred (data_size) is not properly validated. If an SPI operation requests a data transfer larger than 16 bytes with no address bytes, it overflows the buffer, corrupting the kernel stack.

Detection Guidance

This vulnerability is specific to the Linux kernel's SPI controller driver (npcm-fiu). Detection requires checking the kernel version and SPI driver configuration. Use uname -a to verify the kernel version and grep for npcm-fiu in /proc/modules or dmesg logs to confirm driver usage.

Impact Analysis

This vulnerability could allow an attacker with access to the system to cause a kernel stack corruption. This may lead to system crashes, arbitrary code execution, or privilege escalation. Since the Linux kernel handles critical system operations, successful exploitation could compromise the entire system's security and stability.

Mitigation Strategies

Apply the latest kernel update from your distribution to patch the npcm-fiu driver. If an update is unavailable, disable the npcm-fiu driver by blacklisting it in /etc/modprobe.d/ or restrict SPI MEM operations to trusted sources.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-143405. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...