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.
Published: 2026-04-03
Score: 7.0 High
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

The Linux kernel contains a compatibility bug in SRv6 path handling where the function __in6_dev_get() can return NULL if a device lacks IPv6 configuration, such as when its MTU is below the minimum required value or after the device has been unregistered. In the current code, seg6_hmac_validate_skb() and ipv6_srh_rcv() use that value without checking for NULL, which can lead to a null‑pointer dereference during packet processing. The result of the dereference is a kernel panic that causes a system reboot or prolonged downtime, but it does not enable arbitrary code execution.

Affected Systems

All Linux kernel releases that do not contain the patch adding NULL checks to __in6_dev_get() before it is used in SRv6 packet handling are affected. This includes every kernel version prior to the commit that introduced the change, and therefore any production system running an unpatched kernel. No specific vendor or product version list is available beyond the Linux kernel as a whole.

Risk and Exploitability

The CVSS score for this issue is not supplied, and there is no EPSS data or CISA KEV listing. While the advisory does not provide explicit proof of exploitation, it is reasonable to infer that an attacker who can send SRv6-enabled IPv6 packets to the target can trigger the vulnerable code paths. Successful exploitation would cause a kernel panic or crash, leading to a denial‑of‑service condition on the affected host. The vulnerability is therefore primarily a local or remote denial of service stemming from a NULL pointer dereference.

Generated by OpenCVE AI on April 3, 2026 at 18:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that incorporates the null‑check patch for SRv6 paths.
  • If an immediate kernel upgrade is not feasible, mitigate by filtering or dropping SRv6 traffic using firewall rules (iptables or nftables) to prevent the kernel from processing the trigger packets.
  • After applying the patch, restart the system or reload network services to clear any potentially corrupted state.
  • Monitor system logs for kernel panics or unexpected reboots to confirm that the issue has been resolved.

Generated by OpenCVE AI on April 3, 2026 at 18:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 04 Apr 2026 01:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Fri, 03 Apr 2026 21:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Fri, 03 Apr 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title ipv6: add NULL checks for idev in SRv6 paths
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-04-03T15:15:26.851Z

Reserved: 2026-01-13T15:37:46.018Z

Link: CVE-2026-23442

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-04-03T16:16:28.423

Modified: 2026-04-03T16:16:28.423

Link: CVE-2026-23442

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-04-03T00:00:00Z

Links: CVE-2026-23442 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-03T21:16:09Z

Weaknesses