CVE-2025-21844
smb: client: Add check for next_buffer in receive_encrypted_standard()
Reported by linux · Published March 12, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-devel | Amazon Linux | 6.1.130-139.222.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.1.130-139.222.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.130-139.222.amzn2023 |
| kernel-headers | Amazon Linux | 6.1.130-139.222.amzn2023 |
| Linux | Linux | f618aeb6cad2307e48a641379db610abcf593edf, 860ca5e50f73c2a1cef7eefc9d39d04e275417f7, 6.7, 554736b583f529ee159aa95af9a0cbc12b5ffc96, 5.10.235 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | b03c8099a738a04d2343547ae6a04e5f0f63d3fa, 858e73ff25639a0cc1f6f8d2587b62c045867e41, 9f528a8e68327117837b5e28b096f52af4c26a05 |
| Linux | Linux | 6.7, 0, 5.10.235 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-headers | 0 |
| Linux | Linux | 5.10.235, 5.15.179, 6.1.130 |
| linux | linux_kernel | 6.7, 5.10.211, 5.15.150 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.1.130-139.222 | 0 |
| amazon:2023 | bpftool | 0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | python3-perf | 0 |
Timeline
- Mar 11, 2025 CVE Published
- Mar 13, 2025 EPSS Score (30 in total, the first dated here)
- Mar 25, 2025 Coalition ESS Score (13 in total, the first dated here)
- Dec 22, 2025 Security Advisory (171 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (170 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-21844
vulnetix vdb fixes CVE-2025-21844
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21844/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart