mailbox: qcom-ipcc: Guard against NULL con_priv in send_data()
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | b9c3b485593e07ed217cb6970d6c651558e4afb1 to before 9be61e41d90ba2776093dbd3d3948a55c287d06a Affectedd6fbfdbc12745ce24bcd348dbf7e652353b3e59c to before 49507f3317ec096f7b1946621854d8f452192d29 Affectedd6fbfdbc12745ce24bcd348dbf7e652353b3e59c to before 6a138f4b77a0f2915cb04faacee979a69a597321 Affectedd6fbfdbc12745ce24bcd348dbf7e652353b3e59c to before f99aa28e8aae941d4743c7f7b41e3cb3aa9831cf Affectedd6fbfdbc12745ce24bcd348dbf7e652353b3e59c to before 55b841a90509a1dbc61cf8fc6f72aba3e51c4d84 Affectedd6fbfdbc12745ce24bcd348dbf7e652353b3e59c to before f1f969a1903573128ef2cad84cbcaa8e1fed5c96 Affectedd6fbfdbc12745ce24bcd348dbf7e652353b3e59c to before 6cfb1529c5398c8f68ed79f03c3c409436555286 Affectedd6fbfdbc12745ce24bcd348dbf7e652353b3e59c to before 7b3cc361b5942ac600f38e5dff7aed009be34964 Affectedd00e609c7903ecaef2c2b7ccb83e3bff6169ce33 Affected2f2d7dc088c37ffa857fd83d13ac27eda74b5fc5 Affected5.10.50 to before 5.10.275 Affected5.12.17 to before 5.13 Affected5.13.2 to before 5.14 Affected |
| Linux Linux | 5.14 Affectedbefore 5.14 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/9be61e41d90ba2776093dbd3d3948a55c287d06a
- https://git.kernel.org/stable/c/49507f3317ec096f7b1946621854d8f452192d29
- https://git.kernel.org/stable/c/6a138f4b77a0f2915cb04faacee979a69a597321
- https://git.kernel.org/stable/c/f99aa28e8aae941d4743c7f7b41e3cb3aa9831cf
- https://git.kernel.org/stable/c/55b841a90509a1dbc61cf8fc6f72aba3e51c4d84
- https://git.kernel.org/stable/c/f1f969a1903573128ef2cad84cbcaa8e1fed5c96
- https://git.kernel.org/stable/c/6cfb1529c5398c8f68ed79f03c3c409436555286
- https://git.kernel.org/stable/c/7b3cc361b5942ac600f38e5dff7aed009be34964
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.