CVE-2021-47056
Vulnerability from cvelistv5
Published
2024-02-29 22:37
Modified
2024-12-19 07:34
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init ADF_STATUS_PF_RUNNING is (only) used and checked by adf_vf2pf_shutdown() before calling adf_iov_putmsg()->mutex_lock(vf2pf_lock), however the vf2pf_lock is initialized in adf_dev_init(), which can fail and when it fail, the vf2pf_lock is either not initialized or destroyed, a subsequent use of vf2pf_lock will cause issue. To fix this issue, only set this flag if adf_dev_init() returns 0. [ 7.178404] BUG: KASAN: user-memory-access in __mutex_lock.isra.0+0x1ac/0x7c0 [ 7.180345] Call Trace: [ 7.182576] mutex_lock+0xc9/0xd0 [ 7.183257] adf_iov_putmsg+0x118/0x1a0 [intel_qat] [ 7.183541] adf_vf2pf_shutdown+0x4d/0x7b [intel_qat] [ 7.183834] adf_dev_shutdown+0x172/0x2b0 [intel_qat] [ 7.184127] adf_probe+0x5e9/0x600 [qat_dh895xccvf]
References
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/05ec8192ee4bfdf2a8894a68350dac9f1a155fa6Patch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/09d16cee6285d37cc76311c29add6d97a7e4acdaPatch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/1ea500ce6f7c9106e4a561d28e69215f3d451818Patch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/1f50392650ae794a1aea41c213c6a3e1c824413cPatch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/20fd40fc6f2c2b41dc6f637f88d494b14e9c21f1Patch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/446045cf682af12d9294765f6c46084b374b5654Patch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/8609f5cfdc872fc3a462efa6a3eca5cb1e2f6446Patch
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/f4c4e07140687f42bfa40e091bb4a55d7960ce4dPatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/05ec8192ee4bfdf2a8894a68350dac9f1a155fa6Patch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/09d16cee6285d37cc76311c29add6d97a7e4acdaPatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/1ea500ce6f7c9106e4a561d28e69215f3d451818Patch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/1f50392650ae794a1aea41c213c6a3e1c824413cPatch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/20fd40fc6f2c2b41dc6f637f88d494b14e9c21f1Patch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/446045cf682af12d9294765f6c46084b374b5654Patch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/8609f5cfdc872fc3a462efa6a3eca5cb1e2f6446Patch
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/f4c4e07140687f42bfa40e091bb4a55d7960ce4dPatch
Impacted products
Vendor Product Version
Linux Linux Version: 25c6ffb249f612c56a48ce48a3887adf57b8f4bd
Version: 25c6ffb249f612c56a48ce48a3887adf57b8f4bd
Version: 25c6ffb249f612c56a48ce48a3887adf57b8f4bd
Version: 25c6ffb249f612c56a48ce48a3887adf57b8f4bd
Version: 25c6ffb249f612c56a48ce48a3887adf57b8f4bd
Version: 25c6ffb249f612c56a48ce48a3887adf57b8f4bd
Version: 25c6ffb249f612c56a48ce48a3887adf57b8f4bd
Version: 25c6ffb249f612c56a48ce48a3887adf57b8f4bd
Create a notification for this product.
   Linux Linux Version: 4.7
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T05:24:39.714Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/f4c4e07140687f42bfa40e091bb4a55d7960ce4d"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/446045cf682af12d9294765f6c46084b374b5654"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/09d16cee6285d37cc76311c29add6d97a7e4acda"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/05ec8192ee4bfdf2a8894a68350dac9f1a155fa6"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/1f50392650ae794a1aea41c213c6a3e1c824413c"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/20fd40fc6f2c2b41dc6f637f88d494b14e9c21f1"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/1ea500ce6f7c9106e4a561d28e69215f3d451818"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/8609f5cfdc872fc3a462efa6a3eca5cb1e2f6446"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2021-47056",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T15:57:04.493458Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:33:46.407Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/crypto/qat/qat_c3xxxvf/adf_drv.c",
            "drivers/crypto/qat/qat_c62xvf/adf_drv.c",
            "drivers/crypto/qat/qat_dh895xccvf/adf_drv.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f4c4e07140687f42bfa40e091bb4a55d7960ce4d",
              "status": "affected",
              "version": "25c6ffb249f612c56a48ce48a3887adf57b8f4bd",
              "versionType": "git"
            },
            {
              "lessThan": "446045cf682af12d9294765f6c46084b374b5654",
              "status": "affected",
              "version": "25c6ffb249f612c56a48ce48a3887adf57b8f4bd",
              "versionType": "git"
            },
            {
              "lessThan": "09d16cee6285d37cc76311c29add6d97a7e4acda",
              "status": "affected",
              "version": "25c6ffb249f612c56a48ce48a3887adf57b8f4bd",
              "versionType": "git"
            },
            {
              "lessThan": "05ec8192ee4bfdf2a8894a68350dac9f1a155fa6",
              "status": "affected",
              "version": "25c6ffb249f612c56a48ce48a3887adf57b8f4bd",
              "versionType": "git"
            },
            {
              "lessThan": "1f50392650ae794a1aea41c213c6a3e1c824413c",
              "status": "affected",
              "version": "25c6ffb249f612c56a48ce48a3887adf57b8f4bd",
              "versionType": "git"
            },
            {
              "lessThan": "20fd40fc6f2c2b41dc6f637f88d494b14e9c21f1",
              "status": "affected",
              "version": "25c6ffb249f612c56a48ce48a3887adf57b8f4bd",
              "versionType": "git"
            },
            {
              "lessThan": "1ea500ce6f7c9106e4a561d28e69215f3d451818",
              "status": "affected",
              "version": "25c6ffb249f612c56a48ce48a3887adf57b8f4bd",
              "versionType": "git"
            },
            {
              "lessThan": "8609f5cfdc872fc3a462efa6a3eca5cb1e2f6446",
              "status": "affected",
              "version": "25c6ffb249f612c56a48ce48a3887adf57b8f4bd",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/crypto/qat/qat_c3xxxvf/adf_drv.c",
            "drivers/crypto/qat/qat_c62xvf/adf_drv.c",
            "drivers/crypto/qat/qat_dh895xccvf/adf_drv.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.7"
            },
            {
              "lessThan": "4.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.269",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.233",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.191",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.119",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.37",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.11.*",
              "status": "unaffected",
              "version": "5.11.21",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.12.*",
              "status": "unaffected",
              "version": "5.12.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.13",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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()-\u003emutex_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]"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-12-19T07:34:25.876Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f4c4e07140687f42bfa40e091bb4a55d7960ce4d"
        },
        {
          "url": "https://git.kernel.org/stable/c/446045cf682af12d9294765f6c46084b374b5654"
        },
        {
          "url": "https://git.kernel.org/stable/c/09d16cee6285d37cc76311c29add6d97a7e4acda"
        },
        {
          "url": "https://git.kernel.org/stable/c/05ec8192ee4bfdf2a8894a68350dac9f1a155fa6"
        },
        {
          "url": "https://git.kernel.org/stable/c/1f50392650ae794a1aea41c213c6a3e1c824413c"
        },
        {
          "url": "https://git.kernel.org/stable/c/20fd40fc6f2c2b41dc6f637f88d494b14e9c21f1"
        },
        {
          "url": "https://git.kernel.org/stable/c/1ea500ce6f7c9106e4a561d28e69215f3d451818"
        },
        {
          "url": "https://git.kernel.org/stable/c/8609f5cfdc872fc3a462efa6a3eca5cb1e2f6446"
        }
      ],
      "title": "crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2021-47056",
    "datePublished": "2024-02-29T22:37:31.086Z",
    "dateReserved": "2024-02-29T22:33:44.294Z",
    "dateUpdated": "2024-12-19T07:34:25.876Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2021-47056\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-02-29T23:15:07.530\",\"lastModified\":\"2025-01-09T19:45:48.107\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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()-\u003emutex_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]\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: crypto: qat - ADF_STATUS_PF_RUNNING debe configurarse despu\u00e9s de adf_dev_init ADF_STATUS_PF_RUNNING es (solo) usado y verificado por adf_vf2pf_shutdown() antes de llamar a adf_iov_putmsg()-\u0026gt;mutex_lock(vf2pf_lock), sin embargo, vf2pf_lock es inicializado en adf_dev_init(), que puede fallar y cuando falla, vf2pf_lock no se inicializa o se destruye, un uso posterior de vf2pf_lock causar\u00e1 problemas. Para solucionar este problema, establezca este indicador solo si adf_dev_init() devuelve 0. [7.178404] ERROR: KASAN: acceso a memoria de usuario en __mutex_lock.isra.0+0x1ac/0x7c0 [7.180345] Seguimiento de llamadas: [7.182576] mutex_lock+0xc9 /0xd0 [ 7.183257] adf_iov_putmsg+0x118/0x1a0 [intel_qat] [ 7.183541] adf_vf2pf_shutdown+0x4d/0x7b [intel_qat] [ 7.183834] adf_dev_shutdown+0x172/0x2b0 [intel_qat] [7.184127] adf_probe+0x5e9/0x600 [qat_dh895xccvf]\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-908\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.7\",\"versionEndExcluding\":\"4.9.269\",\"matchCriteriaId\":\"BE2A530A-768D-4D74-B4DB-C76E09C2042F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.10\",\"versionEndExcluding\":\"4.14.233\",\"matchCriteriaId\":\"4836AF17-022D-49D0-9A8A-AF66FE8DCEB8\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.15\",\"versionEndExcluding\":\"4.19.191\",\"matchCriteriaId\":\"5B6E6817-19A8-4C0A-8807-71DA48CF9191\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.20\",\"versionEndExcluding\":\"5.4.119\",\"matchCriteriaId\":\"E07BA880-1043-4674-AC45-266B3B4A44C7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5\",\"versionEndExcluding\":\"5.10.37\",\"matchCriteriaId\":\"7A4CF5D6-ACBA-4980-ABFD-3D7A53B5BB4E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.11.21\",\"matchCriteriaId\":\"8CBB94EC-EC33-4464-99C5-03E5542715F0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.12\",\"versionEndExcluding\":\"5.12.4\",\"matchCriteriaId\":\"D8C7052F-1B7B-4327-9C2B-84EBF3243838\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/05ec8192ee4bfdf2a8894a68350dac9f1a155fa6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/09d16cee6285d37cc76311c29add6d97a7e4acda\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/1ea500ce6f7c9106e4a561d28e69215f3d451818\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/1f50392650ae794a1aea41c213c6a3e1c824413c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/20fd40fc6f2c2b41dc6f637f88d494b14e9c21f1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/446045cf682af12d9294765f6c46084b374b5654\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8609f5cfdc872fc3a462efa6a3eca5cb1e2f6446\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/f4c4e07140687f42bfa40e091bb4a55d7960ce4d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/05ec8192ee4bfdf2a8894a68350dac9f1a155fa6\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/09d16cee6285d37cc76311c29add6d97a7e4acda\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/1ea500ce6f7c9106e4a561d28e69215f3d451818\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/1f50392650ae794a1aea41c213c6a3e1c824413c\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/20fd40fc6f2c2b41dc6f637f88d494b14e9c21f1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/446045cf682af12d9294765f6c46084b374b5654\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8609f5cfdc872fc3a462efa6a3eca5cb1e2f6446\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/f4c4e07140687f42bfa40e091bb4a55d7960ce4d\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]}]}}",
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/f4c4e07140687f42bfa40e091bb4a55d7960ce4d\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/446045cf682af12d9294765f6c46084b374b5654\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/09d16cee6285d37cc76311c29add6d97a7e4acda\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/05ec8192ee4bfdf2a8894a68350dac9f1a155fa6\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/1f50392650ae794a1aea41c213c6a3e1c824413c\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/20fd40fc6f2c2b41dc6f637f88d494b14e9c21f1\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/1ea500ce6f7c9106e4a561d28e69215f3d451818\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/8609f5cfdc872fc3a462efa6a3eca5cb1e2f6446\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-04T05:24:39.714Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2021-47056\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T15:57:04.493458Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:18.585Z\"}}], \"cna\": {\"title\": \"crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"25c6ffb249f612c56a48ce48a3887adf57b8f4bd\", \"lessThan\": \"f4c4e07140687f42bfa40e091bb4a55d7960ce4d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"25c6ffb249f612c56a48ce48a3887adf57b8f4bd\", \"lessThan\": \"446045cf682af12d9294765f6c46084b374b5654\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"25c6ffb249f612c56a48ce48a3887adf57b8f4bd\", \"lessThan\": \"09d16cee6285d37cc76311c29add6d97a7e4acda\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"25c6ffb249f612c56a48ce48a3887adf57b8f4bd\", \"lessThan\": \"05ec8192ee4bfdf2a8894a68350dac9f1a155fa6\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"25c6ffb249f612c56a48ce48a3887adf57b8f4bd\", \"lessThan\": \"1f50392650ae794a1aea41c213c6a3e1c824413c\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"25c6ffb249f612c56a48ce48a3887adf57b8f4bd\", \"lessThan\": \"20fd40fc6f2c2b41dc6f637f88d494b14e9c21f1\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"25c6ffb249f612c56a48ce48a3887adf57b8f4bd\", \"lessThan\": \"1ea500ce6f7c9106e4a561d28e69215f3d451818\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"25c6ffb249f612c56a48ce48a3887adf57b8f4bd\", \"lessThan\": \"8609f5cfdc872fc3a462efa6a3eca5cb1e2f6446\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/crypto/qat/qat_c3xxxvf/adf_drv.c\", \"drivers/crypto/qat/qat_c62xvf/adf_drv.c\", \"drivers/crypto/qat/qat_dh895xccvf/adf_drv.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.7\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.7\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.9.269\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.9.*\"}, {\"status\": \"unaffected\", \"version\": \"4.14.233\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.14.*\"}, {\"status\": \"unaffected\", \"version\": \"4.19.191\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.119\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.37\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.11.21\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.11.*\"}, {\"status\": \"unaffected\", \"version\": \"5.12.4\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.12.*\"}, {\"status\": \"unaffected\", \"version\": \"5.13\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/crypto/qat/qat_c3xxxvf/adf_drv.c\", \"drivers/crypto/qat/qat_c62xvf/adf_drv.c\", \"drivers/crypto/qat/qat_dh895xccvf/adf_drv.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/f4c4e07140687f42bfa40e091bb4a55d7960ce4d\"}, {\"url\": \"https://git.kernel.org/stable/c/446045cf682af12d9294765f6c46084b374b5654\"}, {\"url\": \"https://git.kernel.org/stable/c/09d16cee6285d37cc76311c29add6d97a7e4acda\"}, {\"url\": \"https://git.kernel.org/stable/c/05ec8192ee4bfdf2a8894a68350dac9f1a155fa6\"}, {\"url\": \"https://git.kernel.org/stable/c/1f50392650ae794a1aea41c213c6a3e1c824413c\"}, {\"url\": \"https://git.kernel.org/stable/c/20fd40fc6f2c2b41dc6f637f88d494b14e9c21f1\"}, {\"url\": \"https://git.kernel.org/stable/c/1ea500ce6f7c9106e4a561d28e69215f3d451818\"}, {\"url\": \"https://git.kernel.org/stable/c/8609f5cfdc872fc3a462efa6a3eca5cb1e2f6446\"}], \"x_generator\": {\"engine\": \"bippy-5f407fcff5a0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"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()-\u003emutex_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]\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-12-19T07:34:25.876Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2021-47056\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-12-19T07:34:25.876Z\", \"dateReserved\": \"2024-02-29T22:33:44.294Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-02-29T22:37:31.086Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.