CVE-2026-138840
JSON

Not scored

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

Severity
Not scored
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom b9c3b485593e07ed217cb6970d6c651558e4afb1 before 9be61e41d90ba2776093dbd3d3948a55c287d06a, from d6fbfdbc12745ce24bcd348dbf7e652353b3e59c before 49507f3317ec096f7b1946621854d8f452192d29, from d6fbfdbc12745ce24bcd348dbf7e652353b3e59c before 6a138f4b77a0f2915cb04faacee979a69a597321, from d6fbfdbc12745ce24bcd348dbf7e652353b3e59c before f99aa28e8aae941d4743c7f7b41e3cb3aa9831cf, from d6fbfdbc12745ce24bcd348dbf7e652353b3e59c before 55b841a90509a1dbc61cf8fc6f72aba3e51c4d84, from d6fbfdbc12745ce24bcd348dbf7e652353b3e59c before f1f969a1903573128ef2cad84cbcaa8e1fed5c96, from d6fbfdbc12745ce24bcd348dbf7e652353b3e59c before 6cfb1529c5398c8f68ed79f03c3c409436555286, from d6fbfdbc12745ce24bcd348dbf7e652353b3e59c before 7b3cc361b5942ac600f38e5dff7aed009be34964 and 6 more
Not affected: before 5.14, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.117 up to 6.12.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-138840 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-138840 changed 2026-11-30Public domain