{"id":"CVE-2026-143366","summary":"spi: pic32-sqi: fail transfer when the BD ring is exhausted","details":"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-\u003estatus so the failure reaches the\ncaller rather than being silently truncated.","modified":"2026-12-03T11:02:07.302108939Z","published":"2026-12-03T09:22:18.133Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143366.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2066970324a1439e5a2e08c4599098367f8f82cc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4f27739c460f05f1e15e2f4d20002830d7cfb818"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4f5a9ef948e8fd6e3ad1d38fe7109814a8ce4e27"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7f9fdb562e28a9383d9f0b7d50e7059c6a4e7897"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bc358f616b6693f16250703c515bb33fb6dfff49"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c5f2d90b8a3e53f47518df441c11c35de610ab4f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143366.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143366"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3270ac230f660843a7f7d631746ee2c8ee63f347"},{"fixed":"4f5a9ef948e8fd6e3ad1d38fe7109814a8ce4e27"},{"fixed":"c5f2d90b8a3e53f47518df441c11c35de610ab4f"},{"fixed":"bc358f616b6693f16250703c515bb33fb6dfff49"},{"fixed":"7f9fdb562e28a9383d9f0b7d50e7059c6a4e7897"},{"fixed":"4f27739c460f05f1e15e2f4d20002830d7cfb818"},{"fixed":"2066970324a1439e5a2e08c4599098367f8f82cc"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143366.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.7.0"},{"fixed":"5.10.276"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.227"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143366.json"}}],"schema_version":"1.9.2"}