Skip to contentSkip to conversation

CVE-2026-99045: ibmveth: h_free logical LAN on open-fail after register

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:

ibmveth: h_free logical LAN on open-fail after register

ibmveth_open() registers the logical LAN, then allocates the RX buffer pools. A pool failure jumps to out_free_buffer_pools without h_free_logical_lan(), so PHYP still owns the buffer-list page when it is unmapped. request_irq() failure already issued the hypercall before taking the same label.

Move that h_free to the shared post-register unwind so both paths deregister before the buffer list is unmapped.

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

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

	Issue introduced in 4.13 with commit d43732ce021f4244a4c53a45d57ad0c13c30ed94 and fixed in 6.6.160 with commit decb4d4ead2c71ef698727734ab5024a872eb372
	Issue introduced in 4.13 with commit d43732ce021f4244a4c53a45d57ad0c13c30ed94 and fixed in 6.12.113 with commit c54bbdf6f0731102a4bf7f5e4ee535b3ea415996
	Issue introduced in 4.13 with commit d43732ce021f4244a4c53a45d57ad0c13c30ed94 and fixed in 6.18.57 with commit a065bd31ec462f6f9c267026b708dd020f122723
	Issue introduced in 4.13 with commit d43732ce021f4244a4c53a45d57ad0c13c30ed94 and fixed in 7.2.11 with commit d24fdec1413c656d29298097926e77542785ca0c
	Issue introduced in 4.13 with commit d43732ce021f4244a4c53a45d57ad0c13c30ed94 and fixed in 7.3 with commit af0524bf4ce1a4cbd2946aa81751582951cfcab5

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

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/ibmveth.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/decb4d4ead2c71ef698727734ab5024a872eb372
	https://git.kernel.org/stable/c/c54bbdf6f0731102a4bf7f5e4ee535b3ea415996
	https://git.kernel.org/stable/c/a065bd31ec462f6f9c267026b708dd020f122723
	https://git.kernel.org/stable/c/d24fdec1413c656d29298097926e77542785ca0c
	https://git.kernel.org/stable/c/af0524bf4ce1a4cbd2946aa81751582951cfcab5