CVE-2025-21748: Linux kernel · ksmbd: fix integer overflows on 32 bit systems
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 01:13 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
Until a fix is applied, avoid running vulnerable ksmbd components on 32-bit systems or restrict access to trusted users with local privileges.
Description
CVE-2025-21748 addresses an integer overflow vulnerability in the ksmbd component of the Linux kernel on 32-bit systems. The flaw occurs due to unchecked addition operations in the ipc_msg_alloc() function, which can overflow and lead to memory corruption. The issue is mitigated by adding bounds checking using KSMBD_IPC_MAX_PAYLOAD to prevent overflow.
References
- nvd.nist.gov/vuln/detail/CVE-2025-21748 (opens in a new tab)
- git.kernel.org/stable/c/760568c1f62ea874e8fb492f9cfa4f47b4b8391e (opens in a new tab)
- git.kernel.org/stable/c/82f59d64e6297f270311b16b5dcf65be406d1ea3 (opens in a new tab)
- git.kernel.org/stable/c/aab98e2dbd648510f8f51b83fbf4721206ccae45 (opens in a new tab)
- git.kernel.org/stable/c/b4b902737746c490258de5cb55cab39e79927a67 (opens in a new tab)
- git.kernel.org/stable/c/ecb9947fa7c99a77b04d43404c6988a0d326e4a0 (opens in a new tab)
- git.kernel.org/stable/c/f3b9fb2764591d792d160f375851013665a9e820 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00028.html (opens in a new tab)