Skip to content
Heist/ feed
Back to feed
UnratedFix available

pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.19.322, 5.10.226, 5.15.167, 5.4.284, 6.1.110, 6.10.10, 6.6.51
CVEs
CVE-2024-46761
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 16:19 UTC · Revision 1

Source evidence

pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv

core-osv · Original source

Published 18 Sept 2024, 07:12 UTC

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.

osv:CVE-2024-46761

Kernel

Fixed versions: 4.19.322, 5.4.284, 5.10.226, 5.15.167, 6.1.110, 6.6.51, 6.10.10

Complete source record
{
  "id": "cc8395bceee65ceb2207e2d5c95a25af789a13cf2e00ef5a96c8ee62d0e2d5df",
  "url": "https://osv.dev/vulnerability/CVE-2024-46761",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv",
    "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.",
    "evidence": "osv:CVE-2024-46761",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.19.322",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.284",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.226",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.167",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.110",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.51",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.10.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2024-46761",
      "aliases": [
        "CVE-2024-46761"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "49f4b08e61547a5ccd2db551d994c4503efe5666"
                },
                {
                  "fixed": "4eb4085c1346d19d4a05c55246eb93e74e671048"
                },
                {
                  "fixed": "c4c681999d385e28f84808bbf3a85ea8e982da55"
                },
                {
                  "fixed": "bc1faed19db95abf0933b104910a3fb01b138f59"
                },
                {
                  "fixed": "c0d8094dc740cfacf3775bbc6a1c4720459e8de4"
                },
                {
                  "fixed": "438d522227374042b5c8798f8ce83bbe479dca4d"
                },
                {
                  "fixed": "b82d4d5c736f4fd2ed224c35f554f50d1953d21e"
                },
                {
                  "fixed": "bfc44075b19740d372f989f21dd03168bfda0689"
                },
                {
                  "fixed": "335e35b748527f0c06ded9eebb65387f60647fda"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4.9.14"
                },
                {
                  "fixed": "4.10"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4.10.2"
                },
                {
                  "fixed": "4.11"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1fb738a3dc1304250c755e5e31715137c1c44c50"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "bc4c9766324a7e9fda48de58691796430c8511bf"
                }
              ]
            }
          ],
          "versions": [
            "v4.9.337",
            "v4.9.336",
            "v4.9.335",
            "v4.9.334",
            "v4.9.333",
            "v4.9.332",
            "v4.9.331",
            "v4.9.330",
            "v4.9.329",
            "v4.9.328",
            "v4.9.327",
            "v4.9.326",
            "v4.9.325",
            "v4.9.324",
            "v4.9.323",
            "v4.9.322",
            "v4.9.321",
            "v4.9.320",
            "v4.9.319",
            "v4.9.318",
            "v4.9.317",
            "v4.9.316",
            "v4.9.315",
            "v4.9.314",
            "v4.9.313",
            "v4.9.312",
            "v4.9.311",
            "v4.9.310",
            "v4.9.309",
            "v4.9.308",
            "v4.9.307",
            "v4.9.306",
            "v4.9.305",
            "v4.9.304",
            "v4.9.303",
            "v4.9.302",
            "v4.9.301",
            "v4.9.300",
            "v4.9.299",
            "v4.9.298",
            "v4.9.297",
            "v4.9.296",
            "v4.9.295",
            "v4.9.294",
            "v4.9.293",
            "v4.9.292",
            "v4.9.291",
            "v4.9.290",
            "v4.9.289",
            "v4.9.288",
            "v4.9.287",
            "v4.9.286",
            "v4.9.285",
            "v4.9.284",
            "v4.9.283",
            "v4.9.282",
            "v4.9.281",
            "v4.9.280",
            "v4.9.279",
            "v4.9.278",
            "v4.9.277",
            "v4.9.276",
            "v4.9.275",
            "v4.9.274",
            "v4.9.273",
            "v4.9.272",
            "v4.9.271",
            "v4.9.270",
            "v4.9.269",
            "v4.9.268",
            "v4.9.267",
            "v4.9.266",
            "v4.9.265",
            "v4.9.264",
            "v4.9.263",
            "v4.9.262",
            "v4.9.261",
            "v4.9.260",
            "v4.9.259",
            "v4.9.258",
            "v4.9.257",
            "v4.9.256",
            "v4.9.255",
            "v4.9.254",
            "v4.9.253",
            "v4.9.252",
            "v4.9.251",
            "v4.9.250",
            "v4.9.249",
            "v4.9.248",
            "v4.9.247",
            "v4.9.246",
            "v4.9.245",
            "v4.9.244",
            "v4.9.243",
            "v4.9.242",
            "v4.9.241",
            "v4.9.240",
            "v4.9.239",
            "v4.9.238",
            "v4.9.237",
            "v4.9.236",
            "v4.9.235",
            "v4.9.234",
            "v4.9.233",
            "v4.9.232",
            "v4.9.231",
            "v4.9.230",
            "v4.9.229",
            "v4.9.228",
            "v4.9.227",
            "v4.9.226",
            "v4.9.225",
            "v4.9.224",
            "v4.9.223",
            "v4.9.222",
            "v4.9.221",
            "v4.9.220",
            "v4.9.219",
            "v4.9.218",
            "v4.9.217",
            "v4.9.216",
            "v4.9.215",
            "v4.9.214",
            "v4.9.213",
            "v4.9.212",
            "v4.9.211",
            "v4.9.210",
            "v4.9.209",
            "v4.9.208",
            "v4.9.207",
            "v4.9.206",
            "v4.9.205",
            "v4.9.204",
            "v4.9.203",
            "v4.9.202",
            "v4.9.201",
            "v4.9.200",
            "v4.9.199",
            "v4.9.198",
            "v4.9.197",
            "v4.9.196",
            "v4.9.195",
            "v4.9.194",
            "v4.9.193",
            "v4.9.192",
            "v4.9.191",
            "v4.9.190",
            "v4.9.189",
            "v4.9.188",
            "v4.9.187",
            "v4.9.186",
            "v4.9.185",
            "v4.9.184",
            "v4.9.183",
            "v4.9.182",
            "v4.9.181",
            "v4.9.180",
            "v4.9.179",
            "v4.9.178",
            "v4.9.177",
            "v4.9.176",
            "v4.9.175",
            "v4.9.174",
            "v4.9.173",
            "v4.9.172",
            "v4.9.171",
            "v4.9.170",
            "v4.9.169",
            "v4.9.168",
            "v4.9.167",
            "v4.9.166",
            "v4.9.165",
            "v4.9.164",
            "v4.9.163",
            "v4.9.162",
            "v4.9.161",
            "v4.9.160",
            "v4.9.159",
            "v4.9.158",
            "v4.9.157",
            "v4.9.156",
            "v4.9.155",
            "v4.9.154",
            "v4.9.153",
            "v4.9.152",
            "v4.9.151",
            "v4.9.150",
            "v4.9.149",
            "v4.9.148",
            "v4.9.147",
            "v4.9.146",
            "v4.9.145",
            "v4.9.144",
            "v4.9.143",
            "v4.9.142",
            "v4.9.141",
            "v4.9.140",
            "v4.9.139",
            "v4.9.138",
            "v4.9.137",
            "v4.9.136",
            "v4.9.135",
            "v4.9.134",
            "v4.9.133",
            "v4.9.132",
            "v4.9.131",
            "v4.9.130",
            "v4.9.129",
            "v4.9.128",
            "v4.9.127",
            "v4.9.126",
            "v4.9.125",
            "v4.9.124",
            "v4.9.123",
            "v4.9.122",
            "v4.9.121",
            "v4.9.120",
            "v4.9.119",
            "v4.9.118",
            "v4.9.117",
            "v4.9.116",
            "v4.9.115",
            "v4.9.114",
            "v4.9.113",
            "v4.9.112",
            "v4.9.111",
            "v4.9.110",
            "v4.9.109",
            "v4.9.108",
            "v4.9.107",
            "v4.9.106",
            "v4.9.105",
            "v4.9.104",
            "v4.9.103",
            "v4.9.102",
            "v4.9.101",
            "v4.9.100",
            "v4.9.99",
            "v4.9.98",
            "v4.9.97",
            "v4.9.96",
            "v4.9.95",
            "v4.9.94",
            "v4.9.93",
            "v4.9.92",
            "v4.9.91",
            "v4.9.90",
            "v4.9.89",
            "v4.9.88",
            "v4.9.87",
            "v4.9.86",
            "v4.9.85",
            "v4.9.84",
            "v4.9.83",
            "v4.9.82",
            "v4.9.81",
            "v4.9.80",
            "v4.9.79",
            "v4.9.78",
            "v4.9.77",
            "v4.9.76",
            "v4.9.75",
            "v4.9.74",
            "v4.9.73",
            "v4.9.72",
            "v4.9.71",
            "v4.9.70",
            "v4.9.69",
            "v4.9.68",
            "v4.9.67",
            "v4.9.66",
            "v4.9.65",
            "v4.9.64",
            "v4.9.63",
            "v4.9.62",
            "v4.9.61",
            "v4.9.60",
            "v4.9.59",
            "v4.9.58",
            "v4.9.57",
            "v4.9.56",
            "v4.9.55",
            "v4.9.54",
            "v4.9.53",
            "v4.9.52",
            "v4.9.51",
            "v4.9.50",
            "v4.9.49",
            "v4.9.48",
            "v4.9.47",
            "v4.9.46",
            "v4.9.45",
            "v4.9.44",
            "v4.9.43",
            "v4.9.42",
            "v4.9.41",
            "v4.9.40",
            "v4.9.39",
            "v4.9.38",
            "v4.9.37",
            "v4.9.36",
            "v4.9.35",
            "v4.9.34",
            "v4.9.33",
            "v4.9.32",
            "v4.9.31",
            "v4.9.30",
            "v4.9.29",
            "v4.9.28",
            "v4.9.27",
            "v4.9.26",
            "v4.9.25",
            "v4.9.24",
            "v4.9.23",
            "v4.9.22",
            "v4.9.21",
            "v4.9.20",
            "v4.9.19",
            "v4.9.18",
            "v4.9.17",
            "v4.9.16",
            "v4.9.15",
            "v4.9.14",
            "v4.10.17",
            "v4.10.16",
            "v4.10.15",
            "v4.10.14",
            "v4.10.13",
            "v4.10.12",
            "v4.10.11",
            "v4.10.10",
            "v4.10.9",
            "v4.10.8",
            "v4.10.7",
            "v4.10.6",
            "v4.10.5",
            "v4.10.4",
            "v4.10.3",
            "v4.10.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46761.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.11.0"
                },
                {
                  "fixed": "4.19.322"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.284"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.226"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.167"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.110"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.51"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.10.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46761.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:20.861916230Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/335e35b748527f0c06ded9eebb65387f60647fda",
        "https://git.kernel.org/stable/c/438d522227374042b5c8798f8ce83bbe479dca4d",
        "https://git.kernel.org/stable/c/4eb4085c1346d19d4a05c55246eb93e74e671048",
        "https://git.kernel.org/stable/c/b82d4d5c736f4fd2ed224c35f554f50d1953d21e",
        "https://git.kernel.org/stable/c/bc1faed19db95abf0933b104910a3fb01b138f59",
        "https://git.kernel.org/stable/c/bfc44075b19740d372f989f21dd03168bfda0689",
        "https://git.kernel.org/stable/c/c0d8094dc740cfacf3775bbc6a1c4720459e8de4",
        "https://git.kernel.org/stable/c/c4c681999d385e28f84808bbf3a85ea8e982da55",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46761.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-46761",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46761.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-46761",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 487035,
  "published_at": "2024-09-18T07:12:20.852+00:00"
}