Skip to contentSkip to conversation

CVE-2026-53169: accel/ethosu: reject NPU_OP_RESIZE commands from userspace

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/ethosu: reject NPU_OP_RESIZE commands from userspace

NPU_OP_RESIZE is a U85-only command that the driver does not yet implement. The existing WARN_ON(1) placeholder fires unconditionally whenever userspace submits this command via DRM_IOCTL_ETHOSU_GEM_CREATE, causing unbounded kernel log spam.

If panic_on_warn is set the kernel panics, giving any unprivileged user with access to the DRM device a trivial denial-of-service primitive.

Replace the WARN_ON(1) with an explicit -EINVAL return so the ioctl rejects the command before it reaches hardware.

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

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

	Issue introduced in 6.19 with commit 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b and fixed in 7.0.13 with commit 70090a32f56a4589e7e860e0f9a8fbe4417df0a1
	Issue introduced in 6.19 with commit 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b and fixed in 7.1 with commit ef911805d86a05363d3ec2fa9835a41def83bb7e

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

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/ethosu/ethosu_gem.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/70090a32f56a4589e7e860e0f9a8fbe4417df0a1
	https://git.kernel.org/stable/c/ef911805d86a05363d3ec2fa9835a41def83bb7e