{"id":"CVE-2026-98449","aliases":["CVE-2026-98449"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: delete compound mids on send failure before unlock","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: delete compound mids on send failure before unlock\n\nWhen sending a compound request fails, smb_send_rqst() kicks off a\nreconnect. compound_send_recv() still has those mids on pending_mid_q,\nbut it unlocks the server without removing them first.\n\nDuring reconnect, cifs_abort_connection() walks pending_mid_q and runs\neach mid callback. With no response yet, those callbacks return credits\nand drop in_flight. Then compound_send_recv()'s send-error path returns\nthe same credits again. in_flight ends up decremented twice and\nsmb2_add_credits() WARNs.\n\nsyzbot hits this during SMB2_negotiate when the socket send fails.\n\ncifs_call_async() already calls delete_mid() before unlock on send\nfailure. Do the same for compound chains and set cancelled_mid[] so the\nout: path does not delete them again.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: delete compound mids on send failure before unlock\n\nWhen sending a compound request fails, smb_send_rqst() kicks off a\nreconnect. compound_send_recv() still has those mids on pending_mid_q,\nbut it unlocks the server without removing them first.\n\nDuring reconnect, cifs_abort_connection() walks pending_mid_q and runs\neach mid callback. With no response yet, those callbacks return credits\nand drop in_flight. Then compound_send_recv()'s send-error path returns\nthe same credits again. in_flight ends up decremented twice and\nsmb2_add_credits() WARNs.\n\nsyzbot hits this during SMB2_negotiate when the socket send fails.\n\ncifs_call_async() already calls delete_mid() before unlock on send\nfailure. Do the same for compound chains and set cancelled_mid[] so the\nout: path does not delete them again.","source":"cvelist"}],"published":"2026-10-18T15:14:59.772Z","modified":"2026-11-23T08:17:26.263Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ee258d79159afed52ca9372aeb9c1a51e89b32ee","fixed":"4e9a1d5c763f751fcc2928f7131f143251e01760","status":"affected"},{"type":"git","introduced":"ee258d79159afed52ca9372aeb9c1a51e89b32ee","fixed":"ae288482a10fb0782b606f20ca4bf32d79efec2b","status":"affected"},{"type":"git","introduced":"ee258d79159afed52ca9372aeb9c1a51e89b32ee","fixed":"36a2ba21d38a86bae84441e4c8d5b10653ef341a","status":"affected"},{"type":"git","introduced":"ee258d79159afed52ca9372aeb9c1a51e89b32ee","fixed":"59d30bdc3dd6fd3a8990f59bc7a137b1cbb3ed4e","status":"affected"},{"type":"git","introduced":"ee258d79159afed52ca9372aeb9c1a51e89b32ee","fixed":"70783946f3b5d0c06ec7df0f5e7bec2bfad24efb","status":"affected"},{"type":"git","introduced":"ee258d79159afed52ca9372aeb9c1a51e89b32ee","fixed":"8f6f8a48399f82f4a83f7b9f25b9707e0062a4f9","status":"affected"},{"type":"git","version":"3c57a0be487088b08d9c88998f911eb4a7ba36e4","status":"affected"},{"type":"semver","introduced":"4.20.11","fixed":"4.21","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.0","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.61","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.9","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/4e9a1d5c763f751fcc2928f7131f143251e01760","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ae288482a10fb0782b606f20ca4bf32d79efec2b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/36a2ba21d38a86bae84441e4c8d5b10653ef341a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/59d30bdc3dd6fd3a8990f59bc7a137b1cbb3ed4e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/70783946f3b5d0c06ec7df0f5e7bec2bfad24efb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8f6f8a48399f82f4a83f7b9f25b9707e0062a4f9","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98449","url":"https://www.cve.org/CVERecord?id=CVE-2026-98449","licence":"CVE Terms of Use","modified":"2026-11-23T07:59:53.142Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98449","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98449","licence":"Public domain","modified":"2026-11-23T08:17:26.263Z"}],"updatedAt":"2026-11-25T22:59:45.185Z","epss":{"score":0.00223,"percentile":0.13764,"date":"2026-12-01T12:00:22.000Z"}}