CVE-2026-23448 (GCVE-0-2026-23448)

Vulnerability from cvelistv5 – Published: 2026-04-03 15:15 – Updated: 2026-04-13 06:07
VLAI?
Title
net: usb: cdc_ncm: add ndpoffset to NDP16 nframes bounds check
Summary
In the Linux kernel, the following vulnerability has been resolved: net: usb: cdc_ncm: add ndpoffset to NDP16 nframes bounds check cdc_ncm_rx_verify_ndp16() validates that the NDP header and its DPE entries fit within the skb. The first check correctly accounts for ndpoffset: if ((ndpoffset + sizeof(struct usb_cdc_ncm_ndp16)) > skb_in->len) but the second check omits it: if ((sizeof(struct usb_cdc_ncm_ndp16) + ret * (sizeof(struct usb_cdc_ncm_dpe16))) > skb_in->len) This validates the DPE array size against the total skb length as if the NDP were at offset 0, rather than at ndpoffset. When the NDP is placed near the end of the NTB (large wNdpIndex), the DPE entries can extend past the skb data buffer even though the check passes. cdc_ncm_rx_fixup() then reads out-of-bounds memory when iterating the DPE array. Add ndpoffset to the nframes bounds check and use struct_size_t() to express the NDP-plus-DPE-array size more clearly.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: ff06ab13a4ccae4acb44a2d4e3ece367b616ab50 , < f1c7701d3ac91b62d672c13690cf295821f0d5c3 (git)
Affected: ff06ab13a4ccae4acb44a2d4e3ece367b616ab50 , < 789204f980730258c983102c027c375238009c80 (git)
Affected: ff06ab13a4ccae4acb44a2d4e3ece367b616ab50 , < 403f94ddcb36c552fbef51dea735b131e3dcde8b (git)
Affected: ff06ab13a4ccae4acb44a2d4e3ece367b616ab50 , < dce9dda0e3707e887977db44407989e9ead26611 (git)
Affected: ff06ab13a4ccae4acb44a2d4e3ece367b616ab50 , < 2aa8a4fa8d5b7d0e1ebcec100e1a4d80a1f4b21a (git)
Create a notification for this product.
    Linux Linux Affected: 3.8
Unaffected: 0 , < 3.8 (semver)
Unaffected: 6.6.130 , ≤ 6.6.* (semver)
Unaffected: 6.12.78 , ≤ 6.12.* (semver)
Unaffected: 6.18.20 , ≤ 6.18.* (semver)
Unaffected: 6.19.10 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/usb/cdc_ncm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f1c7701d3ac91b62d672c13690cf295821f0d5c3",
              "status": "affected",
              "version": "ff06ab13a4ccae4acb44a2d4e3ece367b616ab50",
              "versionType": "git"
            },
            {
              "lessThan": "789204f980730258c983102c027c375238009c80",
              "status": "affected",
              "version": "ff06ab13a4ccae4acb44a2d4e3ece367b616ab50",
              "versionType": "git"
            },
            {
              "lessThan": "403f94ddcb36c552fbef51dea735b131e3dcde8b",
              "status": "affected",
              "version": "ff06ab13a4ccae4acb44a2d4e3ece367b616ab50",
              "versionType": "git"
            },
            {
              "lessThan": "dce9dda0e3707e887977db44407989e9ead26611",
              "status": "affected",
              "version": "ff06ab13a4ccae4acb44a2d4e3ece367b616ab50",
              "versionType": "git"
            },
            {
              "lessThan": "2aa8a4fa8d5b7d0e1ebcec100e1a4d80a1f4b21a",
              "status": "affected",
              "version": "ff06ab13a4ccae4acb44a2d4e3ece367b616ab50",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/usb/cdc_ncm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.8"
            },
            {
              "lessThan": "3.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.130",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.78",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.20",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.130",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.78",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.20",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.10",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: cdc_ncm: add ndpoffset to NDP16 nframes bounds check\n\ncdc_ncm_rx_verify_ndp16() validates that the NDP header and its DPE\nentries fit within the skb. The first check correctly accounts for\nndpoffset:\n\n  if ((ndpoffset + sizeof(struct usb_cdc_ncm_ndp16)) \u003e skb_in-\u003elen)\n\nbut the second check omits it:\n\n  if ((sizeof(struct usb_cdc_ncm_ndp16) +\n       ret * (sizeof(struct usb_cdc_ncm_dpe16))) \u003e skb_in-\u003elen)\n\nThis validates the DPE array size against the total skb length as if\nthe NDP were at offset 0, rather than at ndpoffset. When the NDP is\nplaced near the end of the NTB (large wNdpIndex), the DPE entries can\nextend past the skb data buffer even though the check passes.\ncdc_ncm_rx_fixup() then reads out-of-bounds memory when iterating\nthe DPE array.\n\nAdd ndpoffset to the nframes bounds check and use struct_size_t() to\nexpress the NDP-plus-DPE-array size more clearly."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-04-13T06:07:39.658Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f1c7701d3ac91b62d672c13690cf295821f0d5c3"
        },
        {
          "url": "https://git.kernel.org/stable/c/789204f980730258c983102c027c375238009c80"
        },
        {
          "url": "https://git.kernel.org/stable/c/403f94ddcb36c552fbef51dea735b131e3dcde8b"
        },
        {
          "url": "https://git.kernel.org/stable/c/dce9dda0e3707e887977db44407989e9ead26611"
        },
        {
          "url": "https://git.kernel.org/stable/c/2aa8a4fa8d5b7d0e1ebcec100e1a4d80a1f4b21a"
        }
      ],
      "title": "net: usb: cdc_ncm: add ndpoffset to NDP16 nframes bounds check",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-23448",
    "datePublished": "2026-04-03T15:15:31.488Z",
    "dateReserved": "2026-01-13T15:37:46.020Z",
    "dateUpdated": "2026-04-13T06:07:39.658Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-23448",
      "date": "2026-05-07",
      "epss": "0.00026",
      "percentile": "0.0733"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-23448\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-04-03T16:16:30.863\",\"lastModified\":\"2026-04-07T13:21:09.600\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet: usb: cdc_ncm: add ndpoffset to NDP16 nframes bounds check\\n\\ncdc_ncm_rx_verify_ndp16() validates that the NDP header and its DPE\\nentries fit within the skb. The first check correctly accounts for\\nndpoffset:\\n\\n  if ((ndpoffset + sizeof(struct usb_cdc_ncm_ndp16)) \u003e skb_in-\u003elen)\\n\\nbut the second check omits it:\\n\\n  if ((sizeof(struct usb_cdc_ncm_ndp16) +\\n       ret * (sizeof(struct usb_cdc_ncm_dpe16))) \u003e skb_in-\u003elen)\\n\\nThis validates the DPE array size against the total skb length as if\\nthe NDP were at offset 0, rather than at ndpoffset. When the NDP is\\nplaced near the end of the NTB (large wNdpIndex), the DPE entries can\\nextend past the skb data buffer even though the check passes.\\ncdc_ncm_rx_fixup() then reads out-of-bounds memory when iterating\\nthe DPE array.\\n\\nAdd ndpoffset to the nframes bounds check and use struct_size_t() to\\nexpress the NDP-plus-DPE-array size more clearly.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2aa8a4fa8d5b7d0e1ebcec100e1a4d80a1f4b21a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/403f94ddcb36c552fbef51dea735b131e3dcde8b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/789204f980730258c983102c027c375238009c80\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/dce9dda0e3707e887977db44407989e9ead26611\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f1c7701d3ac91b62d672c13690cf295821f0d5c3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…
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.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…