CVE-2026-43101: ipv6: ioam: fix potential NULL dereferences in __ioam6_fill_trace_data()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ipv6: ioam: fix potential NULL dereferences in __ioam6_fill_trace_data()
We need to check __in6_dev_get() for possible NULL value, as suggested by Yiming Qian.
Also add skb_dst_dev_rcu() instead of skb_dst_dev(), and two missing READ_ONCE().
Note that @dev can't be NULL.
The Linux kernel CVE team has assigned CVE-2026-43101 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.15 with commit 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0 and fixed in 6.18.24 with commit 4198aab6f000b4febb18ea820fea20634dd789c7 Issue introduced in 5.15 with commit 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0 and fixed in 6.19.14 with commit 3719c234fa94c37c955b1ecd3742ef280ec135e6 Issue introduced in 5.15 with commit 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0 and fixed in 7.0 with commit 4e65a8b8daa18d63255ec58964dd192c7fdd9f8b
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-43101
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/ioam6.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/4198aab6f000b4febb18ea820fea20634dd789c7 https://git.kernel.org/stable/c/3719c234fa94c37c955b1ecd3742ef280ec135e6 https://git.kernel.org/stable/c/4e65a8b8daa18d63255ec58964dd192c7fdd9f8b