VDB

CVE-2025-21844

CVE-2025-21844 PUBLISHED CVSS 7.5 HIGH

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.

PackageEcosystemFixed in
kernel-develAmazon Linux6.1.130-139.222.amzn2023
kernel-tools-develAmazon Linux6.1.130-139.222.amzn2023
kernel-libbpf-staticAmazon Linux6.1.130-139.222.amzn2023
kernel-headersAmazon Linux6.1.130-139.222.amzn2023
LinuxLinuxf618aeb6cad2307e48a641379db610abcf593edf, 860ca5e50f73c2a1cef7eefc9d39d04e275417f7, 6.7, 554736b583f529ee159aa95af9a0cbc12b5ffc96, 5.10.235

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinuxb03c8099a738a04d2343547ae6a04e5f0f63d3fa, 858e73ff25639a0cc1f6f8d2587b62c045867e41, 9f528a8e68327117837b5e28b096f52af4c26a05
LinuxLinux6.7, 0, 5.10.235
amazon:2023kernel-devel0
amazon:2023kernel-tools-devel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-headers0
LinuxLinux5.10.235, 5.15.179, 6.1.130
linuxlinux_kernel6.7, 5.10.211, 5.15.150
amazon:2023kernel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-modules-extra0
amazon:2023kernel-livepatch-6.1.130-139.2220
amazon:2023bpftool0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
amazon:2023kernel-libbpf0
amazon:2023kernel-tools0
amazon:2023perf0
amazon:2023python3-perf0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›