mailbox: qcom-ipcc: Guard against NULL con_priv in send_data()
Summary
| CVE | CVE-2026-138840 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:17:39 UTC |
| Updated | 2026-11-30 14:17:39 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected b9c3b485593e07ed217cb6970d6c651558e4afb1 9be61e41d90ba2776093dbd3d3948a55c287d06a git |
Not specified |
| CNA |
Linux |
Linux |
affected d6fbfdbc12745ce24bcd348dbf7e652353b3e59c 49507f3317ec096f7b1946621854d8f452192d29 git |
Not specified |
| CNA |
Linux |
Linux |
affected d6fbfdbc12745ce24bcd348dbf7e652353b3e59c 6a138f4b77a0f2915cb04faacee979a69a597321 git |
Not specified |
| CNA |
Linux |
Linux |
affected d6fbfdbc12745ce24bcd348dbf7e652353b3e59c f99aa28e8aae941d4743c7f7b41e3cb3aa9831cf git |
Not specified |
| CNA |
Linux |
Linux |
affected d6fbfdbc12745ce24bcd348dbf7e652353b3e59c 55b841a90509a1dbc61cf8fc6f72aba3e51c4d84 git |
Not specified |
| CNA |
Linux |
Linux |
affected d6fbfdbc12745ce24bcd348dbf7e652353b3e59c f1f969a1903573128ef2cad84cbcaa8e1fed5c96 git |
Not specified |
| CNA |
Linux |
Linux |
affected d6fbfdbc12745ce24bcd348dbf7e652353b3e59c 6cfb1529c5398c8f68ed79f03c3c409436555286 git |
Not specified |
| CNA |
Linux |
Linux |
affected d6fbfdbc12745ce24bcd348dbf7e652353b3e59c 7b3cc361b5942ac600f38e5dff7aed009be34964 git |
Not specified |
| CNA |
Linux |
Linux |
affected d00e609c7903ecaef2c2b7ccb83e3bff6169ce33 git |
Not specified |
| CNA |
Linux |
Linux |
affected 2f2d7dc088c37ffa857fd83d13ac27eda74b5fc5 git |
Not specified |
| CNA |
Linux |
Linux |
affected 5.10.50 5.10.275 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 5.12.17 5.13 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 5.13.2 5.14 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 5.14 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.14 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.10.275 5.10.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.226 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.193 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.117 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.63 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.4 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/6a138f4b77a0f2915cb04faacee979a69a597321 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/55b841a90509a1dbc61cf8fc6f72aba3e51c4d84 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/f99aa28e8aae941d4743c7f7b41e3cb3aa9831cf |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/7b3cc361b5942ac600f38e5dff7aed009be34964 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/9be61e41d90ba2776093dbd3d3948a55c287d06a |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/49507f3317ec096f7b1946621854d8f452192d29 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/f1f969a1903573128ef2cad84cbcaa8e1fed5c96 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/6cfb1529c5398c8f68ed79f03c3c409436555286 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.