{
  "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-2021-47056",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2021-47056",
    "idYear": 2021,
    "status": "PUBLISHED",
    "publishedAt": "2024-02-29T22:37:31.086Z",
    "updatedAt": "2026-05-11T13:47:13.711Z",
    "importedAt": "2026-10-24T01:56:36.661Z",
    "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": "crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init\n\nADF_STATUS_PF_RUNNING is (only) used and checked by adf_vf2pf_shutdown()\nbefore calling adf_iov_putmsg()->mutex_lock(vf2pf_lock), however the\nvf2pf_lock is initialized in adf_dev_init(), which can fail and when it\nfail, the vf2pf_lock is either not initialized or destroyed, a subsequent\nuse of vf2pf_lock will cause issue.\nTo fix this issue, only set this flag if adf_dev_init() returns 0.\n\n[    7.178404] BUG: KASAN: user-memory-access in __mutex_lock.isra.0+0x1ac/0x7c0\n[    7.180345] Call Trace:\n[    7.182576]  mutex_lock+0xc9/0xd0\n[    7.183257]  adf_iov_putmsg+0x118/0x1a0 [intel_qat]\n[    7.183541]  adf_vf2pf_shutdown+0x4d/0x7b [intel_qat]\n[    7.183834]  adf_dev_shutdown+0x172/0x2b0 [intel_qat]\n[    7.184127]  adf_probe+0x5e9/0x600 [qat_dh895xccvf]",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "25c6ffb249f612c56a48ce48a3887adf57b8f4bd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f4c4e07140687f42bfa40e091bb4a55d7960ce4d"
            },
            {
              "version": "25c6ffb249f612c56a48ce48a3887adf57b8f4bd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "446045cf682af12d9294765f6c46084b374b5654"
            },
            {
              "version": "25c6ffb249f612c56a48ce48a3887adf57b8f4bd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "09d16cee6285d37cc76311c29add6d97a7e4acda"
            },
            {
              "version": "25c6ffb249f612c56a48ce48a3887adf57b8f4bd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "05ec8192ee4bfdf2a8894a68350dac9f1a155fa6"
            },
            {
              "version": "25c6ffb249f612c56a48ce48a3887adf57b8f4bd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1f50392650ae794a1aea41c213c6a3e1c824413c"
            },
            {
              "version": "25c6ffb249f612c56a48ce48a3887adf57b8f4bd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "20fd40fc6f2c2b41dc6f637f88d494b14e9c21f1"
            },
            {
              "version": "25c6ffb249f612c56a48ce48a3887adf57b8f4bd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1ea500ce6f7c9106e4a561d28e69215f3d451818"
            },
            {
              "version": "25c6ffb249f612c56a48ce48a3887adf57b8f4bd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8609f5cfdc872fc3a462efa6a3eca5cb1e2f6446"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.7",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.7"
            },
            {
              "version": "4.9.269",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.9.*"
            },
            {
              "version": "4.14.233",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.14.*"
            },
            {
              "version": "4.19.191",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.119",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.37",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.11.21",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.11.*"
            },
            {
              "version": "5.12.4",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.12.*"
            },
            {
              "version": "5.13",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}