Junglewise Threat Intelligence

CVE-2026-53158: Linux kernel NULL pointer dereference in FastRPC rpmsg callback

CVE-2026-53158 · Severity: info · CVSS 4.1 · Published 2026-06-25

Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's FastRPC driver, which is used for communication between the main processor and digital signal processors (DSPs) in certain mobile and embedded systems. Under specific timing conditions during system startup, the driver may attempt to access memory that has not yet been initialized. This can lead to a system crash (NULL pointer dereference), potentially causing a denial of service during the boot process.

Technical details

A race condition exists in the Linux kernel FastRPC driver (drivers/misc/fastrpc.c) during the rpmsg probe sequence. The vulnerability occurs because the rpmsg channel becomes active as soon as the driver is bound, allowing the `fastrpc_rpmsg_callback()` to be triggered before `dev_set_drvdata()` has populated the necessary context or before internal structures like spinlocks are initialized. An attacker or a specifically timed hardware event (e.g., from the DSP) can trigger this callback, resulting in a NULL pointer dereference when the kernel attempts to acquire an uninitialized spinlock. The fix involves reordering initialization steps to ensure all structures are ready before they are exposed to callbacks and adding explicit NULL checks.

Affected products

  • Linux Linux 5.1 and later

Timeline

  • 2026-05-30: other: Patch submitted by developer
  • 2026-06-25: disclosed: CVE published

References