CVE-2026-100091
publishedspi: ljca: validate the response length before copying the data
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxcaee8e38da67a8991a60f1f67e6820a0063278c4 to < 35dfe02e19f3b30c2c2711bedd59cdf6046bae0a · caee8e38da67a8991a60f1f67e6820a0063278c4 to < 3c50eeaf05d5065b0970c1db0c1862a987a6445a · caee8e38da67a8991a60f1f67e6820a0063278c4 to < baea448d490090499cc49f35f10a8b8be85ab92f · caee8e38da67a8991a60f1f67e6820a0063278c4 to < 0fe4573c822c4c9152e2fd5269ab85410c9e458f · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | caee8e38da67a8991a60f1f67e6820a0063278c4 to < 35dfe02e19f3b30c2c2711bedd59cdf6046bae0a (affected · git)caee8e38da67a8991a60f1f67e6820a0063278c4 to < 3c50eeaf05d5065b0970c1db0c1862a987a6445a (affected · git)caee8e38da67a8991a60f1f67e6820a0063278c4 to < baea448d490090499cc49f35f10a8b8be85ab92f (affected · git)caee8e38da67a8991a60f1f67e6820a0063278c4 to < 0fe4573c822c4c9152e2fd5269ab85410c9e458f (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.7 (affected)0 to < 6.7 (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
spi: ljca: validate the response length before copying the data
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6c4f9a9490bed5ec0c6b16f3eac46c4203b342e0b39ab810d9c31100432ca05f
- Ingested
- 30 Nov 2026, 13:30:06 UTC
- Source record
- Official CVE record