Skip to contentSkip to conversation

CVE-2026-90069: crypto: acomp - allocate async request context when cloning

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

crypto: acomp - allocate async request context when cloning

ACOMP_REQUEST_ON_STACK() reserves only enough storage for the synchronous fallback. When an async implementation is selected, callers clone that stack request before retrying, but acomp_request_clone() currently copies only the stack-sized object. The clone therefore has no storage for the async provider request context, and providers such as QAT write past the allocation through acomp_request_ctx(). KASAN does report a slab OOB write.

Allocate a zeroed clone large enough for the runtime acomp request size, copy only the bytes present in the source object, and preserve the existing fallback-on-allocation-failure behavior. Use the runtime reqsize because an implementation may adjust it during tfm initialization.

The Linux kernel CVE team has assigned CVE-2026-90069 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.16 with commit 097c432caaa6d91f87732fe991cb08139e31101a and fixed in 6.18.52 with commit d48197cbd5d3476c7deea644972e9ec510865ec2
	Issue introduced in 6.16 with commit 097c432caaa6d91f87732fe991cb08139e31101a and fixed in 7.2.6 with commit 889fa17a0af09ff93a9166abc82ee7a654faa49b
	Issue introduced in 6.16 with commit 097c432caaa6d91f87732fe991cb08139e31101a and fixed in 7.3-rc1 with commit ee440d4fc0d2f15894ab1f64c474a3adbc858880

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-90069

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
crypto/acompress.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/d48197cbd5d3476c7deea644972e9ec510865ec2
	https://git.kernel.org/stable/c/889fa17a0af09ff93a9166abc82ee7a654faa49b
	https://git.kernel.org/stable/c/ee440d4fc0d2f15894ab1f64c474a3adbc858880