{
  "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-40219",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-40219",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-12-04T14:50:42.996Z",
    "updatedAt": "2026-10-15T01:09:04.855Z",
    "importedAt": "2026-10-24T01:57:34.152Z",
    "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/IOV: Fix race between SR-IOV enable/disable and hotplug",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nPCI/IOV: Fix race between SR-IOV enable/disable and hotplug\n\nCommit 05703271c3cd (\"PCI/IOV: Add PCI rescan-remove locking when\nenabling/disabling SR-IOV\") tried to fix a race between the VF removal\ninside sriov_del_vfs() and concurrent hot unplug by taking the PCI\nrescan/remove lock in sriov_del_vfs(). Similarly the PCI rescan/remove lock\nwas also taken in sriov_add_vfs() to protect addition of VFs.\n\nThis approach however causes deadlock on trying to remove PFs with SR-IOV\nenabled because PFs disable SR-IOV during removal and this removal happens\nunder the PCI rescan/remove lock. So the original fix had to be reverted.\n\nInstead of taking the PCI rescan/remove lock in sriov_add_vfs() and\nsriov_del_vfs(), fix the race that occurs with SR-IOV enable and disable vs\nhotplug higher up in the callchain by taking the lock in\nsriov_numvfs_store() before calling into the driver's sriov_configure()\ncallback.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "18f9e9d150fccfa747875df6f0a9f606740762b3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3cddde484471c602bea04e6f384819d336a1ff84"
            },
            {
              "version": "18f9e9d150fccfa747875df6f0a9f606740762b3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d7673ac466eca37ec3e6b7cc9ccdb06de3304e9b"
            },
            {
              "version": "18f9e9d150fccfa747875df6f0a9f606740762b3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "7c37920c96b85ef4255a7acc795e99e63dd38d59"
            },
            {
              "version": "18f9e9d150fccfa747875df6f0a9f606740762b3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1047ca2d816994f31e1475e63e0c0b7825599747"
            },
            {
              "version": "18f9e9d150fccfa747875df6f0a9f606740762b3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "97c18f074ff1c12d016a0753072a3afdfa0b9611"
            },
            {
              "version": "18f9e9d150fccfa747875df6f0a9f606740762b3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "bea1d373098b22d7142da48750ce5526096425bc"
            },
            {
              "version": "18f9e9d150fccfa747875df6f0a9f606740762b3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f3015627b6e9ddf85cfeaf42405b3c194dde2c36"
            },
            {
              "version": "18f9e9d150fccfa747875df6f0a9f606740762b3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a5338e365c4559d7b4d7356116b0eb95b12e08d5"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.0",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.0"
            },
            {
              "version": "5.10.252",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.202",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.165",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.128",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.75",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.18.16",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "version": "6.19.6",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.19.*"
            },
            {
              "version": "7.0",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}