AZL-114974: CVE-2026-99494 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
s390/zcrypt: Fix out-of-bounds ptr advance in ccaquerycryptofacility()
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In s390/zcrypt's cca_query_crypto_facility() FQ reply parser, track the remaining reply-buffer space and validate each device-supplied length field against it before advancing or dereferencing the pointer.