Menu

Star on GitHub · 3.4k

CVE-2026-98531

In the Linux kernel, the following vulnerability has been resolved: ipv6: sr: enforce exact attribute length for SEG6_ATTR_DST In seg6_genl_policy, SEG6_ATTR_DST is defined with .type = NLA_BINAR…

Published Oct 18, 2026EPSS 0.22%

Overview

CVE-2026-98531 is a known-severity vulnerability. It was published on October 18, 2026.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

ipv6: sr: enforce exact attribute length for SEG6_ATTR_DST

In seg6_genl_policy, SEG6_ATTR_DST is defined with .type = NLA_BINARY and

.len = sizeof(struct in6_addr). For NLA_BINARY, .len only enforces the

maximum payload length and permits shorter payloads (e.g., 0 bytes).

When seg6_genl_set_tunsrc() copies sizeof(struct in6_addr) bytes via

kmemdup(val, sizeof(*val), GFP_KERNEL), a short SEG6_ATTR_DST attribute

triggers a 16-byte out-of-bounds read past skb->tail into uninitialized

skb->head memory, which is stored in sdata->tun_src and leaked back to

userspace via SEG6_CMD_GET_TUNSRC.

Switch SEG6_ATTR_DST in seg6_genl_policy to

NLA_POLICY_EXACT_LEN(sizeof(struct in6_addr)) so that generic netlink

validation rejects any attribute whose length is not exactly

sizeof(struct in6_addr) with -ERANGE.

Tested in QEMU against Linux 7.3.0-rc3 by sending a SEG6_CMD_SET_TUNSRC

Generic Netlink message with a 0-byte SEG6_ATTR_DST

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2026-98531?

CVE-2026-98531 is a known-severity vulnerability. It was published on October 18, 2026.

How severe is CVE-2026-98531?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

How do I fix or remediate CVE-2026-98531?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-98531?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-98531 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

LiveWatch live →