{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "bdbdf0f06337d3661b64c0288c291cb06624065e"
            },
            {
              "fixed": "b8188ff3cfaa5621212b08473488cdbe41f86531"
            },
            {
              "fixed": "aae4a47073b12c23eb1d2c5401bda442fbe27bd1"
            },
            {
              "fixed": "184f5aaf72f1f1c73e66bae0b8d28e81c2f2a72f"
            },
            {
              "fixed": "3b46d61890632c8f8b117147b6923bff4b42ccb7"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.8.0"
            },
            {
              "fixed": "6.12.92"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.34"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "6.19.11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31560.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nspi: spi-dw-dma: fix print error log when wait finish transaction\n\nIf an error occurs, the device may not have a current message. In this\ncase, the system will crash.\n\nIn this case, it's better to use dev from the struct ctlr (struct spi_controller*).",
  "id": "CVE-2026-31560",
  "modified": "2026-07-08T05:38:28.952238Z",
  "published": "2026-04-24T14:35:42.634Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/184f5aaf72f1f1c73e66bae0b8d28e81c2f2a72f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3b46d61890632c8f8b117147b6923bff4b42ccb7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/aae4a47073b12c23eb1d2c5401bda442fbe27bd1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b8188ff3cfaa5621212b08473488cdbe41f86531"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31560.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31560"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "spi: spi-dw-dma: fix print error log when wait finish transaction"
}