Skip to contentSkip to conversation

CVE-2026-80614: net: emac: Fix NULL pointer dereference in emac_probe

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 28

lore
Share & tools
lore
#0 lore raw

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

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

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

net: emac: Fix NULL pointer dereference in emac_probe

Move devm_request_irq() after devm_platform_ioremap_resource() so that dev->emacp is mapped before the interrupt handler can fire. An early interrupt hitting emac_irq() would dereference the NULL dev->emacp and crash.

Also remove redundant error message. devm_platform_ioremap_resource() already returns an error message with dev_err_probe().

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

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

	Issue introduced in 6.12 with commit dcc34ef7c83473222027f475014a2bf8ab798372 and fixed in 6.18.40 with commit a103cdb0681e7185d1b0a12ce6a7c5416c208ccd
	Issue introduced in 6.12 with commit dcc34ef7c83473222027f475014a2bf8ab798372 and fixed in 7.1.5 with commit 44068b6863fbda78fc810921ddf61642c377b3ca
	Issue introduced in 6.12 with commit dcc34ef7c83473222027f475014a2bf8ab798372 and fixed in 7.2 with commit f623d38fe6c4e8c40b23f42cc6fe6963fa49997b

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

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/net/ethernet/ibm/emac/core.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/a103cdb0681e7185d1b0a12ce6a7c5416c208ccd
	https://git.kernel.org/stable/c/44068b6863fbda78fc810921ddf61642c377b3ca
	https://git.kernel.org/stable/c/f623d38fe6c4e8c40b23f42cc6fe6963fa49997b