{
  "threat_severity" : "Moderate",
  "public_date" : "2026-04-22T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: spi: spi-fsl-lpspi: fix teardown order issue (UAF)",
    "id" : "2460648",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2460648"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.0",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
    "status" : "draft"
  },
  "cwe" : "CWE-825",
  "details" : [ "A flaw was found in the `spi-fsl-lpspi` driver within the Linux kernel. This vulnerability, identified as a Use-After-Free (UAF) issue, stems from a teardown order problem during the unregistration of the Serial Peripheral Interface (SPI) controller. When a running SPI transfer attempts to access deallocated memory during the synchronous teardown of Direct Memory Access (DMA) channels, it can lead to a NULL pointer dereference. This ultimately causes the system to crash, resulting in a Denial of Service (DoS)." ],
  "statement" : "Upstream switched the Freescale LPSPI controller to explicit register/unregister ordering so DMA teardown cannot race `devm`-deferred controller release. Red Hat recommends patched kernels for systems using this SPI host. Where the controller is optional, unloading `spi_fsl_lpspi` reduces exposure until updates deploy.",
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "fix_state" : "Affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2026-31485\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-31485\nhttps://lore.kernel.org/linux-cve-announce/2026042259-CVE-2026-31485-e15c@gregkh/T" ],
  "name" : "CVE-2026-31485",
  "mitigation" : {
    "value" : "To mitigate this issue, prevent the spi_fsl_lpspi module from being loaded. See https://access.redhat.com/solutions/41278 for instructions.",
    "lang" : "en:us"
  },
  "csaw" : false
}