ksmbd: fix out-of-bounds in parse_sec_desc() (Linux Linux)

CVE-2025-21946
HIGH 8.8

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix out-of-bounds in parse_sec_desc() If osidoffset, gsidoffset and dacloffset could be greater than smb_ntsd struct size. If it is smaller, It could cause slab-out-of-bounds. And when validating sid, It need to check it included subauth array size.

Weaknesses (CWE)

References

Scores

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

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 0626e6641f6b467447c81dd7678a69c66f7746cf < f4ee19528664777af8b842f8f001be98345aa973 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < c1569dbbe2d43041be9f3fef7ca08bec3b66ad1b ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < 159d059cbcb0e6d0e7a7b34af3862ba09a6b22d1 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < 6a9831180d0b23b5c97e2bd841aefc8f82900172 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < d6e13e19063db24f94b690159d0633aaf72a0f03
Linux · Linuxaffected 5.15 ; unaffected 0 < 5.15 ; unaffected 6.1.160 ≤ 6.1.* ; unaffected 6.6.83 ≤ 6.6.* ; unaffected 6.12.19 ≤ 6.12.* ; unaffected 6.13.7 ≤ 6.13.*

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