Kernel Kit / Infix / v26.10.0latest
CVE-2026-23442
5.5mediumlinux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases
Reach linux · 8 builds in 4 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
ipv6: add NULL checks for idev in SRv6 paths
__in6_dev_get() can return NULL when the device has no IPv6 configuration (e.g. MTU < IPV6_MIN_MTU or after NETDEV_UNREGISTER).
Add NULL checks for idev returned by __in6_dev_get() in both seg6_hmac_validate_skb() and ipv6_srh_rcv() to prevent potential NULL pointer dereferences.
Published 2026-04-03NVD
CVSS 3.1Local · low privileges · no user interaction
How it is reached
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
What it costs
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Scope
- Unchanged
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References 9
- git.kernel.org/stable/c/0348fa0ada37cef7c6b5ab2a428bb2c6aee784e4
- git.kernel.org/stable/c/06413793526251870e20402c39930804f14d59c0
- git.kernel.org/stable/c/50352fc103928e10e8729abc79a0d05abef26c4d
- git.kernel.org/stable/c/83d705d35e583cb1b1eacf196dfe7b77d442018e
- git.kernel.org/stable/c/a25853c9feea7bbf31d157ff6e004d2d3b4f7f13
- git.kernel.org/stable/c/bc9843c39f9932a8b36efd1d362ea00bb88e4e78
- git.kernel.org/stable/c/c5cedee5d97382176573bbe21e1724e737a5eb64
- git.kernel.org/stable/c/d1bd8b9edc6752d10f84d28ff64f842401ce336d
Fable 5.1 · high confidence · 2026-11-05
The linux-6.18.60 source in this tree already contains the CVE-2026-23442 fix: ipv6_rthdr_rcv() in net/ipv6/exthdrs.c checks idev for NULL before calling ipv6_srh_rcv()/ipv6_rpl_srh_rcv(), and seg6_hmac_validate_skb() in net/ipv6/seg6_hmac.c returns false when __in6_dev_get() yields NULL.
In addition, CONFIG_IPV6_SEG6_HMAC is not set so seg6_hmac.c is not compiled at all.
NVD's range for 6.18.60 does not reflect the stable backport; no action is required beyond documenting it as N/A.
Evidence 6
…/ is output/build/linux-6.18.60/
ipv6_rthdr_rcv() has `if (!idev) goto disabled;` before ipv6_srh_rcv() and ipv6_rpl_srh_rcv() — the fix hunk
…/net/ipv6/exthdrs.c:685-692
idev->cnf.accept_source_route only read under `if (idev)` (fixed form)
…/net/ipv6/exthdrs.c:661-663
seg6_hmac_validate_skb(): `idev = __in6_dev_get(skb->dev); if (!idev) return false;` — the fix hunk
…/net/ipv6/seg6_hmac.c:186-188
# CONFIG_IPV6_SEG6_HMAC is not set; seg6_hmac.o absent from output/objects.txt (only exthdrs.o and seg6.o built)
…/.config:1111
Kernel version 6.18.60
…/Makefile:2-4
No Buildroot/Infix patch touches exthdrs.c or seg6_hmac.c; fix is from the upstream stable tarball
…/.applied_patches_list
Version and patches
CVE fixed upstream and backported to stable branches (8 stable commits listed by the kernel CNA). The 6.18.60 tarball unpacked in this tree already contains both fix hunks (exthdrs.c and seg6_hmac.c). NVD's CPE match for 6.18.60 is stale relative to the stable backport. No local patches apply to the affected files.
Recommendation
Document as N/A: fix already present in linux 6.18.60 source. No upgrade or backport needed.
Open questions
None. Note for context: CONFIG_IPV6=y means the exthdrs.c routing-header path is reachable from the network by any IPv6 packet carrying a type-4 SRH, so the presence of the fix (not reachability) is what decides this one.
Members of Kernel Kit decide. Sign in if you are one.