CVE-2025-21748

published 27 Feb 2025 · updated 12 Aug 2026

ksmbd: fix integer overflows on 32 bit systems

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 760568c1f62ea874e8fb492f9cfa4f47b4b8391e, Kernel 82f59d64e6297f270311b16b5dcf65be406d1ea3, Kernel aab98e2dbd648510f8f51b83fbf4721206ccae45 and 3 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=0626e6641f6b467447c81dd7678a69c66f7746cf <760568c1f62ea874e8fb492f9cfa4f47b4b8391e, >=0626e6641f6b467447c81dd7678a69c66f7746cf <82f59d64e6297f270311b16b5dcf65be406d1ea3, >=0626e6641f6b467447c81dd7678a69c66f7746cf <aab98e2dbd648510f8f51b83fbf4721206ccae45, >=0626e6641f6b467447c81dd7678a69c66f7746cf <b4b902737746c490258de5cb55cab39e79927a67, >=0626e6641f6b467447c81dd7678a69c66f7746cf <ecb9947fa7c99a77b04d43404c6988a0d326e4a0, >=0626e6641f6b467447c81dd7678a69c66f7746cf <f3b9fb2764591d792d160f375851013665a9e820760568c1f62ea874e8fb492f9cfa4f47b4b8391e, 82f59d64e6297f270311b16b5dcf65be406d1ea3, aab98e2dbd648510f8f51b83fbf4721206ccae45, b4b902737746c490258de5cb55cab39e79927a67, ecb9947fa7c99a77b04d43404c6988a0d326e4a0, f3b9fb2764591d792d160f375851013665a9e820

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21748 severity on Zeptric[![CVE-2025-21748](https://zeptric.io/badge/cve/CVE-2025-21748.svg)](https://zeptric.io/cve/CVE-2025-21748)