CVE-2025-21748
JSON

9.8critical

ksmbd: fix integer overflows on 32 bit systems

Severity
9.8critical CVSS:3.1 by Linux
Exploit likelihood
0.82% (higher than 54% of CVEs)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 0626e6641f6b467447c81dd7678a69c66f7746cf before f3b9fb2764591d792d160f375851013665a9e820, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 760568c1f62ea874e8fb492f9cfa4f47b4b8391e, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 82f59d64e6297f270311b16b5dcf65be406d1ea3, from 0626e6641f6b467447c81dd7678a69c66f7746cf before b4b902737746c490258de5cb55cab39e79927a67, from 0626e6641f6b467447c81dd7678a69c66f7746cf before ecb9947fa7c99a77b04d43404c6988a0d326e4a0, from 0626e6641f6b467447c81dd7678a69c66f7746cf before aab98e2dbd648510f8f51b83fbf4721206ccae45, 5.15
Not affected: before 5.15, from 5.15.179 up to 5.15.*, from 6.1.129 up to 6.1.*, from 6.6.78 up to 6.6.*, from 6.12.14 up to 6.12.*, from 6.13.3 up to 6.13.*
CVE List
linux linux_kernelfrom 5.15 before 6.1.129, from 6.2 before 6.6.78, from 6.7 before 6.12.14, from 6.13 before 6.13.3NVD

All scores

Linux9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: corrige desbordamientos de enteros en sistemas de 32 bits En sistemas de 32 bits, las operaciones de suma en ipc_msg_alloc() pueden potencialmente desbordarse y provocar daños en la memoria. Agregue la comprobación de los límites mediante KSMBD_IPC_MAX_PAYLOAD para evitar desbordamientos.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-21748 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-21748 changed 2026-07-30Public domain