{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-97506",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-97506"
  ],
  "published": "2026-09-24T16:08:25Z",
  "summary": "crypto: ixp4xx - fix buffer chain unwind on allocation failure",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: ixp4xx - fix buffer chain unwind on allocation failure\n\nchainup_buffers() builds a linked list of buffer descriptors for a\nscatterlist. If dma_pool_alloc() fails while constructing the list, the\ncurrent code sets buf to NULL and later dereferences it unconditionally\nat the end of the function:\n\n  buf->next = NULL;\n  buf->phys_next = 0;\n\nThis can lead to a null-pointer dereference on allocation failure.\n\nIf the failure happens after part of the descriptor chain has already\nbeen allocated and DMA-mapped, the partially constructed chain also\nneeds to be released.\n\nFix this by terminating the partially constructed chain on allocation\nfailure and letting the callers unwind it via their existing cleanup\npaths. Also fix ablk_perform() to preserve the hook pointers before\nchecking for failure, so partially built chains can be freed correctly.",
  "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.189",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-97506"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d4007867be42d71795b78fa7f8ce7514dda9ca83"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4918b0bd7d2baafb45d87dca9e322137c96005c2"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/8c37bc8d6a6f77bf9593fb1bcab6c14c7cf02991"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/04cb00106ca4d0fa9eca24cadc4eda6036e855c8"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/028a7f4f3d69e551f6bf9f728d547bbf4cfc707d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/25056329384010a8672552b134f609601dc4f80e"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-10-03T11:04:09Z"
  }
}
