bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-23442

5.5medium

linux6.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
Review Av26.10.0x86_64Not affected✓ accepted by a member, 2026-11-17 · settles 4 of 8

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/

  1. 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

  2. idev->cnf.accept_source_route only read under `if (idev)` (fixed form)

    …/net/ipv6/exthdrs.c:661-663

  3. seg6_hmac_validate_skb(): `idev = __in6_dev_get(skb->dev); if (!idev) return false;` — the fix hunk

    …/net/ipv6/seg6_hmac.c:186-188

  4. # CONFIG_IPV6_SEG6_HMAC is not set; seg6_hmac.o absent from output/objects.txt (only exthdrs.o and seg6.o built)

    …/.config:1111

  5. Kernel version 6.18.60

    …/Makefile:2-4

  6. 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.