CVE-2026-99064 (GCVE-0-2026-99064)
Vulnerability from cvelistv5
Published
2026-10-23 12:23
Modified
2026-10-24 14:10
Summary
In the Linux kernel, the following vulnerability has been resolved: cipso: adjust cached option offsets when removing CIPSO cipso_v4_skbuff_delattr() removes the CIPSO bytes but does not adjust cached offsets for options that follow them. For example, with a valid 10-byte CIPSO option followed by a seven-byte RR option, parsing records rr at offset 30. Removing CIPSO moves RR to offset 20, while the cached offset remains 30. Consumers such as ip_forward_options() and __ip_options_echo() then access the wrong bytes; the latter may interpret packet data as the option length and copy it into fixed-size option storage. Mirror cipso_v4_delopt() and subtract cipso_len from the srr, rr, ts and router_alert offsets when they follow CIPSO. cipso_len is the distance the first memmove() shifts those options. The later header move and network-header reset relocate the bytes and their offset base together.
Impacted products
Vendor Product Version
Linux Linux Version: 89aa3619d141d6cfb6040a561aebb6d99d3e2285
Version: 89aa3619d141d6cfb6040a561aebb6d99d3e2285
Version: 89aa3619d141d6cfb6040a561aebb6d99d3e2285
Version: 89aa3619d141d6cfb6040a561aebb6d99d3e2285
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/ipv4/cipso_ipv4.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b965977126a90e01825814c859ba4788691eddd3",
              "status": "affected",
              "version": "89aa3619d141d6cfb6040a561aebb6d99d3e2285",
              "versionType": "git"
            },
            {
              "lessThan": "2200fe1d6148b78e1b8f00f4b2bd47760015077f",
              "status": "affected",
              "version": "89aa3619d141d6cfb6040a561aebb6d99d3e2285",
              "versionType": "git"
            },
            {
              "lessThan": "6e49d611a9cfbaac927b8fa80ebd4f6b1f37ada0",
              "status": "affected",
              "version": "89aa3619d141d6cfb6040a561aebb6d99d3e2285",
              "versionType": "git"
            },
            {
              "lessThan": "6d25ffca055a77787c21a36b66c253f76239411b",
              "status": "affected",
              "version": "89aa3619d141d6cfb6040a561aebb6d99d3e2285",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/ipv4/cipso_ipv4.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.10"
            },
            {
              "lessThan": "6.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.113",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.57",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.113",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.57",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.11",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncipso: adjust cached option offsets when removing CIPSO\n\ncipso_v4_skbuff_delattr() removes the CIPSO bytes but does not adjust\ncached offsets for options that follow them.\n\nFor example, with a valid 10-byte CIPSO option followed by a seven-byte\nRR option, parsing records rr at offset 30.  Removing CIPSO moves RR to\noffset 20, while the cached offset remains 30.  Consumers such as\nip_forward_options() and __ip_options_echo() then access the wrong bytes;\nthe latter may interpret packet data as the option length and copy it into\nfixed-size option storage.\n\nMirror cipso_v4_delopt() and subtract cipso_len from the srr, rr, ts and\nrouter_alert offsets when they follow CIPSO.  cipso_len is the distance\nthe first memmove() shifts those options.  The later header move and\nnetwork-header reset relocate the bytes and their offset base together."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - A remote peer can send an IPv4 datagram containing valid CIPSO followed by RR/TS; ip_rcv()-\u003eip_rcv_options() caches their wire offsets, then selinux_ip_forward()-\u003enetlbl_skbuff_setattr()-\u003ecipso_v4_skbuff_delattr() removes CIPSO without rebasing them.\nAC:H - The strongest path requires a CONFIG_NETLABEL/SELinux forwarding gateway with network_peer_controls, a recognized CIPSO DOI, an UNLABELED egress mapping, and a later FORWARD REJECT invoking nf_send_unreach(); these non-default conditions are outside the sender\u0027s control.\nPR:N - __ip_options_compile() applies CAP_NET_RAW only when skb is NULL; received packets undergo cipso_v4_validate() and SELinux label-policy checks, but require no peer authentication, victim credentials, or target-side privileges.\nUI:N - After the datagram arrives, ip_rcv(), SELinux FORWARD relabeling, and nf_send_unreach()-\u003e__ip_options_echo() execute entirely in kernel packet handling without any victim action.\nS:U - The overwrite occurs in __ip_options_echo()\u0027s in-kernel reply-option storage and can compromise the same host kernel; it crosses no VM, IOMMU, or separate security-authority boundary.\nC:H - With stale opt-\u003err pointing into payload, __ip_options_echo() takes an attacker-chosen length and source bytes and copies up to 255 bytes into 40-byte replyopts.opt.__data; control-flow compromise from this stack overwrite can expose arbitrary kernel memory.\nI:H - The memcpy() can place 255 attacker-controlled payload bytes into the 40-byte stack destination, crossing the stack canary and saved return address in the demonstrated x86-64 layout and enabling kernel control-flow hijacking.\nA:H - The 255-byte __ip_options_echo() stack overwrite triggers KASAN or the stack canary and can panic the kernel; the packet-processing path can be invoked repeatedly with crafted IPv4 datagrams."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-24T14:10:17.979Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b965977126a90e01825814c859ba4788691eddd3"
        },
        {
          "url": "https://git.kernel.org/stable/c/2200fe1d6148b78e1b8f00f4b2bd47760015077f"
        },
        {
          "url": "https://git.kernel.org/stable/c/6e49d611a9cfbaac927b8fa80ebd4f6b1f37ada0"
        },
        {
          "url": "https://git.kernel.org/stable/c/6d25ffca055a77787c21a36b66c253f76239411b"
        }
      ],
      "title": "cipso: adjust cached option offsets when removing CIPSO",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99064",
    "datePublished": "2026-10-23T12:23:05.854Z",
    "dateReserved": "2026-09-25T10:25:14.389Z",
    "dateUpdated": "2026-10-24T14:10:17.979Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…