{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138840",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.897Z",
        "datePublished": "2026-11-30T13:25:28.401Z",
        "dateUpdated": "2026-11-30T13:25:28.401Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:25:28.401Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/mailbox/qcom-ipcc.c"
                    ],
                    "versions": [
                        {
                            "version": "b9c3b485593e07ed217cb6970d6c651558e4afb1",
                            "lessThan": "9be61e41d90ba2776093dbd3d3948a55c287d06a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d6fbfdbc12745ce24bcd348dbf7e652353b3e59c",
                            "lessThan": "49507f3317ec096f7b1946621854d8f452192d29",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d6fbfdbc12745ce24bcd348dbf7e652353b3e59c",
                            "lessThan": "6a138f4b77a0f2915cb04faacee979a69a597321",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d6fbfdbc12745ce24bcd348dbf7e652353b3e59c",
                            "lessThan": "f99aa28e8aae941d4743c7f7b41e3cb3aa9831cf",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d6fbfdbc12745ce24bcd348dbf7e652353b3e59c",
                            "lessThan": "55b841a90509a1dbc61cf8fc6f72aba3e51c4d84",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d6fbfdbc12745ce24bcd348dbf7e652353b3e59c",
                            "lessThan": "f1f969a1903573128ef2cad84cbcaa8e1fed5c96",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d6fbfdbc12745ce24bcd348dbf7e652353b3e59c",
                            "lessThan": "6cfb1529c5398c8f68ed79f03c3c409436555286",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d6fbfdbc12745ce24bcd348dbf7e652353b3e59c",
                            "lessThan": "7b3cc361b5942ac600f38e5dff7aed009be34964",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d00e609c7903ecaef2c2b7ccb83e3bff6169ce33",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2f2d7dc088c37ffa857fd83d13ac27eda74b5fc5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5.10.50",
                            "lessThan": "5.10.275",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.12.17",
                            "lessThan": "5.13",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.13.2",
                            "lessThan": "5.14",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/mailbox/qcom-ipcc.c"
                    ],
                    "versions": [
                        {
                            "version": "5.14",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.14",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.117",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.63",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.10.50",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "7.4-rc1"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.12.17"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.13.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/9be61e41d90ba2776093dbd3d3948a55c287d06a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/49507f3317ec096f7b1946621854d8f452192d29"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6a138f4b77a0f2915cb04faacee979a69a597321"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f99aa28e8aae941d4743c7f7b41e3cb3aa9831cf"
                },
                {
                    "url": "https://git.kernel.org/stable/c/55b841a90509a1dbc61cf8fc6f72aba3e51c4d84"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f1f969a1903573128ef2cad84cbcaa8e1fed5c96"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6cfb1529c5398c8f68ed79f03c3c409436555286"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7b3cc361b5942ac600f38e5dff7aed009be34964"
                }
            ],
            "title": "mailbox: qcom-ipcc: Guard against NULL con_priv in send_data()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}