Skip to contentSkip to conversation

CVE-2026-63922: ipv6: exthdrs: refresh nh after handling HAO option

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 19

lore
Share & tools
lore
#0 lore raw

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

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

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

ipv6: exthdrs: refresh nh after handling HAO option

ip6_parse_tlv() caches skb_network_header(skb) in nh while walking IPv6 TLVs.

ipv6_dest_hao() may call pskb_expand_head() for a cloned skb, which can move the skb head and invalidate the cached network header pointer. Refresh nh after ipv6_dest_hao() returns so any trailing padding or TLVs are parsed from the current skb head.

This matches the existing pattern used in ip6_parse_tlv() after helpers that can modify skb header storage.

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

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

	Issue introduced in 2.6.19 with commit a831f5bbc89a9978795504be9e1ff412043f8f77 and fixed in 5.15.210 with commit f8aabed3ff3e986920cf02a2a2785e08e586b234
	Issue introduced in 2.6.19 with commit a831f5bbc89a9978795504be9e1ff412043f8f77 and fixed in 6.1.176 with commit 1a11eb7431e3d2882f5bd5939c5a9bbc65ccf4d1
	Issue introduced in 2.6.19 with commit a831f5bbc89a9978795504be9e1ff412043f8f77 and fixed in 6.6.143 with commit 12d957979e4a800167842f1b42be6a606d227ebe
	Issue introduced in 2.6.19 with commit a831f5bbc89a9978795504be9e1ff412043f8f77 and fixed in 6.12.93 with commit ff375ed1cba81392346c5bfbf0bb7a13b2946f99
	Issue introduced in 2.6.19 with commit a831f5bbc89a9978795504be9e1ff412043f8f77 and fixed in 6.18.35 with commit 751db1b802a067b7fff25880f4e9f9152a171538
	Issue introduced in 2.6.19 with commit a831f5bbc89a9978795504be9e1ff412043f8f77 and fixed in 7.0.12 with commit 9b6dcc0a39fd71752937f0b6b3973e1416085dcf
	Issue introduced in 2.6.19 with commit a831f5bbc89a9978795504be9e1ff412043f8f77 and fixed in 7.1 with commit f7b52afe3592eae66e160586b45a3f2242972c63

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

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/ipv6/exthdrs.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/f8aabed3ff3e986920cf02a2a2785e08e586b234
	https://git.kernel.org/stable/c/1a11eb7431e3d2882f5bd5939c5a9bbc65ccf4d1
	https://git.kernel.org/stable/c/12d957979e4a800167842f1b42be6a606d227ebe
	https://git.kernel.org/stable/c/ff375ed1cba81392346c5bfbf0bb7a13b2946f99
	https://git.kernel.org/stable/c/751db1b802a067b7fff25880f4e9f9152a171538
	https://git.kernel.org/stable/c/9b6dcc0a39fd71752937f0b6b3973e1416085dcf
	https://git.kernel.org/stable/c/f7b52afe3592eae66e160586b45a3f2242972c63