{"id":"CVE-2025-21844","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: Add check for next_buffer in receive_encrypted_standard()\n\nAdd check for the return value of cifs_buf_get() and cifs_small_buf_get()\nin receive_encrypted_s…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: Add check for next_buffer in receive_encrypted_standard()\n\nAdd check for the return value of cifs_buf_get() and cifs_small_buf_get()\nin receive_encrypted_s…","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-476","CWE-476"],"vendor":"linux","product":"linux_kernel","affected":["linux_kernel >= 6.1.69, < 6.1.130","linux_kernel >= 6.6.8, < 6.6.80","linux_kernel >= 6.7, < 6.12.17","linux_kernel >= 6.13, < 6.13.5","linux_kernel = 5.10.211","linux_kernel = 5.15.150","linux_kernel = 6.14"],"patched":["linux_kernel 6.13.5"],"published":"2025-03-12","updated":"2026-07-30","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-21844","references":[{"url":"https://git.kernel.org/stable/c/24e8e4523d3071bc5143b0db9127d511489f7b3b","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/554736b583f529ee159aa95af9a0cbc12b5ffc96","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/860ca5e50f73c2a1cef7eefc9d39d04e275417f7","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/9e5d99a4cf2e23c716b44862975548415fae5391","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a9b0b4b29877cb4dc5d0842b59b5ccbacddb85bd","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f277e479eea3d1aa18bc712abe1d2bf3dece2e30","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f618aeb6cad2307e48a641379db610abcf593edf","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"}],"tags":["nvd"],"epss":0.00607,"epssPercentile":0.47431,"ingestedAt":"2026-07-30T06:53:10.487Z","slug":"CVE-2025-21844","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: Add check for next_buffer in receive_encrypted_standard()\n\nAdd check for the return value of cifs_buf_get() and cifs_small_buf_get()\nin receive_encrypted_standard() to prevent null pointer dereference.\n\n## Affected\n\n- `linux_kernel >= 6.1.69, < 6.1.130`\n- `linux_kernel >= 6.6.8, < 6.6.80`\n- `linux_kernel >= 6.7, < 6.12.17`\n- `linux_kernel >= 6.13, < 6.13.5`\n- `linux_kernel = 5.10.211`\n- `linux_kernel = 5.15.150`\n- `linux_kernel = 6.14`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `linux_kernel 6.13.5`","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}