{
  "id": "CVE-2026-64132",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64132",
  "published_at": "2026-07-19T15:40:27.59Z",
  "title": "ipv6: ioam: refresh hdr pointer before ioam6_event()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: ioam: refresh hdr pointer before ioam6_event()\n\nReported by Sashiko:\n\nIn ipv6_hop_ioam(), the hdr pointer is initialized to point into the\nskb's linear data buffer. Later, the code calls skb_ensure_writable(),\nwhich might reallocate the buffer:\n\n\tif (skb_ensure_writable(skb, optoff + 2 + hdr-\u003eopt_len))\n\t\tgoto drop;\n\n\t/* Trace pointer may have changed */\n\ttrace = (struct ioam6_trace_hdr *)(skb_network_header(skb)\n\t\t\t\t\t   + optoff + sizeof(*hdr));\n\n\tioam6_fill_trace_data(skb, ns, trace, true);\n\n\tioam6_event(IOAM6_EVENT_TRACE, dev_net(skb-\u003edev),\n\t\t    GFP_ATOMIC, (void *)trace, hdr-\u003eopt_len - 2);\n\nIf the skb is cloned or lacks sufficient linear headroom,\nskb_ensure_writable() will invoke pskb_expand_head(), which reallocates\nthe skb's data buffer and frees the old one, invalidating pointers to\nit. While the code recalculates the trace pointer immediately after the\ncall to skb_ensure_writable(), it fails to recalculate the hdr pointer.\n\nThis patch fixes the above by recalculating the hdr pointer before\npassing hdr-\u003eopt_len to ioam6_event(), so that we avoid any UaF.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= f655c78d6225f585ef60a9d93ffb79d507ff3ad3, \u003c 769723124b7c3b2bfea4cf68ad292698b87c8d01",
          "\u003e= f655c78d6225f585ef60a9d93ffb79d507ff3ad3, \u003c 24de676da63c1122d2c13b0d546238b66d1b4e62",
          "\u003e= f655c78d6225f585ef60a9d93ffb79d507ff3ad3, \u003c 5af905aa8e91ff8d94572a1e089558f21dcf24ed",
          "\u003e= f655c78d6225f585ef60a9d93ffb79d507ff3ad3, \u003c e46e6bc97fb1f339730ff1ba74267fbf48e7a422"
        ],
        "fixed_in": [
          "769723124b7c3b2bfea4cf68ad292698b87c8d01",
          "24de676da63c1122d2c13b0d546238b66d1b4e62",
          "5af905aa8e91ff8d94572a1e089558f21dcf24ed",
          "e46e6bc97fb1f339730ff1ba74267fbf48e7a422"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.9"
        ],
        "fixed_in": [
          "0",
          "6.12.92",
          "6.18.34",
          "7.0.11",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 769723124b7c3b2bfea4cf68ad292698b87c8d01 or 24de676da63c1122d2c13b0d546238b66d1b4e62 or 5af905aa8e91ff8d94572a1e089558f21dcf24ed or e46e6bc97fb1f339730ff1ba74267fbf48e7a422 or later.",
      "Upgrade Linux to 0 or 6.12.92 or 6.18.34 or 7.0.11 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
