{
  "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-21804",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-21804",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-02-27T20:00:57.639Z",
    "updatedAt": "2026-08-05T11:54:33.538Z",
    "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": "PCI: rcar-ep: Fix incorrect variable used when calling devm_request_mem_region()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: rcar-ep: Fix incorrect variable used when calling devm_request_mem_region()\n\nThe rcar_pcie_parse_outbound_ranges() uses the devm_request_mem_region()\nmacro to request a needed resource. A string variable that lives on the\nstack is then used to store a dynamically computed resource name, which\nis then passed on as one of the macro arguments. This can lead to\nundefined behavior.\n\nDepending on the current contents of the memory, the manifestations of\nerrors may vary. One possible output may be as follows:\n\n  $ cat /proc/iomem\n  30000000-37ffffff :\n  38000000-3fffffff :\n\nSometimes, garbage may appear after the colon.\n\nIn very rare cases, if no NULL-terminator is found in memory, the system\nmight crash because the string iterator will overrun which can lead to\naccess of unmapped memory above the stack.\n\nThus, fix this by replacing outbound_name with the name of the previously\nrequested resource. With the changes applied, the output will be as\nfollows:\n\n  $ cat /proc/iomem\n  30000000-37ffffff : memory2\n  38000000-3fffffff : memory3\n\n[kwilczynski: commit log]",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "2a6d0d63d99956a66f6605832f11755d74a41951",
              "status": "affected",
              "versionType": "git",
              "lessThan": "7a47e14c5fb0b6dba7073be7b0119fb8fe864e01"
            },
            {
              "version": "2a6d0d63d99956a66f6605832f11755d74a41951",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6987e021b64cbb49981d140bb72d9d1466f191c4"
            },
            {
              "version": "2a6d0d63d99956a66f6605832f11755d74a41951",
              "status": "affected",
              "versionType": "git",
              "lessThan": "24576899c49509c0d533bcf569139f691d8f7af7"
            },
            {
              "version": "2a6d0d63d99956a66f6605832f11755d74a41951",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2c54b9fca1755e80a343ccfde0652dc5ea4744b2"
            },
            {
              "version": "2a6d0d63d99956a66f6605832f11755d74a41951",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9ff46b0bfeb6e0724a4ace015aa7a0b887cdb7c1"
            },
            {
              "version": "2a6d0d63d99956a66f6605832f11755d74a41951",
              "status": "affected",
              "versionType": "git",
              "lessThan": "44708208c2a4b828a57a2abe7799c9d3962e7eaa"
            },
            {
              "version": "2a6d0d63d99956a66f6605832f11755d74a41951",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2d2da5a4c1b4509f6f7e5a8db015cd420144beb4"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.8",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.8"
            },
            {
              "version": "5.10.235",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.179",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.129",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.76",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.13",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.13.2",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.13.*"
            },
            {
              "version": "6.14",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}