# CVE-2025-21748: ksmbd: fix integer overflows on 32 bit systems

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2025-02-27 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2025-21748, DEBIAN-CVE-2025-21748
- Record: https://cvemate.com/vulnerability/CVE-2025-21748 · JSON: https://cvemate.com/vulnerability/CVE-2025-21748/json

## Description

```text
In 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.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.607%, percentile 50.491%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 128)

- debian linux (Debian): \< 6.1.129-1 \| \< 6.12.15-1
- ubuntu linux (Ubuntu): \< 5.15.0-140.150 \| \< 6.8.0-64.67
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1084.91 \| \< 6.8.0-1032.34
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1084.91~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1032.34~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1084.91+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1089.98 \| \< 6.8.0-1034.39
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1089.98~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 38)

- <https://git.kernel.org/stable/c/f3b9fb2764591d792d160f375851013665a9e820>
- <https://git.kernel.org/stable/c/760568c1f62ea874e8fb492f9cfa4f47b4b8391e>
- <https://git.kernel.org/stable/c/82f59d64e6297f270311b16b5dcf65be406d1ea3>
- <https://git.kernel.org/stable/c/b4b902737746c490258de5cb55cab39e79927a67>
- <https://git.kernel.org/stable/c/ecb9947fa7c99a77b04d43404c6988a0d326e4a0>
- <https://git.kernel.org/stable/c/aab98e2dbd648510f8f51b83fbf4721206ccae45>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- <https://ubuntu.com/security/CVE-2025-21748>
- <https://www.cve.org/CVERecord?id=CVE-2025-21748>
- <https://git.kernel.org/linus/aab98e2dbd648510f8f51b83fbf4721206ccae45>
- <https://ubuntu.com/security/notices/USN-7510-1>
- <https://ubuntu.com/security/notices/USN-7510-2>
- <https://ubuntu.com/security/notices/USN-7511-1>
- <https://ubuntu.com/security/notices/USN-7511-2>
- <https://ubuntu.com/security/notices/USN-7512-1>
- <https://ubuntu.com/security/notices/USN-7521-1>
- <https://ubuntu.com/security/notices/USN-7510-3>
- <https://ubuntu.com/security/notices/USN-7510-4>
- <https://ubuntu.com/security/notices/USN-7510-5>
- <https://ubuntu.com/security/notices/USN-7511-3>

---

Data as of 2026-12-05T04:12:09.752Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
