Skip to main content
VulnerabilityPublished

CVE-2026-142843: Linux kernel · spi: stm32: fix double free of SRAM buffer on MDMA fallback

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-142843· Medium

Not known to be exploited · fixed in fa00fa501717427bd4335ec7261f7e668bdbb4ff : update Linux kernel when convenient.

Data as of 3 Dec 2026, 08:16 UTC

Severity
Medium

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in fa00fa501717427bd4335ec7261f7e668bdbb4ff, 66cb7a60e0aa81c3426895ca1f98deb33411c47d, 0c5b0c3eb1d6daa1117dacd32589196f52109cab

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.

What to do

Upgrade Linux kernel to fa00fa501717427bd4335ec7261f7e668bdbb4ff, 66cb7a60e0aa81c3426895ca1f98deb33411c47d or 0c5b0c3eb1d6daa1117dacd32589196f52109cab.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ d17dd2f1d8a1d919e39c6302b024f135a2f90773, < fa00fa501717427bd4335ec7261f7e668bdbb4ff
Fixed in
  • fa00fa501717427bd4335ec7261f7e668bdbb4ff
LinuxLinuxAffected
  • ≥ d17dd2f1d8a1d919e39c6302b024f135a2f90773, < 66cb7a60e0aa81c3426895ca1f98deb33411c47d
Fixed in
  • 66cb7a60e0aa81c3426895ca1f98deb33411c47d
LinuxLinuxAffected
  • ≥ d17dd2f1d8a1d919e39c6302b024f135a2f90773, < 0c5b0c3eb1d6daa1117dacd32589196f52109cab
Fixed in
  • 0c5b0c3eb1d6daa1117dacd32589196f52109cab
LinuxLinuxAffected
  • =6.17
Fixed in–

Description

In the Linux kernel, the following vulnerability has been resolved: spi: stm32: fix double free of SRAM buffer on MDMA fallback When the "rxm2m" MDMA channel cannot be obtained, the driver frees the SRAM buffer and falls back to DMA-only mode. However, sram_rx_buf is left pointing to the freed buffer. As a result, stm32_spi_unprepare_msg() may clear the released SRAM area, while stm32_spi_remove() or a later probe error path may free the buffer again, triggering BUG_ON() in gen_pool_free_owner(). The probe error path also checks sram_pool instead of sram_rx_buf. If the SRAM allocation failed and a later probe step fails, gen_pool_free() may therefore be called with an unallocated buffer. Clear sram_rx_buf after freeing it on the MDMA fallback path and use the buffer pointer to determine whether cleanup is needed.

References

Community reviews

Loading reviews…