{"api_version":"1","generated_at":"2026-12-05T13:49:35+00:00","cve":"CVE-2026-143405","urls":{"html":"https://cve.report/CVE-2026-143405","api":"https://cve.report/api/cve/CVE-2026-143405.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143405","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143405"},"summary":{"title":"spi: npcm-fiu: limit UMA data_size to the 16-byte staging buffer","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-05 03:19:50","updated_at":"2026-12-05 03:19:50"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/9eca0f33f7f6a35d1507cfde6b73a611fa6f2692","name":"https://git.kernel.org/stable/c/9eca0f33f7f6a35d1507cfde6b73a611fa6f2692","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5475d9ec0ad89d69356a7084dad612c4d61480be","name":"https://git.kernel.org/stable/c/5475d9ec0ad89d69356a7084dad612c4d61480be","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f0be928a41384ea93c876364f360779f70359249","name":"https://git.kernel.org/stable/c/f0be928a41384ea93c876364f360779f70359249","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/07b9c1c9c9cac5e80725e1822631091d2a31681f","name":"https://git.kernel.org/stable/c/07b9c1c9c9cac5e80725e1822631091d2a31681f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9e1599fbe20adf051cbed019b7827479a23da8b7","name":"https://git.kernel.org/stable/c/9e1599fbe20adf051cbed019b7827479a23da8b7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/320a86166cf323a982255b6af5c86325f5be2f1c","name":"https://git.kernel.org/stable/c/320a86166cf323a982255b6af5c86325f5be2f1c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4a8f333446c10d361782aa4dcb7833d30cf5c154","name":"https://git.kernel.org/stable/c/4a8f333446c10d361782aa4dcb7833d30cf5c154","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2df0db1ab5e8b586f89920da72cfeffcac4d14ba","name":"https://git.kernel.org/stable/c/2df0db1ab5e8b586f89920da72cfeffcac4d14ba","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143405","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143405","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ace55c411b11d9b12f500c7433bf469c26130182 9e1599fbe20adf051cbed019b7827479a23da8b7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ace55c411b11d9b12f500c7433bf469c26130182 2df0db1ab5e8b586f89920da72cfeffcac4d14ba git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ace55c411b11d9b12f500c7433bf469c26130182 9eca0f33f7f6a35d1507cfde6b73a611fa6f2692 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ace55c411b11d9b12f500c7433bf469c26130182 320a86166cf323a982255b6af5c86325f5be2f1c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ace55c411b11d9b12f500c7433bf469c26130182 5475d9ec0ad89d69356a7084dad612c4d61480be git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ace55c411b11d9b12f500c7433bf469c26130182 4a8f333446c10d361782aa4dcb7833d30cf5c154 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ace55c411b11d9b12f500c7433bf469c26130182 07b9c1c9c9cac5e80725e1822631091d2a31681f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ace55c411b11d9b12f500c7433bf469c26130182 f0be928a41384ea93c876364f360779f70359249 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.4","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.4 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/spi/spi-npcm-fiu.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"9e1599fbe20adf051cbed019b7827479a23da8b7","status":"affected","version":"ace55c411b11d9b12f500c7433bf469c26130182","versionType":"git"},{"lessThan":"2df0db1ab5e8b586f89920da72cfeffcac4d14ba","status":"affected","version":"ace55c411b11d9b12f500c7433bf469c26130182","versionType":"git"},{"lessThan":"9eca0f33f7f6a35d1507cfde6b73a611fa6f2692","status":"affected","version":"ace55c411b11d9b12f500c7433bf469c26130182","versionType":"git"},{"lessThan":"320a86166cf323a982255b6af5c86325f5be2f1c","status":"affected","version":"ace55c411b11d9b12f500c7433bf469c26130182","versionType":"git"},{"lessThan":"5475d9ec0ad89d69356a7084dad612c4d61480be","status":"affected","version":"ace55c411b11d9b12f500c7433bf469c26130182","versionType":"git"},{"lessThan":"4a8f333446c10d361782aa4dcb7833d30cf5c154","status":"affected","version":"ace55c411b11d9b12f500c7433bf469c26130182","versionType":"git"},{"lessThan":"07b9c1c9c9cac5e80725e1822631091d2a31681f","status":"affected","version":"ace55c411b11d9b12f500c7433bf469c26130182","versionType":"git"},{"lessThan":"f0be928a41384ea93c876364f360779f70359249","status":"affected","version":"ace55c411b11d9b12f500c7433bf469c26130182","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/spi/spi-npcm-fiu.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.4"},{"lessThan":"5.4","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"5.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"5.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"5.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"5.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"5.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"5.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"5.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.4","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-12-05T01:20:31.144Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143405","datePublished":"2026-12-05T01:20:31.144Z","dateReserved":"2026-12-03T03:10:28.373Z","dateUpdated":"2026-12-05T01:20:31.144Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-05 03:19:50","lastModifiedDate":"2026-12-05 03:19:50","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143405","Ordinal":"1","Title":"spi: npcm-fiu: limit UMA data_size to the 16-byte staging buffer","CVE":"CVE-2026-143405","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143405","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"spi: npcm-fiu: limit UMA data_size to the 16-byte staging buffer"}]}}}