{"id":"CVE-2026-99383","summary":"smb: client: reclaim credits for decrypted reads with no matching mid","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: reclaim credits for decrypted reads with no matching mid\n\nWhen a decrypted SMB2 READ response carries a MessageId that matches no\noutstanding request, both the inline receive_encrypted_read() and the\noffloaded smb2_decrypt_offload() paths drop the frame without accounting\nthe credits the server granted in it.  The plaintext unknown-frame path in\ncifs_demultiplex_thread() already reclaims them with\nsmb2_add_credits_from_hdr(), so encrypted reads leak credits that the\nplaintext path would not.\n\nThis also happens for legitimate frames - e.g. a reply that arrives after\nthe client has timed out and dropped the mid - so over a long-lived\nconnection the client's credit count drifts down and can eventually starve\nit of the ability to issue requests.  The frame is AEAD-authenticated, so\nthe granted credits in the decrypted header come from the real server and\nare safe to apply.\n\nReclaim the credits from the decrypted header before dropping the frame,\nand export smb2_add_credits_from_hdr() so the SMB2 receive paths can use it.","modified":"2026-11-19T17:01:08.394028939Z","published":"2026-11-19T14:23:23.299Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99383.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/78f73985846465a25a7bd1d89904053661f3ca92"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9b3473e7bc5ec104c37faa7f7c9092914d97f076"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b3f511aa7f45ff9ab1abc38d133e05b919563aaf"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99383.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99383"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c42a6abe3012832a68a371dabe17c2ced97e62ad"},{"fixed":"9b3473e7bc5ec104c37faa7f7c9092914d97f076"},{"fixed":"b3f511aa7f45ff9ab1abc38d133e05b919563aaf"},{"fixed":"78f73985846465a25a7bd1d89904053661f3ca92"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99383.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.11.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99383.json"}}],"schema_version":"1.9.2"}