{"id":"CVE-2026-138840","aliases":["CVE-2026-138840"],"related":[],"kind":"vulnerability","state":"published","title":"mailbox: qcom-ipcc: Guard against NULL con_priv in send_data()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmailbox: qcom-ipcc: Guard against NULL con_priv in send_data()\n\nqcom_ipcc_mbox_shutdown() clears chan->con_priv with no locking.\nqcom_ipcc_mbox_send_data() dereferences the same field without\nchecking for NULL first, so a send racing a concurrent shutdown can\ncrash:\n\n  mchan = chan->con_priv;\n  ...\n  hwirq = qcom_ipcc_get_hwirq(mchan->client_id, mchan->signal_id);\n\nAdd the same NULL guard mbox_send_message() already uses for\nchan->cl, and bail out before dereferencing a cleared con_priv.\n\nTo close the remaining race where send_data() reads con_priv a moment\nbefore a concurrent shutdown clears it, acquire the spinlock in\nqcom_ipcc_mbox_shutdown() using the modern guard(spinlock_irqsave)\nprimitive before setting con_priv to NULL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmailbox: qcom-ipcc: Guard against NULL con_priv in send_data()\n\nqcom_ipcc_mbox_shutdown() clears chan->con_priv with no locking.\nqcom_ipcc_mbox_send_data() dereferences the same field without\nchecking for NULL first, so a send racing a concurrent shutdown can\ncrash:\n\n  mchan = chan->con_priv;\n  ...\n  hwirq = qcom_ipcc_get_hwirq(mchan->client_id, mchan->signal_id);\n\nAdd the same NULL guard mbox_send_message() already uses for\nchan->cl, and bail out before dereferencing a cleared con_priv.\n\nTo close the remaining race where send_data() reads con_priv a moment\nbefore a concurrent shutdown clears it, acquire the spinlock in\nqcom_ipcc_mbox_shutdown() using the modern guard(spinlock_irqsave)\nprimitive before setting con_priv to NULL.","source":"cvelist"}],"published":"2026-11-30T13:25:28.401Z","modified":"2026-11-30T14:17:39.027Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b9c3b485593e07ed217cb6970d6c651558e4afb1","fixed":"9be61e41d90ba2776093dbd3d3948a55c287d06a","status":"affected"},{"type":"git","introduced":"d6fbfdbc12745ce24bcd348dbf7e652353b3e59c","fixed":"49507f3317ec096f7b1946621854d8f452192d29","status":"affected"},{"type":"git","introduced":"d6fbfdbc12745ce24bcd348dbf7e652353b3e59c","fixed":"6a138f4b77a0f2915cb04faacee979a69a597321","status":"affected"},{"type":"git","introduced":"d6fbfdbc12745ce24bcd348dbf7e652353b3e59c","fixed":"f99aa28e8aae941d4743c7f7b41e3cb3aa9831cf","status":"affected"},{"type":"git","introduced":"d6fbfdbc12745ce24bcd348dbf7e652353b3e59c","fixed":"55b841a90509a1dbc61cf8fc6f72aba3e51c4d84","status":"affected"},{"type":"git","introduced":"d6fbfdbc12745ce24bcd348dbf7e652353b3e59c","fixed":"f1f969a1903573128ef2cad84cbcaa8e1fed5c96","status":"affected"},{"type":"git","introduced":"d6fbfdbc12745ce24bcd348dbf7e652353b3e59c","fixed":"6cfb1529c5398c8f68ed79f03c3c409436555286","status":"affected"},{"type":"git","introduced":"d6fbfdbc12745ce24bcd348dbf7e652353b3e59c","fixed":"7b3cc361b5942ac600f38e5dff7aed009be34964","status":"affected"},{"type":"git","version":"d00e609c7903ecaef2c2b7ccb83e3bff6169ce33","status":"affected"},{"type":"git","version":"2f2d7dc088c37ffa857fd83d13ac27eda74b5fc5","status":"affected"},{"type":"semver","introduced":"5.10.50","fixed":"5.10.275","status":"affected"},{"type":"semver","introduced":"5.12.17","fixed":"5.13","status":"affected"},{"type":"semver","introduced":"5.13.2","fixed":"5.14","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9be61e41d90ba2776093dbd3d3948a55c287d06a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/49507f3317ec096f7b1946621854d8f452192d29","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6a138f4b77a0f2915cb04faacee979a69a597321","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f99aa28e8aae941d4743c7f7b41e3cb3aa9831cf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/55b841a90509a1dbc61cf8fc6f72aba3e51c4d84","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f1f969a1903573128ef2cad84cbcaa8e1fed5c96","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6cfb1529c5398c8f68ed79f03c3c409436555286","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7b3cc361b5942ac600f38e5dff7aed009be34964","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138840","url":"https://www.cve.org/CVERecord?id=CVE-2026-138840","licence":"CVE Terms of Use","modified":"2026-11-30T13:25:28.401Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138840","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138840","licence":"Public domain","modified":"2026-11-30T14:17:39.027Z"}],"updatedAt":"2026-11-30T14:32:29.038Z","epss":{"score":0.0022,"percentile":0.13414,"date":"2026-12-01T12:00:22.000Z"}}