Improper control of a resource through its lifetime in Linux kernel - CVE-2026-64303

 

Improper control of a resource through its lifetime in Linux kernel - CVE-2026-64303

Published: July 27, 2026


Vulnerability identifier: #VU139673
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-64303
CWE-ID: CWE-664
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to cause memory corruption or trigger a use-after-free.

The vulnerability exists due to improper resource shutdown in the fsl-lpspi dma transfer error path in drivers/spi/spi-fsl-lpspi.c when preparing a tx dma descriptor after the rx dma channel has already been submitted and issued. A local user can trigger a tx prepare failure during a spi dma transfer to cause memory corruption or trigger a use-after-free.

The issue occurs because the spi core unmaps dma buffers after the error is returned while the rx dma engine may continue writing to those buffers.


Affected software

Linux kernel

How to mitigate CVE-2026-64303

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3

External References

Related Security Bulletins