Skip to contentSkip to conversation

CVE-2026-53202: accel/ivpu: Fix signed integer truncation in IPC receive

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 25

lore
Share & tools
lore
#0 lore raw

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

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

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

accel/ivpu: Fix signed integer truncation in IPC receive

Fix potential buffer overflow where firmware-supplied data_size is cast to signed int before being used in min_t(). Large unsigned values (>= 0x80000000) become negative, causing unsigned wraparound and oversized memcpy operations that can overflow the stack buffer.

Change min_t(int, ...) to min() as both values are unsigned and can be handled by min() without explicit cast.

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

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

	Issue introduced in 6.8 with commit 3b434a3445fff3149128db0169da864d67057325 and fixed in 6.12.94 with commit 4788556d4dd9d717037e385de178974e9649231d
	Issue introduced in 6.8 with commit 3b434a3445fff3149128db0169da864d67057325 and fixed in 6.18.36 with commit 45cb105b8642c65e9be286f7058e92314efe7ea3
	Issue introduced in 6.8 with commit 3b434a3445fff3149128db0169da864d67057325 and fixed in 7.0.13 with commit 2821bf2b79e47f87e1dbdd9d25c78240965a97d6
	Issue introduced in 6.8 with commit 3b434a3445fff3149128db0169da864d67057325 and fixed in 7.1 with commit d9faef564438d1e4579c692c046603e7ada7bdf4

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-53202

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:
drivers/accel/ivpu/ivpu_ipc.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/4788556d4dd9d717037e385de178974e9649231d
	https://git.kernel.org/stable/c/45cb105b8642c65e9be286f7058e92314efe7ea3
	https://git.kernel.org/stable/c/2821bf2b79e47f87e1dbdd9d25c78240965a97d6
	https://git.kernel.org/stable/c/d9faef564438d1e4579c692c046603e7ada7bdf4