Skip to contentSkip to conversation

CVE-2025-68766: irqchip/mchp-eic: Fix error code in mchp_eic_domain_alloc()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jan 5

lore
Share & tools
lore
#0 lore raw

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

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

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

irqchip/mchp-eic: Fix error code in mchp_eic_domain_alloc()

If irq_domain_translate_twocell() sets "hwirq" to >= MCHP_EIC_NIRQ (2) then it results in an out of bounds access.

The code checks for invalid values, but doesn't set the error code. Return -EINVAL in that case, instead of returning success.

The Linux kernel CVE team has assigned CVE-2025-68766 to this issue.

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

	Issue introduced in 5.16 with commit 00fa3461c86dd289b441d4d5a6bb236064bd207b and fixed in 6.12.63 with commit 3873afcb57614c1aaa5b6715554d6d1c22cac95a
	Issue introduced in 5.16 with commit 00fa3461c86dd289b441d4d5a6bb236064bd207b and fixed in 6.17.13 with commit 09efe7cfbf919c4d763bc425473fcfee0dc98356
	Issue introduced in 5.16 with commit 00fa3461c86dd289b441d4d5a6bb236064bd207b and fixed in 6.18.2 with commit efd65e2e2fd96f7aaa5cb07d79bbbfcfc80aa552
	Issue introduced in 5.16 with commit 00fa3461c86dd289b441d4d5a6bb236064bd207b and fixed in 6.19-rc1 with commit 7dbc0d40d8347bd9de55c904f59ea44bcc8dedb7

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-2025-68766

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/irqchip/irq-mchp-eic.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/3873afcb57614c1aaa5b6715554d6d1c22cac95a
	https://git.kernel.org/stable/c/09efe7cfbf919c4d763bc425473fcfee0dc98356
	https://git.kernel.org/stable/c/efd65e2e2fd96f7aaa5cb07d79bbbfcfc80aa552
	https://git.kernel.org/stable/c/7dbc0d40d8347bd9de55c904f59ea44bcc8dedb7