CVE-2026-143456: crypto: qat - avoid OOB read when stripping RSA leading zeros
In the Linux kernel, the following vulnerability has been resolved:
crypto: qat - avoid OOB read when stripping RSA leading zeros
The logical AND operator uses short-circuit evaluation: the first operand is always evaluated, while the second is evaluated only if the first is true. Because the first operand dereferences a pointer, it may cause an out-of-bounds access before the bounds check in the second operand is evaluated.
Resolve this by checking the vlen prior to the pointer being dereferenced.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Check vlen before dereferencing the pointer when stripping RSA leading zeros, so the bounds check occurs before the access.
Event History
Frequently Asked Questions
What component or workload must be present for this issue to be relevant?
The issue is in the Linux kernel QAT crypto driver and occurs while stripping leading zero bytes from RSA-related data. Systems not using that driver or its RSA processing path are not indicated by the provided information to be exposed.
What condition triggers the out-of-bounds read?
The vulnerable logic dereferences a pointer in the first operand of a logical AND expression before evaluating the length check in the second operand. An out-of-bounds read can occur when the value length is exhausted before that pointer dereference.
How can I determine whether a fix is available in my kernel source or stable tree?
Check whether the QAT RSA leading-zero stripping logic validates vlen before dereferencing the pointer. The provided stable-tree references identify fixes at commits 4bf23041536d02008610b152f3e93bee0aba872a, 146ed488e74edaaebdee922f82901eafa2ae1c29, and e27e3ede7a65e1a5e58e7a46b3e85d9cfb066c23.