Skip to contentSkip to conversation

CVE-2026-98882: media: chips-media: wave5: Add range checks for dec_output_info

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 23

lore
Share & tools
lore
#0 lore raw

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

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

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

media: chips-media: wave5: Add range checks for dec_output_info

If the driver's dec_output_info contains invalid data the driver can write in invalid memory. Add a range check for that.

This fixes this smatch error:
drivers/media/platform/chips-media/wave5/wave5-vpuapi.c:588 wave5_vpu_dec_get_output_info() error: buffer overflow 'inst->frame_buf' 64 <= 127

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

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

	Fixed in 6.12.111 with commit d6f777d11c7b34549cdadd8578d4b85f685eb976
	Fixed in 6.18.53 with commit 144f24ec0fc1e51673611912a6d14ded0a61db43
	Fixed in 7.2 with commit 79aef69bb0903616f4867f0168aea717a11c439c

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

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/media/platform/chips-media/wave5/wave5-vpuapi.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/d6f777d11c7b34549cdadd8578d4b85f685eb976
	https://git.kernel.org/stable/c/144f24ec0fc1e51673611912a6d14ded0a61db43
	https://git.kernel.org/stable/c/79aef69bb0903616f4867f0168aea717a11c439c