CVE-2025-21748

ksmbd: fix integer overflows on 32 bit systems

MEDIUM
5.5
CVSS Score
Published: February 27, 2025 at 02:12 AM UTC
Updated: August 5, 2026 at 12:44 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.6%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15 ≤ v < 5.15.1795.15 ≤ v < 6.1.1295.15 ≤ v < 6.12.145.15 ≤ v < 6.13.35.15 ≤ v < 6.145.15 ≤ v < 6.6.786.13 ≤ v < 6.13.36.2 ≤ v < 6.6.786.7 ≤ v < 6.12.145.15626e6641f6b467447c81dd7678a69c66f7746cf
Vendor states this is fixed in 760568c1f62ea874e8fb492f9cfa4f47b4b8391e (fixed)
Vendor states this is fixed in 82f59d64e6297f270311b16b5dcf65be406d1ea3 (fixed)
Vendor states this is fixed in aab98e2dbd648510f8f51b83fbf4721206ccae45 (fixed)
Vendor states this is fixed in b4b902737746c490258de5cb55cab39e79927a67 (fixed)
Vendor states this is fixed in ecb9947fa7c99a77b04d43404c6988a0d326e4a0 (fixed)
Vendor states this is fixed in f3b9fb2764591d792d160f375851013665a9e820 (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.15.179 (unaffected)
Vendor states this is fixed in 6.1.129 (unaffected)
Vendor states this is fixed in 6.12.14 (unaffected)
Vendor states this is fixed in 6.13.3 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.78 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/760568c1f62ea874e8fb492f9cfa4f47b4b8391e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/82f59d64e6297f270311b16b5dcf65be406d1ea3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/aab98e2dbd648510f8f51b83fbf4721206ccae45
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b4b902737746c490258de5cb55cab39e79927a67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ecb9947fa7c99a77b04d43404c6988a0d326e4a0
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-190

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card