CVE-2025-21748

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-21748
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21748.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21748
Downstream
Related
Published
2025-02-27T02:12:19.705Z
Modified
2025-11-28T02:35:12.842624Z
Summary
ksmbd: fix integer overflows on 32 bit systems
Details

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 ipcmsgalloc() can potentially overflow leading to memory corruption. Add bounds checking using KSMBDIPCMAX_PAYLOAD to avoid overflow.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21748.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0626e6641f6b467447c81dd7678a69c66f7746cf
Fixed
f3b9fb2764591d792d160f375851013665a9e820
Fixed
760568c1f62ea874e8fb492f9cfa4f47b4b8391e
Fixed
82f59d64e6297f270311b16b5dcf65be406d1ea3
Fixed
b4b902737746c490258de5cb55cab39e79927a67
Fixed
ecb9947fa7c99a77b04d43404c6988a0d326e4a0
Fixed
aab98e2dbd648510f8f51b83fbf4721206ccae45

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.15.0
Fixed
5.15.179
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.129
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.78
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.14
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.3