CVE-2026-74679 (GCVE-0-2026-74679)

Vulnerability from cvelistv5 – Published: 2026-08-22 15:32 – Updated: 2026-08-22 15:32
VLAI
Title
usb: gadget: f_ncm: Use unsigned int for ndp_index
Summary
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_ncm: Use unsigned int for ndp_index The variable ndp_index is declared as a signed integer, but it stores the return value of get_ncm(), which is unsigned. A malicious host can supply a large offset that overflows the signed ndp_index, making it negative. Because ndp_index is compared against unsigned bounds, this negative value bypasses sanity checks and leads to an out-of-bounds read when calculating the address of the NDP block (ntb_ptr + ndp_index). Fix this by changing ndp_index to unsigned int to ensure consistent unsigned comparisons throughout the function.
Severity
No CVSS data available.
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 6667 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 370af734dfaf8336b496b386e194648e097e248a , < 9c8c6825a750fcd3efbe922847ca70ccd5a66857 (git)
Affected: 370af734dfaf8336b496b386e194648e097e248a , < a1c0deeba4a46481543d6b09c665f758c54c3a1a (git)
Affected: 370af734dfaf8336b496b386e194648e097e248a , < d13f650a3485b58c124b3cda45597e8002c9c833 (git)
Affected: 370af734dfaf8336b496b386e194648e097e248a , < 11413d7ed42174b8f5d8d0b6a25d10dc88239b21 (git)
Affected: 370af734dfaf8336b496b386e194648e097e248a , < 5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3 (git)
Affected: 370af734dfaf8336b496b386e194648e097e248a , < d328fdc607fa1bb668ad512e1c918a120f78f337 (git)
Affected: 370af734dfaf8336b496b386e194648e097e248a , < fc9e54e22845c4da29588ca0986cb7c795b5a262 (git)
Affected: 370af734dfaf8336b496b386e194648e097e248a , < 6b1c8a9403a26cb0fed7a648916c74dc236da591 (git)
guessed Create a notification for this product.
Linux Linux Affected: 3.17
Unaffected: 0 , < 3.17 (semver)
Unaffected: 5.10.265 , ≤ 5.10.* (semver)
Unaffected: 5.15.216 , ≤ 5.15.* (semver)
Unaffected: 6.1.183 , ≤ 6.1.* (semver)
Unaffected: 6.6.152 , ≤ 6.6.* (semver)
Unaffected: 6.12.104 , ≤ 6.12.* (semver)
Unaffected: 6.18.45 , ≤ 6.18.* (semver)
Unaffected: 7.1.9 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/gadget/function/f_ncm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "9c8c6825a750fcd3efbe922847ca70ccd5a66857",
              "status": "affected",
              "version": "370af734dfaf8336b496b386e194648e097e248a",
              "versionType": "git"
            },
            {
              "lessThan": "a1c0deeba4a46481543d6b09c665f758c54c3a1a",
              "status": "affected",
              "version": "370af734dfaf8336b496b386e194648e097e248a",
              "versionType": "git"
            },
            {
              "lessThan": "d13f650a3485b58c124b3cda45597e8002c9c833",
              "status": "affected",
              "version": "370af734dfaf8336b496b386e194648e097e248a",
              "versionType": "git"
            },
            {
              "lessThan": "11413d7ed42174b8f5d8d0b6a25d10dc88239b21",
              "status": "affected",
              "version": "370af734dfaf8336b496b386e194648e097e248a",
              "versionType": "git"
            },
            {
              "lessThan": "5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3",
              "status": "affected",
              "version": "370af734dfaf8336b496b386e194648e097e248a",
              "versionType": "git"
            },
            {
              "lessThan": "d328fdc607fa1bb668ad512e1c918a120f78f337",
              "status": "affected",
              "version": "370af734dfaf8336b496b386e194648e097e248a",
              "versionType": "git"
            },
            {
              "lessThan": "fc9e54e22845c4da29588ca0986cb7c795b5a262",
              "status": "affected",
              "version": "370af734dfaf8336b496b386e194648e097e248a",
              "versionType": "git"
            },
            {
              "lessThan": "6b1c8a9403a26cb0fed7a648916c74dc236da591",
              "status": "affected",
              "version": "370af734dfaf8336b496b386e194648e097e248a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/gadget/function/f_ncm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.17"
            },
            {
              "lessThan": "3.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.265",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.216",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.183",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.152",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.104",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.45",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.265",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.216",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.183",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.152",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.104",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.45",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.9",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: f_ncm: Use unsigned int for ndp_index\n\nThe variable ndp_index is declared as a signed integer, but it stores\nthe return value of get_ncm(), which is unsigned.\n\nA malicious host can supply a large offset that overflows the signed\nndp_index, making it negative. Because ndp_index is compared against\nunsigned bounds, this negative value bypasses sanity checks and leads\nto an out-of-bounds read when calculating the address of the NDP\nblock (ntb_ptr + ndp_index).\n\nFix this by changing ndp_index to unsigned int to ensure consistent\nunsigned comparisons throughout the function."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-22T15:32:47.499Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/9c8c6825a750fcd3efbe922847ca70ccd5a66857"
        },
        {
          "url": "https://git.kernel.org/stable/c/a1c0deeba4a46481543d6b09c665f758c54c3a1a"
        },
        {
          "url": "https://git.kernel.org/stable/c/d13f650a3485b58c124b3cda45597e8002c9c833"
        },
        {
          "url": "https://git.kernel.org/stable/c/11413d7ed42174b8f5d8d0b6a25d10dc88239b21"
        },
        {
          "url": "https://git.kernel.org/stable/c/5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3"
        },
        {
          "url": "https://git.kernel.org/stable/c/d328fdc607fa1bb668ad512e1c918a120f78f337"
        },
        {
          "url": "https://git.kernel.org/stable/c/fc9e54e22845c4da29588ca0986cb7c795b5a262"
        },
        {
          "url": "https://git.kernel.org/stable/c/6b1c8a9403a26cb0fed7a648916c74dc236da591"
        }
      ],
      "title": "usb: gadget: f_ncm: Use unsigned int for ndp_index",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-74679",
    "datePublished": "2026-08-22T15:32:47.499Z",
    "dateReserved": "2026-08-15T05:44:03.925Z",
    "dateUpdated": "2026-08-22T15:32:47.499Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-74679",
      "date": "2026-10-15",
      "epss": "0.00185",
      "percentile": "0.07598"
    },
    "microsoft_vex": {
      "current_release_date": "2026-08-24T14:49:49.000Z",
      "cve": "CVE-2026-74679",
      "id": "msrc_CVE-2026-74679",
      "initial_release_date": "2026-08-24T01:06:42.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "usb: gadget: f_ncm: Use unsigned int for ndp_index",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-74679.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/usb/gadget/function/f_ncm.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "9c8c6825a750fcd3efbe922847ca70ccd5a66857",
                    "status": "affected",
                    "version": "370af734dfaf8336b496b386e194648e097e248a",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "a1c0deeba4a46481543d6b09c665f758c54c3a1a",
                    "status": "affected",
                    "version": "370af734dfaf8336b496b386e194648e097e248a",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d13f650a3485b58c124b3cda45597e8002c9c833",
                    "status": "affected",
                    "version": "370af734dfaf8336b496b386e194648e097e248a",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "11413d7ed42174b8f5d8d0b6a25d10dc88239b21",
                    "status": "affected",
                    "version": "370af734dfaf8336b496b386e194648e097e248a",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3",
                    "status": "affected",
                    "version": "370af734dfaf8336b496b386e194648e097e248a",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d328fdc607fa1bb668ad512e1c918a120f78f337",
                    "status": "affected",
                    "version": "370af734dfaf8336b496b386e194648e097e248a",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "fc9e54e22845c4da29588ca0986cb7c795b5a262",
                    "status": "affected",
                    "version": "370af734dfaf8336b496b386e194648e097e248a",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6b1c8a9403a26cb0fed7a648916c74dc236da591",
                    "status": "affected",
                    "version": "370af734dfaf8336b496b386e194648e097e248a",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/usb/gadget/function/f_ncm.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "3.17"
                  },
                  {
                    "lessThan": "3.17",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.265",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.216",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.183",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.152",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.104",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.45",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.1.*",
                    "status": "unaffected",
                    "version": "7.1.9",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.2",
                    "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\nusb: gadget: f_ncm: Use unsigned int for ndp_index\n\nThe variable ndp_index is declared as a signed integer, but it stores\nthe return value of get_ncm(), which is unsigned.\n\nA malicious host can supply a large offset that overflows the signed\nndp_index, making it negative. Because ndp_index is compared against\nunsigned bounds, this negative value bypasses sanity checks and leads\nto an out-of-bounds read when calculating the address of the NDP\nblock (ntb_ptr + ndp_index).\n\nFix this by changing ndp_index to unsigned int to ensure consistent\nunsigned comparisons throughout the function."
          },
          {
            "lang": "es",
            "value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nusb: gadget: f_ncm: Usar unsigned int para ndp_index\n\nLa variable ndp_index est\u00e1 declarada como un entero con signo, pero almacena el valor de retorno de get_ncm(), que es sin signo.\n\nUn host malicioso puede proporcionar un gran desplazamiento que desborda el ndp_index con signo, haci\u00e9ndolo negativo. Debido a que ndp_index se compara con l\u00edmites sin signo, este valor negativo elude las comprobaciones de cordura y conduce a una lectura fuera de l\u00edmites al calcular la direcci\u00f3n del bloque NDP (ntb_ptr + ndp_index).\n\nSolucione esto cambiando ndp_index a unsigned int para asegurar comparaciones sin signo consistentes a lo largo de la funci\u00f3n."
          }
        ],
        "id": "CVE-2026-74679",
        "lastModified": "2026-10-14T13:10:00.187",
        "metrics": {},
        "published": "2026-08-22T16:16:42.090",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/11413d7ed42174b8f5d8d0b6a25d10dc88239b21"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/6b1c8a9403a26cb0fed7a648916c74dc236da591"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/9c8c6825a750fcd3efbe922847ca70ccd5a66857"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a1c0deeba4a46481543d6b09c665f758c54c3a1a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d13f650a3485b58c124b3cda45597e8002c9c833"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d328fdc607fa1bb668ad512e1c918a120f78f337"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/fc9e54e22845c4da29588ca0986cb7c795b5a262"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-09-01T10:37:46+00:00",
      "cve": "CVE-2026-74679",
      "id": "CVE-2026-74679",
      "initial_release_date": "2026-08-22T00:00:00+00:00",
      "product_status:known_affected": "76",
      "product_status:known_not_affected": "198",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: usb: gadget: f_ncm: Use unsigned int for ndp_index",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74679.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
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.