CVE-2025-21748

Source
https://cve.org/CVERecord?id=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
2026-03-09T23:50:35.674152Z
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

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21748.json"