{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143405","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.373Z","datePublished":"2026-12-05T01:20:31.144Z","dateUpdated":"2026-12-05T01:20:31.144Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-05T01:20:31.144Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: npcm-fiu: limit UMA data_size to the 16-byte staging buffer\n\nnpcm_fiu_uma_read() and npcm_fiu_uma_write() use a 16-byte on-stack\nstaging buffer (u32 data_reg[4]) and move data_size bytes to or from\nit. data_size comes straight from op->data.nbytes, which is supplied\nby the SPI MEM operation and is not bounded by the driver:\nnpcm_fiu_exec_op() only validates op->addr.nbytes, and no\nadjust_op_size callback truncates the transfer to the controller FIFO\nsize.\n\nA SPI MEM operation with addr.nbytes == 0 and data.nbytes > 16\ntherefore overflows data_reg[] on the kernel stack (write path) or\nreads past it (read path), corrupting the stack.\n\nReject data_size larger than the staging buffer in both UMA helpers\nby returning -EOPNOTSUPP, so spi_mem falls back to the generic SPI\nmessage path. The chunked path in npcm_fiu_manualwrite() always passes\nat most CHUNK_SIZE bytes, so it is unaffected."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-npcm-fiu.c"],"versions":[{"version":"ace55c411b11d9b12f500c7433bf469c26130182","lessThan":"9e1599fbe20adf051cbed019b7827479a23da8b7","status":"affected","versionType":"git"},{"version":"ace55c411b11d9b12f500c7433bf469c26130182","lessThan":"2df0db1ab5e8b586f89920da72cfeffcac4d14ba","status":"affected","versionType":"git"},{"version":"ace55c411b11d9b12f500c7433bf469c26130182","lessThan":"9eca0f33f7f6a35d1507cfde6b73a611fa6f2692","status":"affected","versionType":"git"},{"version":"ace55c411b11d9b12f500c7433bf469c26130182","lessThan":"320a86166cf323a982255b6af5c86325f5be2f1c","status":"affected","versionType":"git"},{"version":"ace55c411b11d9b12f500c7433bf469c26130182","lessThan":"5475d9ec0ad89d69356a7084dad612c4d61480be","status":"affected","versionType":"git"},{"version":"ace55c411b11d9b12f500c7433bf469c26130182","lessThan":"4a8f333446c10d361782aa4dcb7833d30cf5c154","status":"affected","versionType":"git"},{"version":"ace55c411b11d9b12f500c7433bf469c26130182","lessThan":"07b9c1c9c9cac5e80725e1822631091d2a31681f","status":"affected","versionType":"git"},{"version":"ace55c411b11d9b12f500c7433bf469c26130182","lessThan":"f0be928a41384ea93c876364f360779f70359249","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-npcm-fiu.c"],"versions":[{"version":"5.4","status":"affected"},{"version":"0","lessThan":"5.4","status":"unaffected","versionType":"semver"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/9e1599fbe20adf051cbed019b7827479a23da8b7"},{"url":"https://git.kernel.org/stable/c/2df0db1ab5e8b586f89920da72cfeffcac4d14ba"},{"url":"https://git.kernel.org/stable/c/9eca0f33f7f6a35d1507cfde6b73a611fa6f2692"},{"url":"https://git.kernel.org/stable/c/320a86166cf323a982255b6af5c86325f5be2f1c"},{"url":"https://git.kernel.org/stable/c/5475d9ec0ad89d69356a7084dad612c4d61480be"},{"url":"https://git.kernel.org/stable/c/4a8f333446c10d361782aa4dcb7833d30cf5c154"},{"url":"https://git.kernel.org/stable/c/07b9c1c9c9cac5e80725e1822631091d2a31681f"},{"url":"https://git.kernel.org/stable/c/f0be928a41384ea93c876364f360779f70359249"}],"title":"spi: npcm-fiu: limit UMA data_size to the 16-byte staging buffer","x_generator":{"engine":"bippy-1.2.0"}}}}