AZL-117295: CVE-2026-139705 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
crypto: mxs-dcp - handle zero-length skcipher requests
Zero-length skcipher requests are valid no-ops, but MXS-DCP queues them. When such a request reaches the worker, lastoutlen remains zero. The CBC completion path then subtracts AESBLOCKSIZE from this unsigned value when updating the IV, causing the offset to underflow. On decryption, the resulting source address precedes aesinbuf.
Return success before enqueueing zero-length requests. This avoids the invalid source access and leaves the IV unchanged for a no-op.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the MXS-DCP skcipher path, return success for zero-length requests before enqueueing them, so they remain no-ops and the IV is unchanged.
Event History
Frequently Asked Questions
What conditions are required to trigger the issue?
A zero-length skcipher request must be processed by the MXS-DCP crypto driver using the CBC completion path. The problematic behavior occurs when the queued no-op request reaches the worker and the IV update subtracts an AES block size from a zero output length.
What is the likely impact if the issue is triggered?
During decryption, the unsigned underflow can cause the resulting source address to point before aes_in_buf, leading to an invalid source access. Zero-length requests should instead complete successfully without being enqueued and without changing the IV.