{"api_version":"1","generated_at":"2026-12-03T13:40:18+00:00","cve":"CVE-2026-143366","urls":{"html":"https://cve.report/CVE-2026-143366","api":"https://cve.report/api/cve/CVE-2026-143366.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143366","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143366"},"summary":{"title":"spi: pic32-sqi: fail transfer when the BD ring is exhausted","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: pic32-sqi: fail transfer when the BD ring is exhausted\n\npic32_sqi_one_transfer() silently stopped programming buffer descriptors\nwhen ring_desc_get() returned NULL and still returned success. The caller\nthen marked the last programmed descriptor as the end of the list and\nstarted the DMA engine, so the hardware transferred only a prefix of the\nrequested data while the message completed with status 0.\n\nThe ring holds PESQI_BD_COUNT (256) descriptors of at most\nPESQI_BD_BUF_LEN_MAX (256) bytes each, so messages larger than 64 KiB (or\nwith enough SG entries) can exhaust it. Since the driver sets no\nmax_message_size/max_transfer_size, the SPI core does not prevent this.\n\nReturn -ENOMEM instead, and set msg->status so the failure reaches the\ncaller rather than being silently truncated.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:18:26","updated_at":"2026-12-03 10:18:26"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/bc358f616b6693f16250703c515bb33fb6dfff49","name":"https://git.kernel.org/stable/c/bc358f616b6693f16250703c515bb33fb6dfff49","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7f9fdb562e28a9383d9f0b7d50e7059c6a4e7897","name":"https://git.kernel.org/stable/c/7f9fdb562e28a9383d9f0b7d50e7059c6a4e7897","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c5f2d90b8a3e53f47518df441c11c35de610ab4f","name":"https://git.kernel.org/stable/c/c5f2d90b8a3e53f47518df441c11c35de610ab4f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4f5a9ef948e8fd6e3ad1d38fe7109814a8ce4e27","name":"https://git.kernel.org/stable/c/4f5a9ef948e8fd6e3ad1d38fe7109814a8ce4e27","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2066970324a1439e5a2e08c4599098367f8f82cc","name":"https://git.kernel.org/stable/c/2066970324a1439e5a2e08c4599098367f8f82cc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4f27739c460f05f1e15e2f4d20002830d7cfb818","name":"https://git.kernel.org/stable/c/4f27739c460f05f1e15e2f4d20002830d7cfb818","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143366","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143366","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3270ac230f660843a7f7d631746ee2c8ee63f347 4f5a9ef948e8fd6e3ad1d38fe7109814a8ce4e27 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3270ac230f660843a7f7d631746ee2c8ee63f347 c5f2d90b8a3e53f47518df441c11c35de610ab4f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3270ac230f660843a7f7d631746ee2c8ee63f347 bc358f616b6693f16250703c515bb33fb6dfff49 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3270ac230f660843a7f7d631746ee2c8ee63f347 7f9fdb562e28a9383d9f0b7d50e7059c6a4e7897 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3270ac230f660843a7f7d631746ee2c8ee63f347 4f27739c460f05f1e15e2f4d20002830d7cfb818 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3270ac230f660843a7f7d631746ee2c8ee63f347 2066970324a1439e5a2e08c4599098367f8f82cc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.7","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.7 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.276 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.227 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * 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-pic32-sqi.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"4f5a9ef948e8fd6e3ad1d38fe7109814a8ce4e27","status":"affected","version":"3270ac230f660843a7f7d631746ee2c8ee63f347","versionType":"git"},{"lessThan":"c5f2d90b8a3e53f47518df441c11c35de610ab4f","status":"affected","version":"3270ac230f660843a7f7d631746ee2c8ee63f347","versionType":"git"},{"lessThan":"bc358f616b6693f16250703c515bb33fb6dfff49","status":"affected","version":"3270ac230f660843a7f7d631746ee2c8ee63f347","versionType":"git"},{"lessThan":"7f9fdb562e28a9383d9f0b7d50e7059c6a4e7897","status":"affected","version":"3270ac230f660843a7f7d631746ee2c8ee63f347","versionType":"git"},{"lessThan":"4f27739c460f05f1e15e2f4d20002830d7cfb818","status":"affected","version":"3270ac230f660843a7f7d631746ee2c8ee63f347","versionType":"git"},{"lessThan":"2066970324a1439e5a2e08c4599098367f8f82cc","status":"affected","version":"3270ac230f660843a7f7d631746ee2c8ee63f347","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/spi/spi-pic32-sqi.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.7"},{"lessThan":"4.7","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.276","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.227","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.276","versionStartIncluding":"4.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.227","versionStartIncluding":"4.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"4.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"4.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"4.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"4.7","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: pic32-sqi: fail transfer when the BD ring is exhausted\n\npic32_sqi_one_transfer() silently stopped programming buffer descriptors\nwhen ring_desc_get() returned NULL and still returned success. The caller\nthen marked the last programmed descriptor as the end of the list and\nstarted the DMA engine, so the hardware transferred only a prefix of the\nrequested data while the message completed with status 0.\n\nThe ring holds PESQI_BD_COUNT (256) descriptors of at most\nPESQI_BD_BUF_LEN_MAX (256) bytes each, so messages larger than 64 KiB (or\nwith enough SG entries) can exhaust it. Since the driver sets no\nmax_message_size/max_transfer_size, the SPI core does not prevent this.\n\nReturn -ENOMEM instead, and set msg->status so the failure reaches the\ncaller rather than being silently truncated."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:22:18.133Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/4f5a9ef948e8fd6e3ad1d38fe7109814a8ce4e27"},{"url":"https://git.kernel.org/stable/c/c5f2d90b8a3e53f47518df441c11c35de610ab4f"},{"url":"https://git.kernel.org/stable/c/bc358f616b6693f16250703c515bb33fb6dfff49"},{"url":"https://git.kernel.org/stable/c/7f9fdb562e28a9383d9f0b7d50e7059c6a4e7897"},{"url":"https://git.kernel.org/stable/c/4f27739c460f05f1e15e2f4d20002830d7cfb818"},{"url":"https://git.kernel.org/stable/c/2066970324a1439e5a2e08c4599098367f8f82cc"}],"title":"spi: pic32-sqi: fail transfer when the BD ring is exhausted","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143366","datePublished":"2026-12-03T09:22:18.133Z","dateReserved":"2026-12-03T03:10:28.371Z","dateUpdated":"2026-12-03T09:22:18.133Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:18:26","lastModifiedDate":"2026-12-03 10:18:26","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143366","Ordinal":"1","Title":"spi: pic32-sqi: fail transfer when the BD ring is exhausted","CVE":"CVE-2026-143366","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143366","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: pic32-sqi: fail transfer when the BD ring is exhausted\n\npic32_sqi_one_transfer() silently stopped programming buffer descriptors\nwhen ring_desc_get() returned NULL and still returned success. The caller\nthen marked the last programmed descriptor as the end of the list and\nstarted the DMA engine, so the hardware transferred only a prefix of the\nrequested data while the message completed with status 0.\n\nThe ring holds PESQI_BD_COUNT (256) descriptors of at most\nPESQI_BD_BUF_LEN_MAX (256) bytes each, so messages larger than 64 KiB (or\nwith enough SG entries) can exhaust it. Since the driver sets no\nmax_message_size/max_transfer_size, the SPI core does not prevent this.\n\nReturn -ENOMEM instead, and set msg->status so the failure reaches the\ncaller rather than being silently truncated.","Type":"Description","Title":"spi: pic32-sqi: fail transfer when the BD ring is exhausted"}]}}}