CVE-2025-21844

smb: client: Add check for next_buffer in receive_encrypted_standard()

MEDIUM
5.5
CVSS Score
Published: March 12, 2025 at 09:42 AM UTC
Updated: October 15, 2026 at 02:17 AM UTC
2 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.6%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: Add check for next_buffer in receive_encrypted_standard() Add check for the return value of cifs_buf_get() and cifs_small_buf_get() in receive_encrypted_standard() to prevent null pointer dereference.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.1.69 ≤ v < 6.1.1306.13 ≤ v < 6.13.56.6.8 ≤ v < 6.6.806.7 ≤ v < 6.12.175.10.2115.15.150534733397da26de0303057ce0b93a22bda1503656.1.696.146.14 rc16.14 rc26.14 rc36.6.8858e73ff25639a0cc1f6f8d2587b62c045867e419f528a8e68327117837b5e28b096f52af4c26a05b03c8099a738a04d2343547ae6a04e5f0f63d3faeec04ea119691e65227a97ce53c0da6b9b74b0b7
Vendor states this is fixed in 24e8e4523d3071bc5143b0db9127d511489f7b3b (fixed)
Vendor states this is fixed in 554736b583f529ee159aa95af9a0cbc12b5ffc96 (fixed)
Vendor states this is fixed in 860ca5e50f73c2a1cef7eefc9d39d04e275417f7 (fixed)
Vendor states this is fixed in 9e5d99a4cf2e23c716b44862975548415fae5391 (fixed)
Vendor states this is fixed in a9b0b4b29877cb4dc5d0842b59b5ccbacddb85bd (fixed)
Vendor states this is fixed in f277e479eea3d1aa18bc712abe1d2bf3dece2e30 (fixed)
Vendor states this is fixed in f618aeb6cad2307e48a641379db610abcf593edf (fixed)
Vendor states this is fixed in 5.10.235 (unaffected)
Vendor states this is fixed in 5.15.179 (unaffected)
Vendor states this is fixed in 6.1.130 (unaffected)
Vendor states this is fixed in 6.12.17 (unaffected)
Vendor states this is fixed in 6.13.5 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.80 (unaffected)
Vendor states this is fixed in 6.7 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/24e8e4523d3071bc5143b0db9127d511489f7b3b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/554736b583f529ee159aa95af9a0cbc12b5ffc96
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/860ca5e50f73c2a1cef7eefc9d39d04e275417f7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9e5d99a4cf2e23c716b44862975548415fae5391
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a9b0b4b29877cb4dc5d0842b59b5ccbacddb85bd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f277e479eea3d1aa18bc712abe1d2bf3dece2e30
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f618aeb6cad2307e48a641379db610abcf593edf
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card