CVE-2026-138840

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

No CVSS score yet EPSS 0.22%

Published 30 Nov 2026 Updated 30 Nov 2026 CNA: Linux

Check your servers for CVE-2026-138840

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-138840 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.4% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from b9c3b485593e07ed217cb6970d6c651558e4afb1, before 9be61e41d90ba2776093dbd3d3948a55c287d06a
affected from d6fbfdbc12745ce24bcd348dbf7e652353b3e59c, before 49507f3317ec096f7b1946621854d8f452192d29
affected from d6fbfdbc12745ce24bcd348dbf7e652353b3e59c, before 6a138f4b77a0f2915cb04faacee979a69a597321
affected from d6fbfdbc12745ce24bcd348dbf7e652353b3e59c, before f99aa28e8aae941d4743c7f7b41e3cb3aa9831cf
affected from d6fbfdbc12745ce24bcd348dbf7e652353b3e59c, before 55b841a90509a1dbc61cf8fc6f72aba3e51c4d84
affected from d6fbfdbc12745ce24bcd348dbf7e652353b3e59c, before f1f969a1903573128ef2cad84cbcaa8e1fed5c96
affected from d6fbfdbc12745ce24bcd348dbf7e652353b3e59c, before 6cfb1529c5398c8f68ed79f03c3c409436555286
affected from d6fbfdbc12745ce24bcd348dbf7e652353b3e59c, before 7b3cc361b5942ac600f38e5dff7aed009be34964
affected d00e609c7903ecaef2c2b7ccb83e3bff6169ce33
affected 2f2d7dc088c37ffa857fd83d13ac27eda74b5fc5
affected from 5.10.50, before 5.10.275
affected from 5.12.17, before 5.13
affected from 5.13.2, before 5.14
Other versions: unaffected
Linux
affected 5.14
unaffected before 5.14
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.117 up to and including 6.12.*
unaffected from 6.18.63 up to and including 6.18.*
unaffected from 7.3.4 up to and including 7.3.*
unaffected 7.4-rc1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-138840 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138840

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-138840
trivy image --scanners vuln IMAGE | grep CVE-2026-138840

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-138840 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.