CVE-2026-143366
Received Received - Intake

spi: pic32-sqi BD ring exhaustion leads to silent data truncation

Vulnerability report for CVE-2026-143366, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-03

Last updated on: 2026-12-03

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: spi: pic32-sqi: fail transfer when the BD ring is exhausted pic32_sqi_one_transfer() silently stopped programming buffer descriptors when ring_desc_get() returned NULL and still returned success. The caller then marked the last programmed descriptor as the end of the list and started the DMA engine, so the hardware transferred only a prefix of the requested data while the message completed with status 0. The ring holds PESQI_BD_COUNT (256) descriptors of at most PESQI_BD_BUF_LEN_MAX (256) bytes each, so messages larger than 64 KiB (or with enough SG entries) can exhaust it. Since the driver sets no max_message_size/max_transfer_size, the SPI core does not prevent this. Return -ENOMEM instead, and set msg->status so the failure reaches the caller rather than being silently truncated.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-03
Last Modified
2026-12-03
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel's SPI driver for PIC32 microcontrollers allows data transfers to silently fail when the buffer descriptor ring is exhausted. The driver does not properly handle cases where the requested transfer size exceeds the available descriptors, leading to partial data transmission without error reporting.

Detection Guidance

This vulnerability affects the Linux kernel's SPI driver for PIC32 microcontrollers. Detection requires checking kernel logs for SPI transfer errors or truncated transfers. Monitor dmesg for errors like 'BD ring exhausted' or 'transfer failed' after large SPI transfers. No specific commands are provided in the context.

Impact Analysis

If exploited, this flaw could cause data corruption or loss during SPI transfers larger than 64 KiB. Systems relying on SPI communication for critical operations may experience unexpected behavior, failed transactions, or incomplete data writes without clear error indication.

Mitigation Strategies

Apply the Linux kernel patch that fixes the issue. Update to a kernel version containing the fix. If immediate patching is not possible, restrict SPI transfers to under 64 KiB or limit message sizes to prevent BD ring exhaustion.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-143366. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...