Bug 2586450 (CVE-2026-138840) - CVE-2026-138840 kernel: kernel: Denial of Service via race condition in Qualcomm IPCC mailbox driver
Summary: CVE-2026-138840 kernel: kernel: Denial of Service via race condition in Qualc...
Keywords:
Status: NEW
Alias: CVE-2026-138840
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 13:50 UTC by OSIDB Bzimport
Modified: 2026-11-30 22:26 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 13:50:09 UTC
In the Linux kernel, the following vulnerability has been resolved:

mailbox: qcom-ipcc: Guard against NULL con_priv in send_data()

qcom_ipcc_mbox_shutdown() clears chan->con_priv with no locking.
qcom_ipcc_mbox_send_data() dereferences the same field without
checking for NULL first, so a send racing a concurrent shutdown can
crash:

  mchan = chan->con_priv;
  ...
  hwirq = qcom_ipcc_get_hwirq(mchan->client_id, mchan->signal_id);

Add the same NULL guard mbox_send_message() already uses for
chan->cl, and bail out before dereferencing a cleared con_priv.

To close the remaining race where send_data() reads con_priv a moment
before a concurrent shutdown clears it, acquire the spinlock in
qcom_ipcc_mbox_shutdown() using the modern guard(spinlock_irqsave)
primitive before setting con_priv to NULL.


Note You need to log in before you can comment on or make changes to this bug.