Bug 2589836 (CVE-2026-143366) - CVE-2026-143366 kernel: kernel: Data integrity loss via buffer descriptor exhaustion in PIC32 SQI SPI driver
Summary: CVE-2026-143366 kernel: kernel: Data integrity loss via buffer descriptor exh...
Keywords:
Status: NEW
Alias: CVE-2026-143366
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-03 09:47 UTC by OSIDB Bzimport
Modified: 2026-12-03 15:13 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-03 09:47:21 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.