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

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

mailbox: qcom-ipcc: Guard against NULL conpriv in senddata()

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

mchan = chan->conpriv; ... hwirq = qcomipccgethwirq(mchan->clientid, mchan->signalid);

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

To close the remaining race where senddata() reads conpriv a moment before a concurrent shutdown clears it, acquire the spinlock in qcomipccmboxshutdown() using the modern guard(spinlockirqsave) primitive before setting conpriv to NULL.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In qcom_ipcc_mbox_send_data(), acquire chan->cl with guard(spinlock_irqsave), check chan->con_priv for NULL, and bail out before dereferencing it.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:25 PM
Data Sourced
via MITRE·01:25 PM
Description
Data Sourced
via NVD·02:17 PM
Description

Frequently Asked Questions

1

What conditions are required to trigger the crash?

A send operation must race with a concurrent mailbox shutdown on the same channel. The shutdown clears chan->con_priv while send_data() may dereference it, causing a NULL-pointer crash.

2

What is the impact if the race occurs?

The kernel can crash when send_data() dereferences the cleared con_priv field. The provided information describes a denial-of-service condition; it does not establish privilege escalation or code execution.

3

How does the fix address the race?

The fix checks whether con_priv is NULL before dereferencing it and exits if it has been cleared. It also takes the channel spinlock during shutdown before clearing con_priv, preventing the remaining race with a send that has already begun reading the field.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203