Review reviewHigh

CVE-2025-21946

Linux Linux, linux kernel

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.

CVSS
7.1
EPSS
0.46%
37.7% percentile
CISA KEV
Not listed
Published
2025.04.02
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.46%
Technical severityCVSS 7.1

Vulnerability overview

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.

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 0626e6641f6b467447c81dd7678a69c66f7746cf < f4ee19528664777af8b842f8f001be98345aa973, >= 0626e6641f6b467447c81dd7678a69c66f7746cf < c1569dbbe2d43041be9f3fef7ca08bec3b66ad1b, >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 159d059cbcb0e6d0e7a7b34af3862ba09a6b22d1, >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 6a9831180d0b23b5c97e2bd841aefc8f82900172, >= 0626e6641f6b467447c81dd7678a69c66f7746cf < d6e13e19063db24f94b690159d0633aaf72a0f03, >= 5.15, >= 5.15 < 6.6.83, >= 6.7 < 6.12.19, >= 6.13 < 6.13.7, 6.14
Fixed versions
6.6.83, 6.12.19, 6.13.7

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CWE
CWE-125