Junglewise Threat Intelligence

CVE-2026-53161: Linux Kernel use-after-free in FastRPC driver

CVE-2026-53161 · Severity: info · CVSS 0 · Published 2026-06-25

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's FastRPC driver could allow a local user to cause a system crash or potentially gain unauthorized access. FastRPC is a mechanism used to communicate with Digital Signal Processors (DSPs) in mobile and embedded devices. The issue occurs when the system tries to clean up resources after a program closes, but a background task is still trying to use those same resources, leading to a memory error.

Technical details

A use-after-free vulnerability exists in the Linux kernel's FastRPC driver (drivers/misc/fastrpc.c). A race condition occurs between fastrpc_device_release(), which frees the fastrpc_user structure when a file descriptor is closed, and the workqueue processing DSP responses (fastrpc_rpmsg_callback). If the workqueue executes fastrpc_context_free() after the user structure has been freed, it dereferences the stale pointer during buffer freeing or map removal. This can lead to kernel panics or memory corruption. The fix introduces kref-based reference counting to ensure the fastrpc_user structure is only destroyed after all in-flight contexts have completed.

Affected products

  • Linux Linux Kernel All versions prior to the June 2026 patches

Timeline

  • 2026-05-30: other: Patch authored by Qualcomm engineers
  • 2026-06-19: patched: Commits merged into stable kernel branches
  • 2026-06-25: disclosed: CVE-2026-53161 published

References

Related threats