Skip to content
Heist/ feed
Unrated

spi: fix statistics allocation

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: spi: fix statistics allocation The controller per-cpu statistics is not allocated until after the controller has been registered with driver core, which leaves a window where accessing the sysfs attributes can trigger a NULL-pointer dereference. Fix this by moving the statistics allocation to controller allocation while tying its lifetime to that of the controller (rather than using implicit devres).

Announced Source revision 1
Original source ↗

CVE-2026-23475

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-23475

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6598b91b5ac32bc756d7c3000a31f775d4ead1c4",
        "lessThan": "80c5bd0dca1cc5526ae0f4b273ccd163ed4caa4e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6598b91b5ac32bc756d7c3000a31f775d4ead1c4",
        "lessThan": "f13100b1f5f111989f0750540a795fdef47492af",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6598b91b5ac32bc756d7c3000a31f775d4ead1c4",
        "lessThan": "df30056c78e8bead02d4be020199cabdbec0fef1",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6598b91b5ac32bc756d7c3000a31f775d4ead1c4",
        "lessThan": "378b295f67102eef78cf2c28105f60ae1dab5cc1",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6598b91b5ac32bc756d7c3000a31f775d4ead1c4",
        "lessThan": "118ce777d39f03cac99231196f820e4f998613a8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6598b91b5ac32bc756d7c3000a31f775d4ead1c4",
        "lessThan": "dee0774bbb2abb172e9069ce5ffef579b12b3ae9",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/spi/spi.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.0"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.0",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.1.167",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.130",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.78",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.20",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "6.19.10",
        "versionType": "semver",
        "lessThanOrEqual": "6.19.*"
      },
      {
        "status": "unaffected",
        "version": "7.0",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/spi/spi.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-23475

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#27260 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement