{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-31594",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-31594"
  ],
  "published": "2026-04-24T14:43:40Z",
  "summary": "PCI: endpoint: pci-epf-vntb: Remove duplicate resource teardown",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: endpoint: pci-epf-vntb: Remove duplicate resource teardown\n\nepf_ntb_epc_destroy() duplicates the teardown that the caller is\nsupposed to perform later. This leads to an oops when .allow_link fails\nor when .drop_link is performed. The following is an example oops of the\nformer case:\n\n  Unable to handle kernel paging request at virtual address dead000000000108\n  [...]\n  [dead000000000108] address between user and kernel address ranges\n  Internal error: Oops: 0000000096000044 [#1]  SMP\n  [...]\n  Call trace:\n   pci_epc_remove_epf+0x78/0xe0 (P)\n   pci_primary_epc_epf_link+0x88/0xa8\n   configfs_symlink+0x1f4/0x5a0\n   vfs_symlink+0x134/0x1d8\n   do_symlinkat+0x88/0x138\n   __arm64_sys_symlinkat+0x74/0xe0\n  [...]\n\nRemove the helper, and drop pci_epc_put(). EPC device refcounting is\ntied to the configfs EPC group lifetime, and pci_epc_put() in the\n.drop_link path is sufficient.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.175",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-31594"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/305a0674bc552bfcc3231e23fb91cf4f62aec168"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/b261027a1a235d8925e332363f23135a0eff2b35"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/e238ab12556b00f3b4d8b870b32ba1e4f4d4ebc2"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/73bf218de28d039126dc64281d2b47dd3c46a0a3"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/cec9ead73ab154a7953f6ab8dd5127e0d6bbf95a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/478e776101592eb63298714e96823ef78a3295ec"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a7a3cab4d33fd8a8aed864c447d0d7c99e85404e"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0da63230d3ec1ec5fcc443a2314233e95bfece54"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-06-15T02:03:26Z"
  }
}
