Skip to contentSkip to conversation

CVE-2026-80646: ipv6: guard against possible NULL deref in __in6_dev_stats_get()

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:

ipv6: guard against possible NULL deref in __in6_dev_stats_get()

dev_get_by_index_rcu() could return NULL if the original physical device is unregistered.

Found by Sashiko.

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

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

	Issue introduced in 5.2 with commit e1ae5c2ea4783b1fd87be250f9fcc9d9e1a6ba3f and fixed in 5.10.261 with commit a23f2c68c6635e41404f189f8f7ae910738cebdb
	Issue introduced in 5.2 with commit e1ae5c2ea4783b1fd87be250f9fcc9d9e1a6ba3f and fixed in 5.15.212 with commit e14db43677946bf2095febd294bb3c13ab375ab7
	Issue introduced in 5.2 with commit e1ae5c2ea4783b1fd87be250f9fcc9d9e1a6ba3f and fixed in 6.1.178 with commit 1a4adfbeb47a212a64539137411f1ca168474d33
	Issue introduced in 5.2 with commit e1ae5c2ea4783b1fd87be250f9fcc9d9e1a6ba3f and fixed in 6.6.145 with commit 1e3db30a88815bae6e9d5db6f64ac735e615a07e
	Issue introduced in 5.2 with commit e1ae5c2ea4783b1fd87be250f9fcc9d9e1a6ba3f and fixed in 6.12.97 with commit 952426a83ca75cea25c09d58944abafaa3ebd242
	Issue introduced in 5.2 with commit e1ae5c2ea4783b1fd87be250f9fcc9d9e1a6ba3f and fixed in 6.18.40 with commit 0db1949084e85a72d174a7dea3259b94fe5a9305
	Issue introduced in 5.2 with commit e1ae5c2ea4783b1fd87be250f9fcc9d9e1a6ba3f and fixed in 7.1.5 with commit fc920c0659cdea5afd8721c1155a51564859e075
	Issue introduced in 5.2 with commit e1ae5c2ea4783b1fd87be250f9fcc9d9e1a6ba3f and fixed in 7.2 with commit 507541c2a8eeb76c02bd2511958f73a8cfa3e1bc
	Issue introduced in 4.19.291 with commit a24963500a4ec921ce9c2597e0a584e44513afae

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

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:
include/net/addrconf.h

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/a23f2c68c6635e41404f189f8f7ae910738cebdb
	https://git.kernel.org/stable/c/e14db43677946bf2095febd294bb3c13ab375ab7
	https://git.kernel.org/stable/c/1a4adfbeb47a212a64539137411f1ca168474d33
	https://git.kernel.org/stable/c/1e3db30a88815bae6e9d5db6f64ac735e615a07e
	https://git.kernel.org/stable/c/952426a83ca75cea25c09d58944abafaa3ebd242
	https://git.kernel.org/stable/c/0db1949084e85a72d174a7dea3259b94fe5a9305
	https://git.kernel.org/stable/c/fc920c0659cdea5afd8721c1155a51564859e075
	https://git.kernel.org/stable/c/507541c2a8eeb76c02bd2511958f73a8cfa3e1bc