CVE-2025-21844

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

State
Published
Severity
7.5 High
Published
Mar 12, 2025
Updated
Oct 15, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • b03c8099a738a04d2343547ae6a04e5f0f63d3fa to before f277e479eea3d1aa18bc712abe1d2bf3dece2e30Affected
  • 858e73ff25639a0cc1f6f8d2587b62c045867e41 to before f618aeb6cad2307e48a641379db610abcf593edfAffected
  • 9f528a8e68327117837b5e28b096f52af4c26a05 to before 24e8e4523d3071bc5143b0db9127d511489f7b3bAffected
  • 534733397da26de0303057ce0b93a22bda150365 to before 9e5d99a4cf2e23c716b44862975548415fae5391Affected
  • eec04ea119691e65227a97ce53c0da6b9b74b0b7 to before a9b0b4b29877cb4dc5d0842b59b5ccbacddb85bdAffected
  • eec04ea119691e65227a97ce53c0da6b9b74b0b7 to before 554736b583f529ee159aa95af9a0cbc12b5ffc96Affected
  • eec04ea119691e65227a97ce53c0da6b9b74b0b7 to before 860ca5e50f73c2a1cef7eefc9d39d04e275417f7Affected
  • 5.10.211 to before 5.10.235Affected
  • 5.15.150 to before 5.15.179Affected
  • 6.1.69 to before 6.1.130Affected
  • 6.6.8 to before 6.6.80Affected
LinuxLinux
  • 6.7Affected
  • before 6.7Not affected
  • 5.10.235 through 5.10.*Not affected
  • 5.15.179 through 5.15.*Not affected
  • 6.1.130 through 6.1.*Not affected
  • 6.6.80 through 6.6.*Not affected
  • 6.12.17 through 6.12.*Not affected
  • 6.13.5 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.