CVE-2021-47609 (GCVE-0-2021-47609)
Vulnerability from cvelistv5
Published
2024-06-19 14:57
Modified
2025-05-04 07:14
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: firmware: arm_scpi: Fix string overflow in SCPI genpd driver Without the bound checks for scpi_pd->name, it could result in the buffer overflow when copying the SCPI device name from the corresponding device tree node as the name string is set at maximum size of 30. Let us fix it by using devm_kasprintf so that the string buffer is allocated dynamically.
Impacted products
Vendor Product Version
Linux Linux Version: 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7
Version: 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7
Version: 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7
Version: 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7
Version: 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7
Version: 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7
Version: 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T05:47:40.258Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/639901b9429a3195e0fead981ed74b51f5f31538"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/4694b1ec425a2d20d6f8ca3db594829fdf5f2672"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/802a1a8501563714a5fe8824f4ed27fec04a0719"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/f0f484714f35d24ffa0ecb4afe3df1c5b225411d"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/976389cbb16cee46847e5d06250a3a0b5506781e"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/865ed67ab955428b9aa771d8b4f1e4fb7fd08945"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2021-47609",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T17:11:58.482320Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:34:51.103Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/firmware/scpi_pm_domain.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "639901b9429a3195e0fead981ed74b51f5f31538",
              "status": "affected",
              "version": "8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7",
              "versionType": "git"
            },
            {
              "lessThan": "4694b1ec425a2d20d6f8ca3db594829fdf5f2672",
              "status": "affected",
              "version": "8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7",
              "versionType": "git"
            },
            {
              "lessThan": "7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb",
              "status": "affected",
              "version": "8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7",
              "versionType": "git"
            },
            {
              "lessThan": "802a1a8501563714a5fe8824f4ed27fec04a0719",
              "status": "affected",
              "version": "8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7",
              "versionType": "git"
            },
            {
              "lessThan": "f0f484714f35d24ffa0ecb4afe3df1c5b225411d",
              "status": "affected",
              "version": "8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7",
              "versionType": "git"
            },
            {
              "lessThan": "976389cbb16cee46847e5d06250a3a0b5506781e",
              "status": "affected",
              "version": "8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7",
              "versionType": "git"
            },
            {
              "lessThan": "865ed67ab955428b9aa771d8b4f1e4fb7fd08945",
              "status": "affected",
              "version": "8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/firmware/scpi_pm_domain.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.8"
            },
            {
              "lessThan": "4.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.294",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.259",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.222",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.168",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.88",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.16",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.294",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.259",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.222",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.168",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.88",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.11",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.16",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: arm_scpi: Fix string overflow in SCPI genpd driver\n\nWithout the bound checks for scpi_pd-\u003ename, it could result in the buffer\noverflow when copying the SCPI device name from the corresponding device\ntree node as the name string is set at maximum size of 30.\n\nLet us fix it by using devm_kasprintf so that the string buffer is\nallocated dynamically."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T07:14:49.883Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/639901b9429a3195e0fead981ed74b51f5f31538"
        },
        {
          "url": "https://git.kernel.org/stable/c/4694b1ec425a2d20d6f8ca3db594829fdf5f2672"
        },
        {
          "url": "https://git.kernel.org/stable/c/7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb"
        },
        {
          "url": "https://git.kernel.org/stable/c/802a1a8501563714a5fe8824f4ed27fec04a0719"
        },
        {
          "url": "https://git.kernel.org/stable/c/f0f484714f35d24ffa0ecb4afe3df1c5b225411d"
        },
        {
          "url": "https://git.kernel.org/stable/c/976389cbb16cee46847e5d06250a3a0b5506781e"
        },
        {
          "url": "https://git.kernel.org/stable/c/865ed67ab955428b9aa771d8b4f1e4fb7fd08945"
        }
      ],
      "title": "firmware: arm_scpi: Fix string overflow in SCPI genpd driver",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2021-47609",
    "datePublished": "2024-06-19T14:57:59.001Z",
    "dateReserved": "2024-06-19T14:55:32.794Z",
    "dateUpdated": "2025-05-04T07:14:49.883Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/639901b9429a3195e0fead981ed74b51f5f31538\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/4694b1ec425a2d20d6f8ca3db594829fdf5f2672\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/802a1a8501563714a5fe8824f4ed27fec04a0719\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/f0f484714f35d24ffa0ecb4afe3df1c5b225411d\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/976389cbb16cee46847e5d06250a3a0b5506781e\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/865ed67ab955428b9aa771d8b4f1e4fb7fd08945\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-04T05:47:40.258Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2021-47609\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T17:11:58.482320Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:26.322Z\"}}], \"cna\": {\"title\": \"firmware: arm_scpi: Fix string overflow in SCPI genpd driver\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7\", \"lessThan\": \"639901b9429a3195e0fead981ed74b51f5f31538\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7\", \"lessThan\": \"4694b1ec425a2d20d6f8ca3db594829fdf5f2672\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7\", \"lessThan\": \"7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7\", \"lessThan\": \"802a1a8501563714a5fe8824f4ed27fec04a0719\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7\", \"lessThan\": \"f0f484714f35d24ffa0ecb4afe3df1c5b225411d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7\", \"lessThan\": \"976389cbb16cee46847e5d06250a3a0b5506781e\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7\", \"lessThan\": \"865ed67ab955428b9aa771d8b4f1e4fb7fd08945\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/firmware/scpi_pm_domain.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.8\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.8\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.9.294\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.9.*\"}, {\"status\": \"unaffected\", \"version\": \"4.14.259\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.14.*\"}, {\"status\": \"unaffected\", \"version\": \"4.19.222\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.168\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.88\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.11\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"5.16\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/firmware/scpi_pm_domain.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/639901b9429a3195e0fead981ed74b51f5f31538\"}, {\"url\": \"https://git.kernel.org/stable/c/4694b1ec425a2d20d6f8ca3db594829fdf5f2672\"}, {\"url\": \"https://git.kernel.org/stable/c/7e8645ca2c0046f7cd2f0f7d569fc036c8abaedb\"}, {\"url\": \"https://git.kernel.org/stable/c/802a1a8501563714a5fe8824f4ed27fec04a0719\"}, {\"url\": \"https://git.kernel.org/stable/c/f0f484714f35d24ffa0ecb4afe3df1c5b225411d\"}, {\"url\": \"https://git.kernel.org/stable/c/976389cbb16cee46847e5d06250a3a0b5506781e\"}, {\"url\": \"https://git.kernel.org/stable/c/865ed67ab955428b9aa771d8b4f1e4fb7fd08945\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nfirmware: arm_scpi: Fix string overflow in SCPI genpd driver\\n\\nWithout the bound checks for scpi_pd-\u003ename, it could result in the buffer\\noverflow when copying the SCPI device name from the corresponding device\\ntree node as the name string is set at maximum size of 30.\\n\\nLet us fix it by using devm_kasprintf so that the string buffer is\\nallocated dynamically.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.9.294\", \"versionStartIncluding\": \"4.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.14.259\", \"versionStartIncluding\": \"4.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.19.222\", \"versionStartIncluding\": \"4.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.168\", \"versionStartIncluding\": \"4.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.88\", \"versionStartIncluding\": \"4.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.11\", \"versionStartIncluding\": \"4.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.16\", \"versionStartIncluding\": \"4.8\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-05-04T07:14:49.883Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2021-47609\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-05-04T07:14:49.883Z\", \"dateReserved\": \"2024-06-19T14:55:32.794Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-06-19T14:57:59.001Z\", \"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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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.


Loading…

Loading…