CVE-2024-47666 (GCVE-0-2024-47666)

Vulnerability from cvelistv5 – Published: 2024-10-09 14:13 – Updated: 2026-01-05 10:53
VLAI?
Title
scsi: pm80xx: Set phy->enable_completion only when we wait for it
Summary
In the Linux kernel, the following vulnerability has been resolved: scsi: pm80xx: Set phy->enable_completion only when we wait for it pm8001_phy_control() populates the enable_completion pointer with a stack address, sends a PHY_LINK_RESET / PHY_HARD_RESET, waits 300 ms, and returns. The problem arises when a phy control response comes late. After 300 ms the pm8001_phy_control() function returns and the passed enable_completion stack address is no longer valid. Late phy control response invokes complete() on a dangling enable_completion pointer which leads to a kernel crash.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 869ddbdcae3b4fb83b99889abae31544c149b210 , < ddc501f4130f4baa787cb6cfa309af697179f475 (git)
Affected: 869ddbdcae3b4fb83b99889abae31544c149b210 , < a5d954802bda1aabcba49633cd94bad91c94113f (git)
Affected: 869ddbdcae3b4fb83b99889abae31544c149b210 , < e23ee0cc5bded07e700553aecc333bb20c768546 (git)
Affected: 869ddbdcae3b4fb83b99889abae31544c149b210 , < 7b1d779647afaea9185fa2f150b1721e7c1aae89 (git)
Affected: 869ddbdcae3b4fb83b99889abae31544c149b210 , < f14d3e1aa613311c744af32d75125e95fc8ffb84 (git)
Affected: 869ddbdcae3b4fb83b99889abae31544c149b210 , < e4f949ef1516c0d74745ee54a0f4882c1f6c7aea (git)
Create a notification for this product.
    Linux Linux Affected: 4.15
