CVE-2026-99943 (GCVE-0-2026-99943)

Vulnerability from cvelistv5 – Published: 2026-11-30 13:18 – Updated: 2026-12-01 05:44
VLAI
Title
ipmr: only copy pktinfo to cache reports
Summary
In the Linux kernel, the following vulnerability has been resolved: ipmr: only copy pktinfo to cache reports ipmr_cache_report() prepares IP_PKTINFO on the original skb. The ipv4_pktinfo_prepare() helper updates skb->cb and clears the pktinfo fields when packet info is disabled. Since the skb can continue through the data path, preserve and restore its original control block around the helper. The original implementation copies the entire control block to the report skb. For synthetic RTM_GETROUTE packets, NETLINK_CB data is interpreted as IPCB by the raw IPv4 receive path. With IP_RECVOPTS or IP_RETOPTS enabled, corrupted option offsets cause out-of-bounds reads or a stack buffer overflow. WHOLEPKT and WRVIFWHOLE reports also inherit stale IP option offsets when their header is prepended. Clear the report skb control block. Only prepare and copy pktinfo when the input skb has an IPv4 header. Synthetic route-query skbs use NETLINK_CB, not IPCB, so leave their report control block zeroed. Restore pkt->cb after preparing pktinfo for regular IPv4 packets.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8585 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 2a9df39afb332035eceb5d793d18193386e79dc9 (git)
Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 91b7d6abf96793b79f4ac5fd0163a1f15aa9b307 (git)
Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 1fc0b66a123f25f0a5965a9cbe8312a37d5afeec (git)
Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 9b003d5c6e84ffe4593f13ef30605519cf55d54a (git)
Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 936d3aa096a9308603aec9a03a8d2e90bdf1509b (git)
Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 94a6736bb5abe6b2ef38490d0cab19c1c6a7c71f (git)
guessed Create a notification for this product.
Linux Linux Affected: 2.6.12
Unaffected: 0 , < 2.6.12 (semver)
Unaffected: 6.1.193 , ≤ 6.1.* (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.118 , ≤ 6.12.* (semver)
Unaffected: 6.18.64 , ≤ 6.18.* (semver)
Unaffected: 7.3.4 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/ipv4/ipmr.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "2a9df39afb332035eceb5d793d18193386e79dc9",
              "status": "affected",
              "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
              "versionType": "git"
            },
            {
              "lessThan": "91b7d6abf96793b79f4ac5fd0163a1f15aa9b307",
              "status": "affected",
              "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
              "versionType": "git"
            },
            {
              "lessThan": "1fc0b66a123f25f0a5965a9cbe8312a37d5afeec",
              "status": "affected",
              "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
              "versionType": "git"
            },
            {
              "lessThan": "9b003d5c6e84ffe4593f13ef30605519cf55d54a",
              "status": "affected",
              "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
              "versionType": "git"
            },
            {
              "lessThan": "936d3aa096a9308603aec9a03a8d2e90bdf1509b",
              "status": "affected",
              "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
              "versionType": "git"
            },
            {
              "lessThan": "94a6736bb5abe6b2ef38490d0cab19c1c6a7c71f",
              "status": "affected",
              "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/ipv4/ipmr.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.12"
            },
            {
              "lessThan": "2.6.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.193",
                  "versionStartIncluding": "2.6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "2.6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.118",
                  "versionStartIncluding": "2.6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.64",
                  "versionStartIncluding": "2.6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.4",
                  "versionStartIncluding": "2.6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "2.6.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nipmr: only copy pktinfo to cache reports\n\nipmr_cache_report() prepares IP_PKTINFO on the original skb. The\nipv4_pktinfo_prepare() helper updates skb-\u003ecb and clears the pktinfo fields\nwhen packet info is disabled. Since the skb can continue through the data\npath, preserve and restore its original control block around the helper.\n\nThe original implementation copies the entire control block to the report\nskb. For synthetic RTM_GETROUTE packets, NETLINK_CB data is interpreted as\nIPCB by the raw IPv4 receive path. With IP_RECVOPTS or IP_RETOPTS enabled,\ncorrupted option offsets cause out-of-bounds reads or a stack buffer\noverflow. WHOLEPKT and WRVIFWHOLE reports also inherit stale IP option\noffsets when their header is prepended.\n\nClear the report skb control block. Only prepare and copy pktinfo when the\ninput skb has an IPv4 header. Synthetic route-query skbs use NETLINK_CB,\nnot IPCB, so leave their report control block zeroed. Restore pkt-\u003ecb after\npreparing pktinfo for regular IPv4 packets."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bad data is the requester\u0027s netlink portid, which ipmr_get_route() stores in NETLINK_CB of a synthetic skb from inet_rtm_getroute(). ipmr_cache_report(IGMPMSG_NOCACHE) then copies that cb into the report skb. Triggering needs a local RTM_GETROUTE plus recvmsg() on a local raw IGMP mroute socket. The remote WHOLEPKT variant needs the daemon to set IP_RETOPTS, which I could not show any daemon does.\nAC:L - The attacker sets every input: portid via netlink bind(nl_pid), which lands on IPCB opt.optlen/rr; RTA_SRC, whose first byte becomes the copy length when rr=11; and the IP_RETOPTS/IP_RECVOPTS sockopts on their own mroute socket. The overflow length and offsets are deterministic, with no race and no outside condition.\nPR:L - Works after unshare -Urn. The raw IGMP socket needs only CAP_NET_RAW in the namespace. MRT_INIT has no extra capability check, and MRT_ADD_VIF is allowed for the socket that called MRT_INIT. That sets MC_FORWARDING/IN_DEV_MFORWARD, so ip_route_input_mc() and rt_fill_info() call ipmr_get_route(). RTM_GETROUTE is unprivileged.\nUI:N - No other user takes part. The attacker sends the route query and reads the corrupted report on the mroute socket they created themselves.\nS:U - A stack overflow in the kernel\u0027s own recvmsg cmsg path. This is ordinary kernel memory corruption and does not cross a VM, IOMMU or sandbox boundary.\nC:H - With IP_RECVOPTS, ip_cmsg_recv_opts() copies up to 255 bytes past the 20-byte report header (opt.optlen comes from the portid) to userspace, repeatedly. That is uninitialised skb-head heap contents, which can include kernel pointers. The stack-overflow primitive could also be chained into wider memory reads.\nI:H - With IP_RETOPTS, ip_cmsg_recv_retopts() calls __ip_options_echo(), which does memcpy(dptr, sptr+rr, sptr[rr+1]) into the 40-byte __data of a 56-byte stack optbuf. The copy length comes from RTA_SRC and the content from the attacker\u0027s header plus groomable heap memory, an overflow of up to about 215 bytes. ip_options_undo() then writes through corrupted offsets.\nA:H - The stack overflow in ip_cmsg_recv_retopts() trips the stack protector or corrupts saved state and oopses the kernel. Any unprivileged user who can create a user namespace can repeat it at will."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-01T05:44:23.613Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/2a9df39afb332035eceb5d793d18193386e79dc9"
        },
        {
          "url": "https://git.kernel.org/stable/c/91b7d6abf96793b79f4ac5fd0163a1f15aa9b307"
        },
        {
          "url": "https://git.kernel.org/stable/c/1fc0b66a123f25f0a5965a9cbe8312a37d5afeec"
        },
        {
          "url": "https://git.kernel.org/stable/c/9b003d5c6e84ffe4593f13ef30605519cf55d54a"
        },
        {
          "url": "https://git.kernel.org/stable/c/936d3aa096a9308603aec9a03a8d2e90bdf1509b"
        },
        {
          "url": "https://git.kernel.org/stable/c/94a6736bb5abe6b2ef38490d0cab19c1c6a7c71f"
        }
      ],
      "title": "ipmr: only copy pktinfo to cache reports",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99943",
    "datePublished": "2026-11-30T13:18:30.066Z",
    "dateReserved": "2026-09-25T10:25:14.448Z",
    "dateUpdated": "2026-12-01T05:44:23.613Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99943",
      "date": "2026-12-04",
      "epss": "0.00309",
      "percentile": "0.25559"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/ipv4/ipmr.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "2a9df39afb332035eceb5d793d18193386e79dc9",
                    "status": "affected",
                    "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "91b7d6abf96793b79f4ac5fd0163a1f15aa9b307",
                    "status": "affected",
                    "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "1fc0b66a123f25f0a5965a9cbe8312a37d5afeec",
                    "status": "affected",
                    "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "9b003d5c6e84ffe4593f13ef30605519cf55d54a",
                    "status": "affected",
                    "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "936d3aa096a9308603aec9a03a8d2e90bdf1509b",
                    "status": "affected",
                    "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "94a6736bb5abe6b2ef38490d0cab19c1c6a7c71f",
                    "status": "affected",
                    "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/ipv4/ipmr.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "2.6.12"
                  },
                  {
                    "lessThan": "2.6.12",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.193",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.118",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.64",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.4",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nipmr: only copy pktinfo to cache reports\n\nipmr_cache_report() prepares IP_PKTINFO on the original skb. The\nipv4_pktinfo_prepare() helper updates skb-\u003ecb and clears the pktinfo fields\nwhen packet info is disabled. Since the skb can continue through the data\npath, preserve and restore its original control block around the helper.\n\nThe original implementation copies the entire control block to the report\nskb. For synthetic RTM_GETROUTE packets, NETLINK_CB data is interpreted as\nIPCB by the raw IPv4 receive path. With IP_RECVOPTS or IP_RETOPTS enabled,\ncorrupted option offsets cause out-of-bounds reads or a stack buffer\noverflow. WHOLEPKT and WRVIFWHOLE reports also inherit stale IP option\noffsets when their header is prepended.\n\nClear the report skb control block. Only prepare and copy pktinfo when the\ninput skb has an IPv4 header. Synthetic route-query skbs use NETLINK_CB,\nnot IPCB, so leave their report control block zeroed. Restore pkt-\u003ecb after\npreparing pktinfo for regular IPv4 packets."
          }
        ],
        "id": "CVE-2026-99943",
        "lastModified": "2026-12-01T06:17:58.237",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-30T14:20:31.357",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/1fc0b66a123f25f0a5965a9cbe8312a37d5afeec"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/2a9df39afb332035eceb5d793d18193386e79dc9"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/91b7d6abf96793b79f4ac5fd0163a1f15aa9b307"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/936d3aa096a9308603aec9a03a8d2e90bdf1509b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/94a6736bb5abe6b2ef38490d0cab19c1c6a7c71f"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/9b003d5c6e84ffe4593f13ef30605519cf55d54a"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-12-01T07:06:11+00:00",
      "cve": "CVE-2026-99943",
      "id": "CVE-2026-99943",
      "initial_release_date": "2026-11-30T13:18:30.066000+00:00",
      "product_status:known_affected": "280",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via stack buffer overflow in ipmr",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99943.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.