{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99383","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.411Z","datePublished":"2026-11-19T14:23:23.299Z","dateUpdated":"2026-11-22T11:07:57.952Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-22T11:07:57.952Z"},"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - cifs_demultiplex_thread reads the server SMB2 transform PDU from the TCP socket, and smb3_receive_transform hands frames larger than CIFSMaxBufSize to receive_encrypted_read. A decrypted smb2_hdr.MessageId that misses smb2_find_mid drops the CreditRequest grant on that wire response.\nAC:L - The server sets SMB2_SESSION_FLAG_ENCRYPT_DATA or SHI1005_FLAGS_ENCRYPT_DATA so smb3_encryption_required is true, then sends one transform READ whose MessageId is not a MID_REQUEST_SUBMITTED entry on pending_mid_q. decrypt_raw_data succeeds with the server's session key and the missed credit update is immediate.\nPR:N - receive_encrypted_read and smb2_decrypt_offload run in cifsd after decrypt_raw_data and never consult the local task's uid or capabilities. The peer that holds the SMB3 session keys is the server the client connected to.\nUI:N - On an established session the server alone writes the encrypted SMB2 READ response; cifs_demultiplex_thread processes that PDU from the socket without a further local mount or read.\nS:U - The lost accounting is TCP_Server_Info.credits for the SMB session whose socket received the frame, the same kernel scope as cifsd.\nC:N - The NULL-mid path in receive_encrypted_read and smb2_decrypt_offload only logs and frees the decrypted buffer; READ payload is not copied to a caller or to any other kernel object.\nI:N - The defect is skipping smb2_add_credits_from_hdr, so smb2_hdr.CreditRequest is not added to server->credits. That path stores nothing into file data or other kernel objects.\nA:H - smb2_readv_callback zeroes rdata->credits and replenishes server->credits only from smb2_hdr.CreditRequest. Dropping that grant in receive_encrypted_read or smb2_decrypt_offload shrinks the pool until wait_for_free_request sleeps in wait_for_free_credits with timeout -1 and new SMB commands cannot be sent."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/cifsproto.h","fs/smb/client/connect.c","fs/smb/client/smb2ops.c"],"versions":[{"version":"c42a6abe3012832a68a371dabe17c2ced97e62ad","lessThan":"9b3473e7bc5ec104c37faa7f7c9092914d97f076","status":"affected","versionType":"git"},{"version":"c42a6abe3012832a68a371dabe17c2ced97e62ad","lessThan":"b3f511aa7f45ff9ab1abc38d133e05b919563aaf","status":"affected","versionType":"git"},{"version":"c42a6abe3012832a68a371dabe17c2ced97e62ad","lessThan":"78f73985846465a25a7bd1d89904053661f3ca92","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/cifsproto.h","fs/smb/client/connect.c","fs/smb/client/smb2ops.c"],"versions":[{"version":"4.11","status":"affected"},{"version":"0","lessThan":"4.11","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.2","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":"4.11","versionEndExcluding":"6.18.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/9b3473e7bc5ec104c37faa7f7c9092914d97f076"},{"url":"https://git.kernel.org/stable/c/b3f511aa7f45ff9ab1abc38d133e05b919563aaf"},{"url":"https://git.kernel.org/stable/c/78f73985846465a25a7bd1d89904053661f3ca92"}],"title":"smb: client: reclaim credits for decrypted reads with no matching mid","x_generator":{"engine":"bippy-1.2.0"}}}}