Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-90193

mailbox: qcom-cpucp: fix PREEMPT_RT self-deadlock in IRQ handler

Description

In the Linux kernel, the following vulnerability has been resolved: mailbox: qcom-cpucp: fix PREEMPT_RT self-deadlock in IRQ handler qcom_cpucp_mbox_irq_fn() calls mbox_chan_received_data() while holding chan->lock. Under PREEMPT_RT, spin_lock_irqsave() is converted to an rt_spinlock (rtmutex-based), which tracks ownership and can sleep. The callback chain triggered by mbox_chan_received_data() eventually reaches mailbox_clear_channel() -> mbox_send_message() -> add_to_rbuf(), which attempts to re-acquire the same chan->lock. Since rtmutex detects the re-entrant lock attempt by the same owner, the thread blocks waiting for a lock it already holds, causing a permanent deadlock. This deadlock manifests as 'irq/N-apss_cpucp_mbox' stuck in D state with the following call trace: rt_spin_lock -> mbox_send_message -> mailbox_clear_channel -> scmi_rx_callback -> mbox_chan_received_data [<- held chan->lock here] Fix by saving chan->cl locally and clearing the HW interrupt register inside the lock, then invoking mbox_chan_received_data() after releasing the lock. This preserves the mutual exclusion for chan->cl access while avoiding the lock re-entrancy that causes the PREEMPT_RT deadlock.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 0e2a9a03106cd5fa0dbc9047675e7645c55e2669 to < aa482273f32117c3adeba9b1cc945e0b5d33722daffected
  • 0e2a9a03106cd5fa0dbc9047675e7645c55e2669 to < 8b8de6400c86937ed57d680d06d716e167b381deaffected
  • 0e2a9a03106cd5fa0dbc9047675e7645c55e2669 to < e40b3edeaf25cd09e9c88edb1ef99373ca37593baffected
  • 0e2a9a03106cd5fa0dbc9047675e7645c55e2669 to < 3690aaa6d18f6775c3e7932fb8af8c5bf6a6b69caffected

Linux Linux

Default version status: affected

  • 6.11affected
  • 0 to < 6.11unaffected
  • 6.12.110 to ≤ 6.12.*unaffected
  • 6.18.52 to ≤ 6.18.*unaffected
  • 7.2.6 to ≤ 7.2.*unaffected
  • 7.3 to ≤ *unaffected

References