{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"
            },
            {
              "fixed": "9425a13960ef38bac237608f25c9ee64ff113086"
            },
            {
              "fixed": "7654812b65047349ea4c111eed42c4315a00e462"
            },
            {
              "fixed": "61b84e964a829d534f24eab4cbd4035d22b52601"
            },
            {
              "fixed": "ce8101c331956bbd3e20681331dfd22eb7c1c1ea"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.12.111"
            },
            {
              "fixed": "6.18.53"
            },
            {
              "fixed": "7.2.7"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.12.111"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.53"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97540.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: pegasus: don't rely on id table pointer arithmetic\n\nThe current code is broken when dynamic ID is involved; in such cases\nusb_device_id parameter of probe lives on the heap and the pointer\narithmetic will get an index that is wildly out of bound. Instead of\nkeeping a side table for additional information, use driver_info field of\nthe usb_device_id.\n\nThe dynamic ID parsing code needs to be updated for this; convert it to\njust write to the reserved entry for dynamic ID and remove the weird loop.",
  "id": "CVE-2026-97540",
  "modified": "2026-09-27T03:30:52.988664916Z",
  "published": "2026-09-25T10:21:37.410Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/61b84e964a829d534f24eab4cbd4035d22b52601"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7654812b65047349ea4c111eed42c4315a00e462"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9425a13960ef38bac237608f25c9ee64ff113086"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ce8101c331956bbd3e20681331dfd22eb7c1c1ea"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97540.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-97540"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "net: usb: pegasus: don't rely on id table pointer arithmetic"
}