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

CVE record · `CVE-2025-21844`

- **Identifiers:** `CVE-2025-21844`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-476](https://cwe.mitre.org/data/definitions/476.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 12 Mar 2025
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 12 Mar 2025, 09:42 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `b03c8099a738a04d2343547ae6a04e5f0f63d3fa to before f277e479eea3d1aa18bc712abe1d2bf3dece2e30` (git)
  - affected: `858e73ff25639a0cc1f6f8d2587b62c045867e41 to before f618aeb6cad2307e48a641379db610abcf593edf` (git)
  - affected: `9f528a8e68327117837b5e28b096f52af4c26a05 to before 24e8e4523d3071bc5143b0db9127d511489f7b3b` (git)
  - affected: `534733397da26de0303057ce0b93a22bda150365 to before 9e5d99a4cf2e23c716b44862975548415fae5391` (git)
  - affected: `eec04ea119691e65227a97ce53c0da6b9b74b0b7 to before a9b0b4b29877cb4dc5d0842b59b5ccbacddb85bd` (git)
  - affected: `eec04ea119691e65227a97ce53c0da6b9b74b0b7 to before 554736b583f529ee159aa95af9a0cbc12b5ffc96` (git)
  - affected: `eec04ea119691e65227a97ce53c0da6b9b74b0b7 to before 860ca5e50f73c2a1cef7eefc9d39d04e275417f7` (git)
  - affected: `5.10.211 to before 5.10.235` (semver)
  - affected: `5.15.150 to before 5.15.179` (semver)
  - affected: `6.1.69 to before 6.1.130` (semver)
  - affected: `6.6.8 to before 6.6.80` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.7`
  - unaffected: `before 6.7` (semver)
  - unaffected: `5.10.235 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.179 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.130 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.80 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.17 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13.5 to 6.13.*, inclusive` (semver)
  - unaffected: `6.14 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`, from CNA (Linux) (used for this record)
- 5.5 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0062, the 50th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 12 Mar 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2025-21844](https://www.cve.org/CVERecord?id=CVE-2025-21844)
- [NVD: CVE-2025-21844](https://nvd.nist.gov/vuln/detail/CVE-2025-21844)

### References from the CNA

- <https://git.kernel.org/stable/c/f277e479eea3d1aa18bc712abe1d2bf3dece2e30>
- <https://git.kernel.org/stable/c/f618aeb6cad2307e48a641379db610abcf593edf>
- <https://git.kernel.org/stable/c/24e8e4523d3071bc5143b0db9127d511489f7b3b>
- <https://git.kernel.org/stable/c/9e5d99a4cf2e23c716b44862975548415fae5391>
- <https://git.kernel.org/stable/c/a9b0b4b29877cb4dc5d0842b59b5ccbacddb85bd>
- <https://git.kernel.org/stable/c/554736b583f529ee159aa95af9a0cbc12b5ffc96>
- <https://git.kernel.org/stable/c/860ca5e50f73c2a1cef7eefc9d39d04e275417f7>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-21844>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-21844/>. Everything for agents: <https://agentprime.io/llms.txt>.
