{
  "id": "CVE-2026-23068",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-23068",
  "published_at": "2026-02-04T16:07:49.119Z",
  "title": "spi: spi-sprd-adi: Fix double free in probe error path",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nspi: spi-sprd-adi: Fix double free in probe error path\n\nThe driver currently uses spi_alloc_host() to allocate the controller\nbut registers it using devm_spi_register_controller().\n\nIf devm_register_restart_handler() fails, the code jumps to the\nput_ctlr label and calls spi_controller_put(). However, since the\ncontroller was registered via a devm function, the device core will\nautomatically call spi_controller_put() again when the probe fails.\nThis results in a double-free of the spi_controller structure.\n\nFix this by switching to devm_spi_alloc_host() and removing the\nmanual spi_controller_put() call.",
  "cwe": "CWE-415",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc6:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= ac1775012058e13ef1522938e27f5973d9e3f053, \u003c bddd3d10d039729b81cfb0804520c8832a701a0e",
          "\u003e= ac1775012058e13ef1522938e27f5973d9e3f053, \u003c 417cdfd9b9f986e95bfcb1d68eb443e6e0a15f8c",
          "\u003e= ac1775012058e13ef1522938e27f5973d9e3f053, \u003c 346775f2b4cf839177e8e86b94aa180a06dc15b0",
          "\u003e= ac1775012058e13ef1522938e27f5973d9e3f053, \u003c f6d6b3f172df118db582fe5ec43ae223a55d99cf",
          "\u003e= ac1775012058e13ef1522938e27f5973d9e3f053, \u003c 383d4f5cffcc8df930d95b06518a9d25a6d74aac"
        ],
        "fixed_in": [
          "bddd3d10d039729b81cfb0804520c8832a701a0e",
          "417cdfd9b9f986e95bfcb1d68eb443e6e0a15f8c",
          "346775f2b4cf839177e8e86b94aa180a06dc15b0",
          "f6d6b3f172df118db582fe5ec43ae223a55d99cf",
          "383d4f5cffcc8df930d95b06518a9d25a6d74aac"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.17"
        ],
        "fixed_in": [
          "0",
          "6.1.162",
          "6.6.122",
          "6.12.68",
          "6.18.8",
          "6.19"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to bddd3d10d039729b81cfb0804520c8832a701a0e or 417cdfd9b9f986e95bfcb1d68eb443e6e0a15f8c or 346775f2b4cf839177e8e86b94aa180a06dc15b0 or f6d6b3f172df118db582fe5ec43ae223a55d99cf or 383d4f5cffcc8df930d95b06518a9d25a6d74aac or later.",
      "Upgrade Linux to 0 or 6.1.162 or 6.6.122 or 6.12.68 or 6.18.8 or 6.19 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
