Skip to content
CVE PROGRAM SOURCE RECORD9.8 Critical

CVE-2025-21748

ksmbd: fix integer overflows on 32 bit systems

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < f3b9fb2764591d792d160f375851013665a9e820affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < 760568c1f62ea874e8fb492f9cfa4f47b4b8391eaffected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < 82f59d64e6297f270311b16b5dcf65be406d1ea3affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < b4b902737746c490258de5cb55cab39e79927a67affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < ecb9947fa7c99a77b04d43404c6988a0d326e4a0affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < aab98e2dbd648510f8f51b83fbf4721206ccae45affected

Linux Linux

Default version status: affected

  • 5.15affected
  • 0 to < 5.15unaffected
  • 5.15.179 to ≤ 5.15.*unaffected
  • 6.1.129 to ≤ 6.1.*unaffected
  • 6.6.78 to ≤ 6.6.*unaffected
  • 6.12.14 to ≤ 6.12.*unaffected
  • 6.13.3 to ≤ 6.13.*unaffected
  • 6.14 to ≤ *unaffected

References