Skip to contentSkip to conversation

CVE-2026-46313: media: intel/ipu6: fix error pointer dereference

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 8

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: intel/ipu6: fix error pointer dereference

In a error path isp->psys is confirmed to be an error pointer not NULL so this condition is true and the error pointer is dereferenced. So isp-psys should be set to NULL before going to out_ipu6_bus_del_devices.

Detected by Smatch:
drivers/media/pci/intel/ipu6/ipu6.c:690 ipu6_pci_probe() error:
'isp->psys' dereferencing possible ERR_PTR()

[Sakari Ailus: Fix commit message.]

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

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

	Issue introduced in 6.10 with commit 25fedc021985a66a357a599ab771d6b495b6f78c and fixed in 6.12.90 with commit fad134c446189e9bb48cea1a5ca426d2889a9c71
	Issue introduced in 6.10 with commit 25fedc021985a66a357a599ab771d6b495b6f78c and fixed in 6.18.32 with commit f43e30646fc93799f3f48530d0ccbd52902c0541
	Issue introduced in 6.10 with commit 25fedc021985a66a357a599ab771d6b495b6f78c and fixed in 7.0.9 with commit c352f90e093ae49902e47f41579e1aa41899ff64
	Issue introduced in 6.10 with commit 25fedc021985a66a357a599ab771d6b495b6f78c and fixed in 7.1-rc1 with commit 8dd088b8b106f7b119664f965b691785998edcfb

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

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/pci/intel/ipu6/ipu6.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/fad134c446189e9bb48cea1a5ca426d2889a9c71
	https://git.kernel.org/stable/c/f43e30646fc93799f3f48530d0ccbd52902c0541
	https://git.kernel.org/stable/c/c352f90e093ae49902e47f41579e1aa41899ff64
	https://git.kernel.org/stable/c/8dd088b8b106f7b119664f965b691785998edcfb