Bug 2591396 (CVE-2026-143405) - CVE-2026-143405 kernel: kernel: Denial of Service via stack corruption in NPCM FIU SPI driver
Summary: CVE-2026-143405 kernel: kernel: Denial of Service via stack corruption in NPC...
Keywords:
Status: NEW
Alias: CVE-2026-143405
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-05 01:33 UTC by OSIDB Bzimport
Modified: 2026-12-05 03:51 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-05 01:33:16 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.