ksmbd: fix integer overflows on 32 bit systems (Linux Linux)

CVE-2025-21748
CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.61 % · percentile 49 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-190 — Integer Overflow or Wraparound

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 0626e6641f6b467447c81dd7678a69c66f7746cf < f3b9fb2764591d792d160f375851013665a9e820 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < 760568c1f62ea874e8fb492f9cfa4f47b4b8391e ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < 82f59d64e6297f270311b16b5dcf65be406d1ea3 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < b4b902737746c490258de5cb55cab39e79927a67 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < ecb9947fa7c99a77b04d43404c6988a0d326e4a0 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < aab98e2dbd648510f8f51b83fbf4721206ccae45
Linux · Linuxaffected 5.15 ; unaffected 0 < 5.15 ; unaffected 5.15.179 ≤ 5.15.* ; unaffected 6.1.129 ≤ 6.1.* ; unaffected 6.6.78 ≤ 6.6.* ; unaffected 6.12.14 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD