CVE-2026-99383: smb: client: reclaim credits for decrypted reads with no matching mid
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 receiveencryptedread() and the offloaded smb2decryptoffload() paths drop the frame without accounting the credits the server granted in it. The plaintext unknown-frame path in cifsdemultiplexthread() already reclaims them with smb2addcreditsfromhdr(), 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 smb2addcreditsfromhdr() so the SMB2 receive paths can use it.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.64 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.2