Bug 2586280 (CVE-2026-100091) - CVE-2026-100091 kernel: kernel: Memory corruption in LJCA SPI driver via unvalidated response length
Summary: CVE-2026-100091 kernel: kernel: Memory corruption in LJCA SPI driver via unva...
Keywords:
Status: NEW
Alias: CVE-2026-100091
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-11-30 13:39 UTC by OSIDB Bzimport
Modified: 2026-11-30 16:15 UTC (History)
0 users

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 13:39:47 UTC
In the Linux kernel, the following vulnerability has been resolved:

spi: ljca: validate the response length before copying the data

ljca_spi_read_write() only checks that the response from the adapter
carries the packet header and a non-zero payload length before copying
r_packet->len bytes from the response into the transfer buffer.

The payload length is taken from the packet the device sent back and is
neither bounded by the number of bytes actually received nor by the
size of the requested transfer: a misbehaving adapter can announce a
payload larger than what it actually sent, and the memcpy then reads
past the end of the 60-byte input buffer and writes past the end of the
caller's transfer buffer.

Check that the response carries the full header before reading
r_packet->len, then reject responses whose payload is not contained in
the data received or is longer than the requested transfer.


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