Skip to contentSkip to conversation

CVE-2026-99287: xen-netback: Zero out sring pointers on unmap

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Nov 10

lore
Share & tools
lore
#0 lore raw

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

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

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

xen-netback: Zero out sring pointers on unmap

If xenvif_map_frontend_data_rings() fails when a ring is already mapped, it unmaps them via xenvif_unmap_frontend_data_rings() which keeps the ring pointers unchanged. xenvif_connect_data()'s cleanup path calls xenvif_disconnect_queue() which in turn calls xenvif_unmap_frontend_data_rings() again, which will attempt to unmap the pointers a second time.

Zero out the ring pointers after they are unmapped to avoid this issue.

This is XSA-532

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

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

	Issue introduced in 5.5 with commit 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df and fixed in 6.12.117 with commit 87fd475dc4e354088f6534285388e7b061f54b35
	Issue introduced in 5.5 with commit 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df and fixed in 6.18.63 with commit c5f54af611ff6fe1d53fa05d8e87b469dc56122b
	Issue introduced in 5.5 with commit 2ac061ce97f413bfbbdd768f7d2e0fda2e8170df and fixed in 7.3.4 with commit e7ba61734d6ad6adfd5bf617052e590743211669

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

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/xen-netback/netback.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/87fd475dc4e354088f6534285388e7b061f54b35
	https://git.kernel.org/stable/c/c5f54af611ff6fe1d53fa05d8e87b469dc56122b
	https://git.kernel.org/stable/c/e7ba61734d6ad6adfd5bf617052e590743211669
	https://git.kernel.org/stable/c/f96f16592a32430a0582309d73a873b6d3ee2bdb