CVE-2024-46761 (GCVE-0-2024-46761)
Vulnerability from cvelistv5
Published
2024-09-18 07:12
Modified
2026-01-05 10:53
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv The hotplug driver for powerpc (pci/hotplug/pnv_php.c) causes a kernel crash when we try to hot-unplug/disable the PCIe switch/bridge from the PHB. The crash occurs because although the MSI data structure has been released during disable/hot-unplug path and it has been assigned with NULL, still during unregistration the code was again trying to explicitly disable the MSI which causes the NULL pointer dereference and kernel crash. The patch fixes the check during unregistration path to prevent invoking pci_disable_msi/msix() since its data structure is already freed.
Impacted products
Vendor Product Version
Linux Linux Version: 49f4b08e61547a5ccd2db551d994c4503efe5666
Version: 49f4b08e61547a5ccd2db551d994c4503efe5666
Version: 49f4b08e61547a5ccd2db551d994c4503efe5666
Version: 49f4b08e61547a5ccd2db551d994c4503efe5666
Version: 49f4b08e61547a5ccd2db551d994c4503efe5666
Version: 49f4b08e61547a5ccd2db551d994c4503efe5666
Version: 49f4b08e61547a5ccd2db551d994c4503efe5666
Version: 49f4b08e61547a5ccd2db551d994c4503efe5666
Version: 1fb738a3dc1304250c755e5e31715137c1c44c50
Version: bc4c9766324a7e9fda48de58691796430c8511bf
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-46761",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-29T14:43:48.967345Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-29T14:44:03.634Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2025-11-03T22:18:06.078Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/pci/hotplug/pnv_php.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "4eb4085c1346d19d4a05c55246eb93e74e671048",
              "status": "affected",
              "version": "49f4b08e61547a5ccd2db551d994c4503efe5666",
              "versionType": "git"
            },
            {
              "lessThan": "c4c681999d385e28f84808bbf3a85ea8e982da55",
              "status": "affected",
              "version": "49f4b08e61547a5ccd2db551d994c4503efe5666",
              "versionType": "git"
            },
            {
              "lessThan": "bc1faed19db95abf0933b104910a3fb01b138f59",
              "status": "affected",
              "version": "49f4b08e61547a5ccd2db551d994c4503efe5666",
              "versionType": "git"
            },
            {
              "lessThan": "c0d8094dc740cfacf3775bbc6a1c4720459e8de4",
              "status": "affected",
              "version": "49f4b08e61547a5ccd2db551d994c4503efe5666",
              "versionType": "git"
            },
            {
              "lessThan": "438d522227374042b5c8798f8ce83bbe479dca4d",
              "status": "affected",
              "version": "49f4b08e61547a5ccd2db551d994c4503efe5666",
              "versionType": "git"
            },
            {
              "lessThan": "b82d4d5c736f4fd2ed224c35f554f50d1953d21e",
              "status": "affected",
              "version": "49f4b08e61547a5ccd2db551d994c4503efe5666",
              "versionType": "git"
            },
            {
              "lessThan": "bfc44075b19740d372f989f21dd03168bfda0689",
              "status": "affected",
              "version": "49f4b08e61547a5ccd2db551d994c4503efe5666",
              "versionType": "git"
            },
            {
              "lessThan": "335e35b748527f0c06ded9eebb65387f60647fda",
              "status": "affected",
              "version": "49f4b08e61547a5ccd2db551d994c4503efe5666",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "1fb738a3dc1304250c755e5e31715137c1c44c50",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "bc4c9766324a7e9fda48de58691796430c8511bf",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/pci/hotplug/pnv_php.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.11"
            },
            {
              "lessThan": "4.11",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.322",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.284",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.167",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.110",
              "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": "4.19.322",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.284",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.226",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.167",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.110",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.51",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.10.10",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.11",
                  "versionStartIncluding": "4.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.9.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.10.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\npci/hotplug/pnv_php: Fix hotplug driver crash on Powernv\n\nThe hotplug driver for powerpc (pci/hotplug/pnv_php.c) causes a kernel\ncrash when we try to hot-unplug/disable the PCIe switch/bridge from\nthe PHB.\n\nThe crash occurs because although the MSI data structure has been\nreleased during disable/hot-unplug path and it has been assigned\nwith NULL, still during unregistration the code was again trying to\nexplicitly disable the MSI which causes the NULL pointer dereference and\nkernel crash.\n\nThe patch fixes the check during unregistration path to prevent invoking\npci_disable_msi/msix() since its data structure is already freed."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-01-05T10:53:14.938Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/4eb4085c1346d19d4a05c55246eb93e74e671048"
        },
        {
          "url": "https://git.kernel.org/stable/c/c4c681999d385e28f84808bbf3a85ea8e982da55"
        },
        {
          "url": "https://git.kernel.org/stable/c/bc1faed19db95abf0933b104910a3fb01b138f59"
        },
        {
          "url": "https://git.kernel.org/stable/c/c0d8094dc740cfacf3775bbc6a1c4720459e8de4"
        },
        {
          "url": "https://git.kernel.org/stable/c/438d522227374042b5c8798f8ce83bbe479dca4d"
        },
        {
          "url": "https://git.kernel.org/stable/c/b82d4d5c736f4fd2ed224c35f554f50d1953d21e"
        },
        {
          "url": "https://git.kernel.org/stable/c/bfc44075b19740d372f989f21dd03168bfda0689"
        },
        {
          "url": "https://git.kernel.org/stable/c/335e35b748527f0c06ded9eebb65387f60647fda"
        }
      ],
      "title": "pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-46761",
    "datePublished": "2024-09-18T07:12:20.852Z",
    "dateReserved": "2024-09-11T15:12:18.272Z",
    "dateUpdated": "2026-01-05T10:53:14.938Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html\"}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2025-11-03T22:18:06.078Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-46761\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-29T14:43:48.967345Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-29T14:43:53.019Z\"}}], \"cna\": {\"title\": \"pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"49f4b08e61547a5ccd2db551d994c4503efe5666\", \"lessThan\": \"4eb4085c1346d19d4a05c55246eb93e74e671048\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"49f4b08e61547a5ccd2db551d994c4503efe5666\", \"lessThan\": \"c4c681999d385e28f84808bbf3a85ea8e982da55\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"49f4b08e61547a5ccd2db551d994c4503efe5666\", \"lessThan\": \"bc1faed19db95abf0933b104910a3fb01b138f59\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"49f4b08e61547a5ccd2db551d994c4503efe5666\", \"lessThan\": \"c0d8094dc740cfacf3775bbc6a1c4720459e8de4\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"49f4b08e61547a5ccd2db551d994c4503efe5666\", \"lessThan\": \"438d522227374042b5c8798f8ce83bbe479dca4d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"49f4b08e61547a5ccd2db551d994c4503efe5666\", \"lessThan\": \"b82d4d5c736f4fd2ed224c35f554f50d1953d21e\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"49f4b08e61547a5ccd2db551d994c4503efe5666\", \"lessThan\": \"bfc44075b19740d372f989f21dd03168bfda0689\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"49f4b08e61547a5ccd2db551d994c4503efe5666\", \"lessThan\": \"335e35b748527f0c06ded9eebb65387f60647fda\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"1fb738a3dc1304250c755e5e31715137c1c44c50\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"bc4c9766324a7e9fda48de58691796430c8511bf\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/pci/hotplug/pnv_php.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.11\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.11\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.19.322\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.284\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.226\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.167\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.110\", \"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/pci/hotplug/pnv_php.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/4eb4085c1346d19d4a05c55246eb93e74e671048\"}, {\"url\": \"https://git.kernel.org/stable/c/c4c681999d385e28f84808bbf3a85ea8e982da55\"}, {\"url\": \"https://git.kernel.org/stable/c/bc1faed19db95abf0933b104910a3fb01b138f59\"}, {\"url\": \"https://git.kernel.org/stable/c/c0d8094dc740cfacf3775bbc6a1c4720459e8de4\"}, {\"url\": \"https://git.kernel.org/stable/c/438d522227374042b5c8798f8ce83bbe479dca4d\"}, {\"url\": \"https://git.kernel.org/stable/c/b82d4d5c736f4fd2ed224c35f554f50d1953d21e\"}, {\"url\": \"https://git.kernel.org/stable/c/bfc44075b19740d372f989f21dd03168bfda0689\"}, {\"url\": \"https://git.kernel.org/stable/c/335e35b748527f0c06ded9eebb65387f60647fda\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\npci/hotplug/pnv_php: Fix hotplug driver crash on Powernv\\n\\nThe hotplug driver for powerpc (pci/hotplug/pnv_php.c) causes a kernel\\ncrash when we try to hot-unplug/disable the PCIe switch/bridge from\\nthe PHB.\\n\\nThe crash occurs because although the MSI data structure has been\\nreleased during disable/hot-unplug path and it has been assigned\\nwith NULL, still during unregistration the code was again trying to\\nexplicitly disable the MSI which causes the NULL pointer dereference and\\nkernel crash.\\n\\nThe patch fixes the check during unregistration path to prevent invoking\\npci_disable_msi/msix() since its data structure is already freed.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.19.322\", \"versionStartIncluding\": \"4.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.284\", \"versionStartIncluding\": \"4.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.226\", \"versionStartIncluding\": \"4.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.167\", \"versionStartIncluding\": \"4.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.110\", \"versionStartIncluding\": \"4.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.51\", \"versionStartIncluding\": \"4.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.10.10\", \"versionStartIncluding\": \"4.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.11\", \"versionStartIncluding\": \"4.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"4.9.14\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"4.10.2\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-01-05T10:53:14.938Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-46761\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-01-05T10:53:14.938Z\", \"dateReserved\": \"2024-09-11T15:12:18.272Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-09-18T07:12:20.852Z\", \"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 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…