Security mailing lists by PureSourceCode

CVE-2026-143366

not scored yet

spi: pic32-sqi: fail transfer when the BD ring is exhausted

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.

Published
3 Dec 2026
Last modified
3 Dec 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 3270ac230f660843a7f7d631746ee2c8ee63f347, < 4f5a9ef948e8fd6e3ad1d38fe7109814a8ce4e27; >= 3270ac230f660843a7f7d631746ee2c8ee63f347, < c5f2d90b8a3e53f47518df441c11c35de610ab4f; >= 3270ac230f660843a7f7d631746ee2c8ee63f347, < bc358f616b6693f16250703c515bb33fb6dfff49; >= 3270ac230f660843a7f7d631746ee2c8ee63f347, < 7f9fdb562e28a9383d9f0b7d50e7059c6a4e7897; >= 3270ac230f660843a7f7d631746ee2c8ee63f347, < 4f27739c460f05f1e15e2f4d20002830d7cfb818; >= 3270ac230f660843a7f7d631746ee2c8ee63f347, < 2066970324a1439e5a2e08c4599098367f8f82cc 4f5a9ef948e8fd6e3ad1d38fe7109814a8ce4e27, c5f2d90b8a3e53f47518df441c11c35de610ab4f, bc358f616b6693f16250703c515bb33fb6dfff49, 7f9fdb562e28a9383d9f0b7d50e7059c6a4e7897, 4f27739c460f05f1e15e2f4d20002830d7cfb818, 2066970324a1439e5a2e08c4599098367f8f82cc
CVE List Linux Linux = 4.7

References

History

  • 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
  • 3 Dec 2026 10:08 UTC · CVE List: first stored (published 3 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.