{"id":"CVE-2026-90108","aliases":["CVE-2026-90108"],"related":[],"kind":"vulnerability","state":"published","title":"net/smc: free stashed qentry before overwrite in REQ_ADD_LINK to ADD_LINK transition","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: free stashed qentry before overwrite in REQ_ADD_LINK to ADD_LINK transition\n\nWhen smc_llc_event_handler() transitions the local LLC flow from\nSMC_LLC_FLOW_REQ_ADD_LINK to SMC_LLC_FLOW_ADD_LINK on arrival of an ADD_LINK\nrequest, it calls smc_llc_flow_qentry_set() unconditionally:\n\n\tif (lgr->llc_flow_lcl.type == SMC_LLC_FLOW_REQ_ADD_LINK) {\n\t\tlgr->llc_flow_lcl.type = SMC_LLC_FLOW_ADD_LINK;\n\t\tsmc_llc_flow_qentry_set(&lgr->llc_flow_lcl, qentry);\n\t\t...\n\t}\n\nA CONFIRM_LINK or ADD_LINK_CONT arriving while flow->type is\nSMC_LLC_FLOW_REQ_ADD_LINK is stashed into flow->qentry via the\nSMC_LLC_CONFIRM_LINK / SMC_LLC_ADD_LINK_CONT handler (which stores into\nflow->qentry for any non-NONE flow type).  When the subsequent ADD_LINK\narrives, the REQ_ADD_LINK branch overwrites flow->qentry with the new pointer\nwithout first freeing the stashed allocation, leaking one kmalloc object.\n\nThe stashed entry has no consumer: smc_llc_wait() is only called from\nllc_add_link_work, which is not yet scheduled while the flow type remains\nREQ_ADD_LINK.  No waiter is sleeping on llc_msg_waiter at this point.\nIt is safe to unconditionally free any stashed qentry before\nthe overwrite.\n\nCall smc_llc_flow_qentry_del() before smc_llc_flow_qentry_set() in the\nREQ_ADD_LINK branch.  smc_llc_flow_qentry_del() already checks flow->qentry\nbefore freeing, so the normal path where no entry is stashed is a no-op.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: free stashed qentry before overwrite in REQ_ADD_LINK to ADD_LINK transition\n\nWhen smc_llc_event_handler() transitions the local LLC flow from\nSMC_LLC_FLOW_REQ_ADD_LINK to SMC_LLC_FLOW_ADD_LINK on arrival of an ADD_LINK\nrequest, it calls smc_llc_flow_qentry_set() unconditionally:\n\n\tif (lgr->llc_flow_lcl.type == SMC_LLC_FLOW_REQ_ADD_LINK) {\n\t\tlgr->llc_flow_lcl.type = SMC_LLC_FLOW_ADD_LINK;\n\t\tsmc_llc_flow_qentry_set(&lgr->llc_flow_lcl, qentry);\n\t\t...\n\t}\n\nA CONFIRM_LINK or ADD_LINK_CONT arriving while flow->type is\nSMC_LLC_FLOW_REQ_ADD_LINK is stashed into flow->qentry via the\nSMC_LLC_CONFIRM_LINK / SMC_LLC_ADD_LINK_CONT handler (which stores into\nflow->qentry for any non-NONE flow type).  When the subsequent ADD_LINK\narrives, the REQ_ADD_LINK branch overwrites flow->qentry with the new pointer\nwithout first freeing the stashed allocation, leaking one kmalloc object.\n\nThe stashed entry has no consumer: smc_llc_wait() is only called from\nllc_add_link_work, which is not yet scheduled while the flow type remains\nREQ_ADD_LINK.  No waiter is sleeping on llc_msg_waiter at this point.\nIt is safe to unconditionally free any stashed qentry before\nthe overwrite.\n\nCall smc_llc_flow_qentry_del() before smc_llc_flow_qentry_set() in the\nREQ_ADD_LINK branch.  smc_llc_flow_qentry_del() already checks flow->qentry\nbefore freeing, so the normal path where no entry is stashed is a no-op.","source":"cvelist"}],"published":"2026-09-17T16:06:16.813Z","modified":"2026-10-19T09:19:00.120Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b4ba4652b3f8b7c9bbb5786f8acf4724bdab2196","fixed":"7dd55348c0d9399a9448847819e9f3904ae507ad","status":"affected"},{"type":"git","introduced":"b4ba4652b3f8b7c9bbb5786f8acf4724bdab2196","fixed":"056395acb7041b3a1f2baa08d89a1938a8b8776a","status":"affected"},{"type":"git","introduced":"b4ba4652b3f8b7c9bbb5786f8acf4724bdab2196","fixed":"b08aacfb226a840628151643b6a34eecf545d311","status":"affected"},{"type":"git","introduced":"b4ba4652b3f8b7c9bbb5786f8acf4724bdab2196","fixed":"0fb9a513766071ea9d5f3bf988e39241b8e9ee3b","status":"affected"},{"type":"git","introduced":"b4ba4652b3f8b7c9bbb5786f8acf4724bdab2196","fixed":"e25a602c45c76a7130878db72bcf6f76df04bf85","status":"affected"},{"type":"git","introduced":"b4ba4652b3f8b7c9bbb5786f8acf4724bdab2196","fixed":"036322025d6e440cb75fc6fecbba9a16b271a2ae","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.16","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/7dd55348c0d9399a9448847819e9f3904ae507ad","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/056395acb7041b3a1f2baa08d89a1938a8b8776a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b08aacfb226a840628151643b6a34eecf545d311","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0fb9a513766071ea9d5f3bf988e39241b8e9ee3b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e25a602c45c76a7130878db72bcf6f76df04bf85","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/036322025d6e440cb75fc6fecbba9a16b271a2ae","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90108","url":"https://www.cve.org/CVERecord?id=CVE-2026-90108","licence":"CVE Terms of Use","modified":"2026-10-19T08:58:06.785Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90108","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90108","licence":"Public domain","modified":"2026-10-19T09:19:00.120Z"}],"updatedAt":"2026-11-25T22:59:39.306Z","epss":{"score":0.00206,"percentile":0.1121,"date":"2026-12-01T12:00:22.000Z"}}