{"id":"CVE-2025-21748","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix integer overflows on 32 bit systems\n\nOn 32bit systems the addition operations in ipc_msg_alloc() can\npotentially overflow leading to memory corruption.\nAdd b…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix integer overflows on 32 bit systems\n\nOn 32bit systems the addition operations in ipc_msg_alloc() can\npotentially overflow leading to memory corruption.\nAdd b…","severity":"critical","cvss":9.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-190"],"vendor":"linux","product":"linux_kernel","affected":["linux_kernel >= 5.15, < 6.1.129","linux_kernel >= 6.2, < 6.6.78","linux_kernel >= 6.7, < 6.12.14","linux_kernel >= 6.13, < 6.13.3"],"patched":["linux_kernel 6.13.3"],"published":"2025-02-27","updated":"2026-07-30","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-21748","references":[{"url":"https://git.kernel.org/stable/c/760568c1f62ea874e8fb492f9cfa4f47b4b8391e","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/82f59d64e6297f270311b16b5dcf65be406d1ea3","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/aab98e2dbd648510f8f51b83fbf4721206ccae45","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b4b902737746c490258de5cb55cab39e79927a67","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ecb9947fa7c99a77b04d43404c6988a0d326e4a0","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f3b9fb2764591d792d160f375851013665a9e820","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html","label":"af854a3a-2127-422b-91ae-364da2661108"}],"tags":["nvd"],"epss":0.00606,"epssPercentile":0.46661,"ingestedAt":"2026-07-30T06:53:09.623Z","slug":"CVE-2025-21748","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix integer overflows on 32 bit systems\n\nOn 32bit systems the addition operations in ipc_msg_alloc() can\npotentially overflow leading to memory corruption.\nAdd bounds checking using KSMBD_IPC_MAX_PAYLOAD to avoid overflow.\n\n## Affected\n\n- `linux_kernel >= 5.15, < 6.1.129`\n- `linux_kernel >= 6.2, < 6.6.78`\n- `linux_kernel >= 6.7, < 6.12.14`\n- `linux_kernel >= 6.13, < 6.13.3`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `linux_kernel 6.13.3`","depth":"midnight","depthScore":54,"depthScoreParts":{"impact":53.9,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}