Skip to contentSkip to conversation

CVE-2026-43099: ipv4: icmp: fix null-ptr-deref in icmp_build_probe()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 6

lore
Share & tools
lore
#0 lore raw

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

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

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

ipv4: icmp: fix null-ptr-deref in icmp_build_probe()

ipv6_stub->ipv6_dev_find() may return ERR_PTR(-EAFNOSUPPORT) when the IPv6 stack is not active (CONFIG_IPV6=m and not loaded), and passing this error pointer to dev_hold() will cause a kernel crash with null-ptr-deref.

Instead, silently discard the request. RFC 8335 does not appear to define a specific response for the case where an IPv6 interface identifier is syntactically valid but the implementation cannot perform the lookup at runtime, and silently dropping the request may safer than misreporting "No Such Interface".

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

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

	Issue introduced in 5.13 with commit d329ea5bd8845f0b196bf41b18b6173340d6e0e4 and fixed in 6.6.136 with commit 47a8bf52156ac7e7a581eca31c1f964ba4258d4d
	Issue introduced in 5.13 with commit d329ea5bd8845f0b196bf41b18b6173340d6e0e4 and fixed in 6.12.83 with commit 6be325206850a0891896d38bcf83a09d8b54ec48
	Issue introduced in 5.13 with commit d329ea5bd8845f0b196bf41b18b6173340d6e0e4 and fixed in 6.18.24 with commit f91b3ed9e7fa82a70511b5f6901c88379acf2964
	Issue introduced in 5.13 with commit d329ea5bd8845f0b196bf41b18b6173340d6e0e4 and fixed in 6.19.14 with commit 5b9911582d441f72fe6ccb15ffe3303bbc07f6f5
	Issue introduced in 5.13 with commit d329ea5bd8845f0b196bf41b18b6173340d6e0e4 and fixed in 7.0 with commit fde29fd9349327acc50d19a0b5f3d5a6c964dfd8

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

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:

	net/ipv4/icmp.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/47a8bf52156ac7e7a581eca31c1f964ba4258d4d
	https://git.kernel.org/stable/c/6be325206850a0891896d38bcf83a09d8b54ec48
	https://git.kernel.org/stable/c/f91b3ed9e7fa82a70511b5f6901c88379acf2964
	https://git.kernel.org/stable/c/5b9911582d441f72fe6ccb15ffe3303bbc07f6f5
	https://git.kernel.org/stable/c/fde29fd9349327acc50d19a0b5f3d5a6c964dfd8