7.5

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 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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version c42a6abe3012832a68a371dabe17c2ced97e62ad
Version < 9b3473e7bc5ec104c37faa7f7c9092914d97f076
Status affected
Version c42a6abe3012832a68a371dabe17c2ced97e62ad
Version < b3f511aa7f45ff9ab1abc38d133e05b919563aaf
Status affected
Version c42a6abe3012832a68a371dabe17c2ced97e62ad
Version < 78f73985846465a25a7bd1d89904053661f3ca92
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 4.11
Status affected
Version 0
Version < 4.11
Status unaffected
Version <= 6.18.*
Version 6.18.64
Status unaffected
Version <= 7.3.*
Version 7.3.2
Status unaffected
Version <= *
Version 7.4-rc1
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.22% 0.131
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 7.5 3.9 3.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/9b3473e7bc5ec104c37faa7f7c9092914d97f076
https://git.kernel.org/stable/c/b3f511aa7f45ff9ab1abc38d133e05b919563aaf
https://git.kernel.org/stable/c/78f73985846465a25a7bd1d89904053661f3ca92