{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2025-21689",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-21689",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-02-10T15:58:45.493Z",
    "updatedAt": "2026-05-11T21:04:31.416Z",
    "importedAt": "2026-10-24T01:57:29.455Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "USB: serial: quatech2: fix null-ptr-deref in qt2_process_read_urb()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nUSB: serial: quatech2: fix null-ptr-deref in qt2_process_read_urb()\n\nThis patch addresses a null-ptr-deref in qt2_process_read_urb() due to\nan incorrect bounds check in the following:\n\n       if (newport > serial->num_ports) {\n               dev_err(&port->dev,\n                       \"%s - port change to invalid port: %i\\n\",\n                       __func__, newport);\n               break;\n       }\n\nThe condition doesn't account for the valid range of the serial->port\nbuffer, which is from 0 to serial->num_ports - 1. When newport is equal\nto serial->num_ports, the assignment of \"port\" in the\nfollowing code is out-of-bounds and NULL:\n\n       serial_priv->current_port = newport;\n       port = serial->port[serial_priv->current_port];\n\nThe fix checks if newport is greater than or equal to serial->num_ports\nindicating it is out-of-bounds.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "f7a33e608d9ae022b7f49307921627e34e9484ed",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fa4c7472469d97c4707698b4c0e098f8cfc2bf22"
            },
            {
              "version": "f7a33e608d9ae022b7f49307921627e34e9484ed",
              "status": "affected",
              "versionType": "git",
              "lessThan": "94770cf7c5124f0268d481886829dc2beecc4507"
            },
            {
              "version": "f7a33e608d9ae022b7f49307921627e34e9484ed",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6068dcff7f19e9fa6fa23ee03453ad6a40fa4efe"
            },
            {
              "version": "f7a33e608d9ae022b7f49307921627e34e9484ed",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4b9b41fabcd38990f69ef0cee9c631d954a2b530"
            },
            {
              "version": "f7a33e608d9ae022b7f49307921627e34e9484ed",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6377838560c03b36e1153a42ef727533def9b68f"
            },
            {
              "version": "f7a33e608d9ae022b7f49307921627e34e9484ed",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f371471708c7d997f763b0e70565026eb67cc470"
            },
            {
              "version": "f7a33e608d9ae022b7f49307921627e34e9484ed",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8542b33622571f54dfc2a267fce378b6e3840b8b"
            },
            {
              "version": "f7a33e608d9ae022b7f49307921627e34e9484ed",
              "status": "affected",
              "versionType": "git",
              "lessThan": "575a5adf48b06a2980c9eeffedf699ed5534fade"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.5",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.5"
            },
            {
              "version": "5.4.290",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.234",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.178",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.128",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.75",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.12",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.13.1",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.13.*"
            },
            {
              "version": "6.14",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}