CVE-2026-100091: spi: ljca: validate the response length before copying the data

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

ljcaspireadwrite() only checks that the response from the adapter carries the packet header and a non-zero payload length before copying rpacket->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 rpacket->len, then reject responses whose payload is not contained in the data received or is longer than the requested transfer.

Affected Software

7 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.7.0<6.12.117
6.12.117
linux/kernel>=6.13.0<6.18.63
6.18.63
linux/kernel>=6.19.0<7.3.4
7.3.4
debian/linux<6.12.117-1
6.12.117-1
debian/linux<7.3.4-1
7.3.4-1
debian/linux
6.12.117-17.3.4-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.117
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.63
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.4
  4. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.117-1
  5. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.4-1
  6. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.117-1Fixed in 7.3.4-1
  7. Compensating control

    In Linux kernel ljca_spi_read_write(), validate that the full response header is present before reading it, and reject responses whose payload length exceeds the data received or the requested transfer before copying the payload.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:23 PM
Data Sourced
via MITRE·01:23 PM
Description
Data Sourced
via OSV·01:23 PM
DescriptionAffected Software
Data Sourced
via NVD·02:17 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel SPI driver for LJCA adapters are exposed when that driver communicates with an adapter that returns a malformed response. The issue is in the adapter response handling path, not in arbitrary SPI traffic.

2

What does an attacker or faulty device need to do to trigger it?

The adapter must return a response that includes a non-zero claimed payload length that is larger than the bytes actually received or larger than the requested transfer. This can cause the kernel to read beyond its 60-byte response buffer and write beyond the caller's transfer buffer.

3

How does the fix change handling of adapter responses?

The fix verifies that the complete packet header is present before reading the response length. It rejects payloads that do not fit within the received data or that exceed the requested transfer length.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203