Skip to contentSkip to conversation

CVE-2026-97915: accel/ivpu: Limit firmware log name prints to field size

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 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: Limit firmware log name prints to field size

The name in struct vpu_tracing_buffer_header is a fixed-size array populated by the NPU firmware. It is expected to be NUL-terminated, but nothing on the host side enforces this, so printing it with an unbounded string conversion would read past the field if the terminator is ever missing and expose adjacent bytes of the shared tracing BO through dmesg and the debugfs FW log output.

Print at most as many characters as the name field holds, so the output never runs past it even if the string is not NUL-terminated.

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

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

	Issue introduced in 6.6 with commit d4e4257afa6ed5205eda993180401fc2c20e4b60 and fixed in 6.12.111 with commit 6dbba89df4e842d226f5cd3dbc5e94533cfceea2
	Issue introduced in 6.6 with commit d4e4257afa6ed5205eda993180401fc2c20e4b60 and fixed in 6.18.53 with commit 5d06257359c9006a208fece9eb7f0a0e83e0cc92
	Issue introduced in 6.6 with commit d4e4257afa6ed5205eda993180401fc2c20e4b60 and fixed in 7.2.7 with commit 3d7130807009e9be6132c1394a2c7708a3ba39a7
	Issue introduced in 6.6 with commit d4e4257afa6ed5205eda993180401fc2c20e4b60 and fixed in 7.3-rc3 with commit 95bf070f3225dc7175725438c916ad321d42fe45

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

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_fw_log.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/6dbba89df4e842d226f5cd3dbc5e94533cfceea2
	https://git.kernel.org/stable/c/5d06257359c9006a208fece9eb7f0a0e83e0cc92
	https://git.kernel.org/stable/c/3d7130807009e9be6132c1394a2c7708a3ba39a7
	https://git.kernel.org/stable/c/95bf070f3225dc7175725438c916ad321d42fe45