CVE-2026-143405

Unknown

Last modified

CVE-2026-143405 is a vulnerability of currently unknown severity. 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.

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 Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= ace55c411b11d9b12f500c7433bf469c26130182, < 9e1599fbe20adf051cbed019b7827479a23da8b7; >= ace55c411b11d9b12f500c7433bf469c26130182, < 2df0db1ab5e8b586f89920da72cfeffcac4d14ba; >= ace55c411b11d9b12f500c7433bf469c26130182, < 9eca0f33f7f6a35d1507cfde6b73a611fa6f2692; >= ace55c411b11d9b12f500c7433bf469c26130182, < 320a86166cf323a982255b6af5c86325f5be2f1c; >= ace55c411b11d9b12f500c7433bf469c26130182, < 5475d9ec0ad89d69356a7084dad612c4d61480be; >= ace55c411b11d9b12f500c7433bf469c26130182, < 4a8f333446c10d361782aa4dcb7833d30cf5c154; >= ace55c411b11d9b12f500c7433bf469c26130182, < 07b9c1c9c9cac5e80725e1822631091d2a31681f; >= ace55c411b11d9b12f500c7433bf469c26130182, < f0be928a41384ea93c876364f360779f70359249
LinuxLinux5.4

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-143405?
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.
How severe is CVE-2026-143405?
Severity scoring for CVE-2026-143405 is pending analysis.
How do I fix CVE-2026-143405?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-143405?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST