{"id":"CVE-2025-21748","summary":"ksmbd: fix integer overflows on 32 bit systems","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix integer overflows on 32 bit systems\n\nOn 32bit systems the addition operations in ipc_msg_alloc() can\npotentially overflow leading to memory corruption.\nAdd bounds checking using KSMBD_IPC_MAX_PAYLOAD to avoid overflow.","modified":"2026-03-20T12:41:09.059720Z","published":"2025-02-27T02:12:19.705Z","related":["USN-7521-2"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21748.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/760568c1f62ea874e8fb492f9cfa4f47b4b8391e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/82f59d64e6297f270311b16b5dcf65be406d1ea3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aab98e2dbd648510f8f51b83fbf4721206ccae45"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b4b902737746c490258de5cb55cab39e79927a67"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ecb9947fa7c99a77b04d43404c6988a0d326e4a0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f3b9fb2764591d792d160f375851013665a9e820"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21748.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21748"},{"type":"PACKAGE","url":"https://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"}}],"schema_version":"1.7.5"}