CVE-2026-31489 (GCVE-0-2026-31489)

Vulnerability from cvelistv5 – Published: 2026-04-22 13:54 – Updated: 2026-04-22 13:54
VLAI?
Title
spi: meson-spicc: Fix double-put in remove path
Summary
In the Linux kernel, the following vulnerability has been resolved: spi: meson-spicc: Fix double-put in remove path meson_spicc_probe() registers the controller with devm_spi_register_controller(), so teardown already drops the controller reference via devm cleanup. Calling spi_controller_put() again in meson_spicc_remove() causes a double-put.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 8311ee2164c5cd1b63a601ea366f540eae89f10e , < 40ad0334c17b23d8b66b1082ad1478a6202e90e2 (git)
Affected: 8311ee2164c5cd1b63a601ea366f540eae89f10e , < da06a104f0486355073ff0d1bcb1fcbebb7080d6 (git)
Affected: 8311ee2164c5cd1b63a601ea366f540eae89f10e , < 9b812ceb75a6260c17c91db4b9e74ead8cfa06f5 (git)
Affected: 8311ee2164c5cd1b63a601ea366f540eae89f10e , < 63542bb402b7013171c9f621c28b609eda4dbf1f (git)
Affected: ff056817560d72363b463ddac27822dc8c121280 (git)
Affected: 683b47d0ebb10ba0d272604b09686e023d10d40c (git)
Affected: a5bf7ef13ebf6adf62a69ab3542d4fc0564c082e (git)
Affected: 05565b469358a9a03034f7f712d83590a9f125a4 (git)
Affected: f2ca988aba4eaad1319e80eb1316a4ba5dbd6897 (git)
Create a notification for this product.
    Linux Linux Affected: 5.14
Unaffected: 0 , < 5.14 (semver)
Unaffected: 6.12.80 , ≤ 6.12.* (semver)
Unaffected: 6.18.21 , ≤ 6.18.* (semver)
Unaffected: 6.19.11 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/spi/spi-meson-spicc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "40ad0334c17b23d8b66b1082ad1478a6202e90e2",
              "status": "affected",
              "version": "8311ee2164c5cd1b63a601ea366f540eae89f10e",
              "versionType": "git"
            },
            {
              "lessThan": "da06a104f0486355073ff0d1bcb1fcbebb7080d6",
              "status": "affected",
              "version": "8311ee2164c5cd1b63a601ea366f540eae89f10e",
              "versionType": "git"
            },
            {
              "lessThan": "9b812ceb75a6260c17c91db4b9e74ead8cfa06f5",
              "status": "affected",
              "version": "8311ee2164c5cd1b63a601ea366f540eae89f10e",
              "versionType": "git"
            },
            {
              "lessThan": "63542bb402b7013171c9f621c28b609eda4dbf1f",
              "status": "affected",
              "version": "8311ee2164c5cd1b63a601ea366f540eae89f10e",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "ff056817560d72363b463ddac27822dc8c121280",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "683b47d0ebb10ba0d272604b09686e023d10d40c",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a5bf7ef13ebf6adf62a69ab3542d4fc0564c082e",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "05565b469358a9a03034f7f712d83590a9f125a4",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "f2ca988aba4eaad1319e80eb1316a4ba5dbd6897",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/spi/spi-meson-spicc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.14"
            },
            {
              "lessThan": "5.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.80",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.21",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.80",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.21",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.11",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.14.244",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.19.203",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.4.140",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.10.58",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.13.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nspi: meson-spicc: Fix double-put in remove path\n\nmeson_spicc_probe() registers the controller with\ndevm_spi_register_controller(), so teardown already drops the\ncontroller reference via devm cleanup.\n\nCalling spi_controller_put() again in meson_spicc_remove()\ncauses a double-put."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-04-22T13:54:13.602Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/40ad0334c17b23d8b66b1082ad1478a6202e90e2"
        },
        {
          "url": "https://git.kernel.org/stable/c/da06a104f0486355073ff0d1bcb1fcbebb7080d6"
        },
        {
          "url": "https://git.kernel.org/stable/c/9b812ceb75a6260c17c91db4b9e74ead8cfa06f5"
        },
        {
          "url": "https://git.kernel.org/stable/c/63542bb402b7013171c9f621c28b609eda4dbf1f"
        }
      ],
      "title": "spi: meson-spicc: Fix double-put in remove path",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-31489",
    "datePublished": "2026-04-22T13:54:13.602Z",
    "dateReserved": "2026-03-09T15:48:24.101Z",
    "dateUpdated": "2026-04-22T13:54:13.602Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-31489\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-04-22T14:16:46.603\",\"lastModified\":\"2026-04-22T14:16:46.603\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nspi: meson-spicc: Fix double-put in remove path\\n\\nmeson_spicc_probe() registers the controller with\\ndevm_spi_register_controller(), so teardown already drops the\\ncontroller reference via devm cleanup.\\n\\nCalling spi_controller_put() again in meson_spicc_remove()\\ncauses a double-put.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/40ad0334c17b23d8b66b1082ad1478a6202e90e2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/63542bb402b7013171c9f621c28b609eda4dbf1f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9b812ceb75a6260c17c91db4b9e74ead8cfa06f5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/da06a104f0486355073ff0d1bcb1fcbebb7080d6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…