Skip to content
Heist/ feed
High

ipv6: do not let ipv6_find_hdr() return an offset past the packet end

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: ipv6: do not let ipv6_find_hdr() return an offset past the packet end ipv6_find_hdr() walks the extension header chain, skipping each header by the length that header itself declares. ipv6_optlen() returns up to 2048, and the skip is never checked against skb->len, so the offset stored in *offset can point past the end of the packet. openvswitch installs that offset as the transport header, and update_ipv6_checksum() then reads and writes the transport checksum field out of bounds: BUG: KASAN: slab-use-after-free in inet_proto_csum_replace16+0x445/0x470 Read of size 2 at addr ffff88810b754b06 by task ovs_ipv6_oob/629 CPU: 4 UID: 1000 PID: 629 Comm: ovs_ipv6_oob Tainted: G N 7.3.0-rc3+ #348 Call Trace: inet_proto_csum_replace16+0x445/0x470 set_ipv6_addr+0x3dd/0x460 do_execute_actions+0x6a3d/0x7c40 ovs_execute_actions+0xfd/0x480 ovs_packet_cmd_execute+0xc38/0xf20 genl_rcv_msg+0x59e/0x870 netlink_rcv_skb+0x18b/0x450 genl_rcv+0x2d/0x40 netlink_unicast+0x6bc/0xa20 The buggy address belongs to the object at ffff88810b754980 which belongs to the cache skbuff_small_head of size 704 The buggy address is located 390 bytes inside of freed 704-byte region [ffff88810b754980, ffff88810b754c40) Other callers use that offset too, so bound it here rather than in one caller. Reject a header whose declared length does not fit in the packet. ipv6_find_hdr() already fails with -EBADMSG on a malformed chain, so this adds no new fa

Announced Group revision 1
Original source ↗

CVE-2026-98532

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-98532

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "f8f626754ebeca613cf1af2e6f890cfde0e74d5b",
        "lessThan": "ca96b38730e31357ef4a9d76af1336958ac670d7",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f8f626754ebeca613cf1af2e6f890cfde0e74d5b",
        "lessThan": "531255de8971c06d5d5986f85fdc2525d707ba71",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f8f626754ebeca613cf1af2e6f890cfde0e74d5b",
        "lessThan": "543354c6efb27eae3372a3a9674aeaa2a86e2b2c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f8f626754ebeca613cf1af2e6f890cfde0e74d5b",
        "lessThan": "dc92cb972e86790b8078337ec41015b748b8f8e5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f8f626754ebeca613cf1af2e6f890cfde0e74d5b",
        "lessThan": "1c70275ca87e769e1a52abc644d61372d8c016cb",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f8f626754ebeca613cf1af2e6f890cfde0e74d5b",
        "lessThan": "1d42828565889632068fbc2983c34d57c66af4e0",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f8f626754ebeca613cf1af2e6f890cfde0e74d5b",
        "lessThan": "4254d5878c320c19961dd0b8e1d0aca4800d8b7d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f8f626754ebeca613cf1af2e6f890cfde0e74d5b",
        "lessThan": "ee319bd3a0e976af5087cbe59ebc50a66f31d202",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "net/ipv6/exthdrs_core.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "3.8"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "3.8",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.271",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.222",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.189",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.158",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.112",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.55",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.9",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/ipv6/exthdrs_core.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98532

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#55614 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement