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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-11-30T13:23:41.661Z
- Modified: 2026-11-30T14:17:27.350Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from caee8e38da67a8991a60f1f67e6820a0063278c4 before 35dfe02e19f3b30c2c2711bedd59cdf6046bae0a; from caee8e38da67a8991a60f1f67e6820a0063278c4 before 3c50eeaf05d5065b0970c1db0c1862a987a6445a; from caee8e38da67a8991a60f1f67e6820a0063278c4 before baea448d490090499cc49f35f10a8b8be85ab92f; from caee8e38da67a8991a60f1f67e6820a0063278c4 before 0fe4573c822c4c9152e2fd5269ab85410c9e458f; 6.7 (not affected: before 6.7; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/35dfe02e19f3b30c2c2711bedd59cdf6046bae0a>
- <https://git.kernel.org/stable/c/3c50eeaf05d5065b0970c1db0c1862a987a6445a>
- <https://git.kernel.org/stable/c/baea448d490090499cc49f35f10a8b8be85ab92f>
- <https://git.kernel.org/stable/c/0fe4573c822c4c9152e2fd5269ab85410c9e458f>

## Sources

- CVE List: [CVE-2026-100091](https://www.cve.org/CVERecord?id=CVE-2026-100091), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-100091](https://nvd.nist.gov/vuln/detail/CVE-2026-100091), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-100091 · Whole record: https://cve.day/CVE-2026-100091.json · Rebuilt by cve.day 2026-11-30T14:32:43.623Z
