CVE-2026-23442
JSON

5.5medium

ipv6: add NULL checks for idev in SRv6 paths

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: 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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 1ababeba4a21f3dba3da3523c670b207fb2feb62 before 0348fa0ada37cef7c6b5ab2a428bb2c6aee784e4, from 1ababeba4a21f3dba3da3523c670b207fb2feb62 before 83d705d35e583cb1b1eacf196dfe7b77d442018e, from 1ababeba4a21f3dba3da3523c670b207fb2feb62 before d1bd8b9edc6752d10f84d28ff64f842401ce336d, from 1ababeba4a21f3dba3da3523c670b207fb2feb62 before 50352fc103928e10e8729abc79a0d05abef26c4d, from 1ababeba4a21f3dba3da3523c670b207fb2feb62 before bc9843c39f9932a8b36efd1d362ea00bb88e4e78, from 1ababeba4a21f3dba3da3523c670b207fb2feb62 before c5cedee5d97382176573bbe21e1724e737a5eb64, from 1ababeba4a21f3dba3da3523c670b207fb2feb62 before a25853c9feea7bbf31d157ff6e004d2d3b4f7f13, from 1ababeba4a21f3dba3da3523c670b207fb2feb62 before 06413793526251870e20402c39930804f14d59c0 and 1 more
Not affected: before 4.10, from 5.10.258 up to 5.10.*, from 5.15.209 up to 5.15.*, from 6.1.175 up to 6.1.*, from 6.6.136 up to 6.6.*, from 6.12.83 up to 6.12.*
CVE List
linux linux_kernelfrom 4.10.1 before 6.12.83, from 6.13 before 6.19.10, 4.10, 7.0NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: 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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ipv6: añadir comprobaciones de NULL para idev en las rutas SRv6 __in6_dev_get() puede devolver NULL cuando el dispositivo no tiene configuración IPv6 (p. ej., MTU < IPV6_MIN_MTU o después de NETDEV_UNREGISTER). Añadir comprobaciones de NULL para idev devuelto por __in6_dev_get() tanto en seg6_hmac_validate_skb() como en ipv6_srh_rcv() para prevenir posibles desreferencias de puntero NULL.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-23442 changed 2026-11-05CVE Terms of Use
NVDCVE-2026-23442 changed 2026-11-05Public domain