Unaffected: 0 , < 4.15 (semver)
Unaffected: 5.10.247 , ≤ 5.10.* (semver)
Unaffected: 5.15.197 , ≤ 5.15.* (semver)
Unaffected: 6.1.159 , ≤ 6.1.* (semver)
Unaffected: 6.6.51 , ≤ 6.6.* (semver)
Unaffected: 6.10.10 , ≤ 6.10.* (semver)
Unaffected: 6.11 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-47666",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-10-10T13:21:42.621552Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-10-10T13:21:56.821Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/pm8001/pm8001_sas.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ddc501f4130f4baa787cb6cfa309af697179f475",
              "status": "affected",
              "version": "869ddbdcae3b4fb83b99889abae31544c149b210",
              "versionType": "git"
            },
            {
              "lessThan": "a5d954802bda1aabcba49633cd94bad91c94113f",
              "status": "affected",
              "version": "869ddbdcae3b4fb83b99889abae31544c149b210",
              "versionType": "git"
            },
            {
              "lessThan": "e23ee0cc5bded07e700553aecc333bb20c768546",
              "status": "affected",
              "version": "869ddbdcae3b4fb83b99889abae31544c149b210",
              "versionType": "git"
            },
            {
              "lessThan": "7b1d779647afaea9185fa2f150b1721e7c1aae89",
              "status": "affected",
              "version": "869ddbdcae3b4fb83b99889abae31544c149b210",
              "versionType": "git"
            },
            {
              "lessThan": "f14d3e1aa613311c744af32d75125e95fc8ffb84",
              "status": "affected",
              "version": "869ddbdcae3b4fb83b99889abae31544c149b210",
              "versionType": "git"
            },
            {
              "lessThan": "e4f949ef1516c0d74745ee54a0f4882c1f6c7aea",
              "status": "affected",
              "version": "869ddbdcae3b4fb83b99889abae31544c149b210",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/pm8001/pm8001_sas.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.15"
            },
            {
              "lessThan": "4.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.247",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.197",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.159",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.51",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.10.*",
              "status": "unaffected",
              "version": "6.10.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.11",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.247",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.197",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.159",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.51",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.10.10",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.11",
                  "versionStartIncluding": "4.15",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: pm80xx: Set phy-\u003eenable_completion only when we wait for it\n\npm8001_phy_control() populates the enable_completion pointer with a stack\naddress, sends a PHY_LINK_RESET / PHY_HARD_RESET, waits 300 ms, and\nreturns. The problem arises when a phy control response comes late.  After\n300 ms the pm8001_phy_control() function returns and the passed\nenable_completion stack address is no longer valid. Late phy control\nresponse invokes complete() on a dangling enable_completion pointer which\nleads to a kernel crash."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-01-05T10:53:49.051Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ddc501f4130f4baa787cb6cfa309af697179f475"
        },
        {
          "url": "https://git.kernel.org/stable/c/a5d954802bda1aabcba49633cd94bad91c94113f"
        },
        {
          "url": "https://git.kernel.org/stable/c/e23ee0cc5bded07e700553aecc333bb20c768546"
        },
        {
          "url": "https://git.kernel.org/stable/c/7b1d779647afaea9185fa2f150b1721e7c1aae89"
        },
        {
          "url": "https://git.kernel.org/stable/c/f14d3e1aa613311c744af32d75125e95fc8ffb84"
        },
        {
          "url": "https://git.kernel.org/stable/c/e4f949ef1516c0d74745ee54a0f4882c1f6c7aea"
        }
      ],
      "title": "scsi: pm80xx: Set phy-\u003eenable_completion only when we wait for it",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-47666",
    "datePublished": "2024-10-09T14:13:58.849Z",
    "dateReserved": "2024-09-30T16:00:12.936Z",
    "dateUpdated": "2026-01-05T10:53:49.051Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-47666\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-10-10T13:21:42.621552Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-10-10T13:21:46.685Z\"}}], \"cna\": {\"title\": \"scsi: pm80xx: Set phy-\u003eenable_completion only when we wait for it\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"869ddbdcae3b4fb83b99889abae31544c149b210\", \"lessThan\": \"ddc501f4130f4baa787cb6cfa309af697179f475\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"869ddbdcae3b4fb83b99889abae31544c149b210\", \"lessThan\": \"a5d954802bda1aabcba49633cd94bad91c94113f\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"869ddbdcae3b4fb83b99889abae31544c149b210\", \"lessThan\": \"e23ee0cc5bded07e700553aecc333bb20c768546\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"869ddbdcae3b4fb83b99889abae31544c149b210\", \"lessThan\": \"7b1d779647afaea9185fa2f150b1721e7c1aae89\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"869ddbdcae3b4fb83b99889abae31544c149b210\", \"lessThan\": \"f14d3e1aa613311c744af32d75125e95fc8ffb84\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"869ddbdcae3b4fb83b99889abae31544c149b210\", \"lessThan\": \"e4f949ef1516c0d74745ee54a0f4882c1f6c7aea\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/scsi/pm8001/pm8001_sas.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.15\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.15\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.10.247\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.197\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.159\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.51\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.10.10\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.10.*\"}, {\"status\": \"unaffected\", \"version\": \"6.11\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/scsi/pm8001/pm8001_sas.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/ddc501f4130f4baa787cb6cfa309af697179f475\"}, {\"url\": \"https://git.kernel.org/stable/c/a5d954802bda1aabcba49633cd94bad91c94113f\"}, {\"url\": \"https://git.kernel.org/stable/c/e23ee0cc5bded07e700553aecc333bb20c768546\"}, {\"url\": \"https://git.kernel.org/stable/c/7b1d779647afaea9185fa2f150b1721e7c1aae89\"}, {\"url\": \"https://git.kernel.org/stable/c/f14d3e1aa613311c744af32d75125e95fc8ffb84\"}, {\"url\": \"https://git.kernel.org/stable/c/e4f949ef1516c0d74745ee54a0f4882c1f6c7aea\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nscsi: pm80xx: Set phy-\u003eenable_completion only when we wait for it\\n\\npm8001_phy_control() populates the enable_completion pointer with a stack\\naddress, sends a PHY_LINK_RESET / PHY_HARD_RESET, waits 300 ms, and\\nreturns. The problem arises when a phy control response comes late.  After\\n300 ms the pm8001_phy_control() function returns and the passed\\nenable_completion stack address is no longer valid. Late phy control\\nresponse invokes complete() on a dangling enable_completion pointer which\\nleads to a kernel crash.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.247\", \"versionStartIncluding\": \"4.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.197\", \"versionStartIncluding\": \"4.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.159\", \"versionStartIncluding\": \"4.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.51\", \"versionStartIncluding\": \"4.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.10.10\", \"versionStartIncluding\": \"4.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.11\", \"versionStartIncluding\": \"4.15\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-01-05T10:53:49.051Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-47666\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-01-05T10:53:49.051Z\", \"dateReserved\": \"2024-09-30T16:00:12.936Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-10-09T14:13:58.849Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…