EnvMap GitHub

CVE-2026-143405

spi: npcm-fiu: limit UMA data_size to the 16-byte staging buffer

Not scored yetReceived

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.

In the words of the organisation that published it (Linux).

Affected

  • Linux: from ace55c411b11d9b12f500c7433bf469c26130182 before 9e1599fbe20adf051cbed019b78; from ace55c411b11d9b12f500c7433bf469c26130182 before 2df0db1ab5e8b586f89920da72c; from ace55c411b11d9b12f500c7433bf469c26130182 before 9eca0f33f7f6a35d1507cfde6b7; from ace55c411b11d9b12f500c7433bf469c26130182 before 320a86166cf323a982255b6af5c; 5.4

as the publisher (Linux) lists them.

References

Record

Published03:19 UTC, 5 December 2026
Last changed03:19 UTC, 5 December 2026
NVD statusReceived
Published byLinux

CVE-2026-143405 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.