# CVE-2025-21844: smb: client: Add check for next_buffer in receive_encrypted_standard()

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 51% of CVEs (2026-12-01)
- Published: 2025-03-12T09:42:00.435Z
- Modified: 2026-10-15T02:17:37.983Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from b03c8099a738a04d2343547ae6a04e5f0f63d3fa before f277e479eea3d1aa18bc712abe1d2bf3dece2e30; from 858e73ff25639a0cc1f6f8d2587b62c045867e41 before f618aeb6cad2307e48a641379db610abcf593edf; from 9f528a8e68327117837b5e28b096f52af4c26a05 before 24e8e4523d3071bc5143b0db9127d511489f7b3b; from 534733397da26de0303057ce0b93a22bda150365 before 9e5d99a4cf2e23c716b44862975548415fae5391; from eec04ea119691e65227a97ce53c0da6b9b74b0b7 before a9b0b4b29877cb4dc5d0842b59b5ccbacddb85bd; from eec04ea119691e65227a97ce53c0da6b9b74b0b7 before 554736b583f529ee159aa95af9a0cbc12b5ffc96; from eec04ea119691e65227a97ce53c0da6b9b74b0b7 before 860ca5e50f73c2a1cef7eefc9d39d04e275417f7; from 5.10.211 before 5.10.235; from 5.15.150 before 5.15.179; from 6.1.69 before 6.1.130; from 6.6.8 before 6.6.80; 6.7 (not affected: before 6.7; from 5.10.235 up to 5.10.*; from 5.15.179 up to 5.15.*; from 6.1.130 up to 6.1.*; from 6.6.80 up to 6.6.*; from 6.12.17 up to 6.12.*; from 6.13.5 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.1.69 before 6.1.130; from 6.6.8 before 6.6.80; from 6.7 before 6.12.17; from 6.13 before 6.13.5; 5.10.211; 5.15.150; 6.14

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/f277e479eea3d1aa18bc712abe1d2bf3dece2e30> (patch)
- <https://git.kernel.org/stable/c/f618aeb6cad2307e48a641379db610abcf593edf> (patch)
- <https://git.kernel.org/stable/c/24e8e4523d3071bc5143b0db9127d511489f7b3b> (patch)
- <https://git.kernel.org/stable/c/9e5d99a4cf2e23c716b44862975548415fae5391> (patch)
- <https://git.kernel.org/stable/c/a9b0b4b29877cb4dc5d0842b59b5ccbacddb85bd> (patch)
- <https://git.kernel.org/stable/c/554736b583f529ee159aa95af9a0cbc12b5ffc96> (patch)
- <https://git.kernel.org/stable/c/860ca5e50f73c2a1cef7eefc9d39d04e275417f7> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2025-21844](https://www.cve.org/CVERecord?id=CVE-2025-21844), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-21844](https://nvd.nist.gov/vuln/detail/CVE-2025-21844), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-21844 · Whole record: https://cve.day/CVE-2025-21844.json · Rebuilt by cve.day 2026-11-25T22:58:55.196Z
