{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "370af734dfaf8336b496b386e194648e097e248a"
            },
            {
              "fixed": "9c8c6825a750fcd3efbe922847ca70ccd5a66857"
            },
            {
              "fixed": "a1c0deeba4a46481543d6b09c665f758c54c3a1a"
            },
            {
              "fixed": "d13f650a3485b58c124b3cda45597e8002c9c833"
            },
            {
              "fixed": "11413d7ed42174b8f5d8d0b6a25d10dc88239b21"
            },
            {
              "fixed": "5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3"
            },
            {
              "fixed": "d328fdc607fa1bb668ad512e1c918a120f78f337"
            },
            {
              "fixed": "fc9e54e22845c4da29588ca0986cb7c795b5a262"
            },
            {
              "fixed": "6b1c8a9403a26cb0fed7a648916c74dc236da591"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.17.0"
            },
            {
              "fixed": "5.10.265"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.216"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.183"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.152"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.104"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.45"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74679.json"
  },
  "details": "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.",
  "id": "CVE-2026-74679",
  "modified": "2026-08-24T11:36:13.038416744Z",
  "published": "2026-08-22T15:32:47.499Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/11413d7ed42174b8f5d8d0b6a25d10dc88239b21"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6b1c8a9403a26cb0fed7a648916c74dc236da591"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9c8c6825a750fcd3efbe922847ca70ccd5a66857"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a1c0deeba4a46481543d6b09c665f758c54c3a1a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d13f650a3485b58c124b3cda45597e8002c9c833"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d328fdc607fa1bb668ad512e1c918a120f78f337"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fc9e54e22845c4da29588ca0986cb7c795b5a262"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74679.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-74679"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "usb: gadget: f_ncm: Use unsigned int for ndp_index"
}