0.0
NA
CVE-2026-138840
mailbox: qcom-ipcc: Guard against NULL con_priv in send_data()
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.

INFO

Published Date :

Nov. 30, 2026, 2:17 p.m.

Last Modified :

Nov. 30, 2026, 2:17 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-138840 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Address race condition in mailbox component by guarding against NULL pointers during shutdown and send operations.
  • Guard against NULL con_priv in send_data().
  • Acquire spinlock before clearing con_priv in shutdown.
  • Apply provided kernel patch.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-138840 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-138840 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-138840 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-138840 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Nov. 30, 2026

    Action Type Old Value New Value
    Added 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.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/138xxx/CVE-2026-138840.json">CVE-2026-138840</a>
    Added Reference https://git.kernel.org/stable/c/49507f3317ec096f7b1946621854d8f452192d29
    Added Reference https://git.kernel.org/stable/c/55b841a90509a1dbc61cf8fc6f72aba3e51c4d84
    Added Reference https://git.kernel.org/stable/c/6a138f4b77a0f2915cb04faacee979a69a597321
    Added Reference https://git.kernel.org/stable/c/6cfb1529c5398c8f68ed79f03c3c409436555286
    Added Reference https://git.kernel.org/stable/c/7b3cc361b5942ac600f38e5dff7aed009be34964
    Added Reference https://git.kernel.org/stable/c/9be61e41d90ba2776093dbd3d3948a55c287d06a
    Added Reference https://git.kernel.org/stable/c/f1f969a1903573128ef2cad84cbcaa8e1fed5c96
    Added Reference https://git.kernel.org/stable/c/f99aa28e8aae941d4743c7f7b41e3cb3aa9831cf
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.