cvelo
P4 · InfoEPSS 0.2%

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

  • CVE-2026-138840
  • GHSA-7rx3-w8xq-p6cp
  • EUVD-2026-138543

Description

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.

Text from the CVE.org record.

Recommendation

  • Linux

    • If you run a version from 5.12.17 to before 5.13update to 5.13 or laterMinor version change: check the release notes
    • If you run 5.10.xupdate to 5.10.275 or laterPatch update: breaking changes are unlikely

    Some affected versions have no stated fix.

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Linux

    Affected versionsFixed in
    from 5.12.17 to before 5.135.13
    from 5.10.50 to before 5.10.2755.10.275
    from 5.13.2 to before 5.14none stated
    5.14none stated
    before 5.14: not affectednone stated
    from 5.10.275 up to 5.10.*: not affectednone stated
    from 5.15.226 up to 5.15.*: not affectednone stated
    from 6.1.193 up to 6.1.*: not affectednone stated

    and 5 more

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.