CVE-2026-99494
s390/zcrypt: Fix out-of-bounds ptr advance in cca_query_crypto_facility()
- Severity
- unscored
- Affects
- Linux
- Published
- 19 November 2026 by Linux
- First seen on our lists
- 19 November 2026
In the Linux kernel, the following vulnerability has been resolved:
s390/zcrypt: Fix out-of-bounds ptr advance in cca_query_crypto_facility()
The FQ reply parser code blindly advanced the walk pointer by a length
value read directly from the hardware reply payload without checking
that the advance stayed within the allocated reply buffer. A corrupt
or malicious device response could push ptr beyond the cprbmem region,
causing an out-of-bounds dereference or kernel memory exposure via the
subsequent memcpy().
Fix this by tracking the remaining reply buffer space in a variable
and validating each device-supplied length field against it before
advancing or dereferencing the pointer.
Our coverage
We have not written about this one. Know why it matters? Send a tip.