CVE-2025-21748
MEDIUM 5.5CVSS 3.1In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix integer overflows on 32 bit systems
On 32bit systems the addition operations in ipc_msg_alloc() can
potentially overflow leading to memory corruption.
Add bounds checking using KSMBD_IPC_MAX_PAYLOAD to avoid overflow.
- Published
- 27 Feb 2025
- Last modified
- 30 Jul 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-190
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.15, < 6.1.129 | 6.1.129 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.2, < 6.6.78 | 6.6.78 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.12.14 | 6.12.14 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.13, < 6.13.3 | 6.13.3 |
References
- https://git.kernel.org/stable/c/760568c1f62ea874e8fb492f9cfa4f47b4b8391e · Patch
- https://git.kernel.org/stable/c/82f59d64e6297f270311b16b5dcf65be406d1ea3 · Patch
- https://git.kernel.org/stable/c/aab98e2dbd648510f8f51b83fbf4721206ccae45 · Patch
- https://git.kernel.org/stable/c/b4b902737746c490258de5cb55cab39e79927a67 · Patch
- https://git.kernel.org/stable/c/ecb9947fa7c99a77b04d43404c6988a0d326e4a0 · Patch
- https://git.kernel.org/stable/c/f3b9fb2764591d792d160f375851013665a9e820
- https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 27 Feb 2025)