Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2026-99383

smb: client: reclaim credits for decrypted reads with no matching mid

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: reclaim credits for decrypted reads with no matching mid When a decrypted SMB2 READ response carries a MessageId that matches no outstanding request, both the inline receive_encrypted_read() and the offloaded smb2_decrypt_offload() paths drop the frame without accounting the credits the server granted in it. The plaintext unknown-frame path in cifs_demultiplex_thread() already reclaims them with smb2_add_credits_from_hdr(), so encrypted reads leak credits that the plaintext path would not. This also happens for legitimate frames - e.g. a reply that arrives after the client has timed out and dropped the mid - so over a long-lived connection the client's credit count drifts down and can eventually starve it of the ability to issue requests. The frame is AEAD-authenticated, so the granted credits in the decrypted header come from the real server and are safe to apply. Reclaim the credits from the decrypted header before dropping the frame, and export smb2_add_credits_from_hdr() so the SMB2 receive paths can use it.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • c42a6abe3012832a68a371dabe17c2ced97e62ad to < 9b3473e7bc5ec104c37faa7f7c9092914d97f076affected
  • c42a6abe3012832a68a371dabe17c2ced97e62ad to < b3f511aa7f45ff9ab1abc38d133e05b919563aafaffected
  • c42a6abe3012832a68a371dabe17c2ced97e62ad to < 78f73985846465a25a7bd1d89904053661f3ca92affected

Linux Linux

Default version status: affected

  • 4.11affected
  • 0 to < 4.11unaffected
  • 6.18.64 to ≤ 6.18.*unaffected
  • 7.3.2 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References