CVE-2025-21946

HIGH

Linux Kernel 5.15-6.13.6 - Out-of-bounds Read in ksmbd parse_sec_desc()

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.1
EPSS 0.0018
EPSS Percentile 7.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Details

CWE
CWE-125
Status published
Products (18)
linux/Kernel 5.15.0 - 6.1.160linux
linux/Kernel 6.13.0 - 6.13.7linux
linux/Kernel 6.2.0 - 6.6.83linux
linux/Kernel 6.7.0 - 6.12.19linux
Linux/Linux < 5.15
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - 159d059cbcb0e6d0e7a7b34af3862ba09a6b22d1
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - 6a9831180d0b23b5c97e2bd841aefc8f82900172
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - c1569dbbe2d43041be9f3fef7ca08bec3b66ad1b
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - d6e13e19063db24f94b690159d0633aaf72a0f03
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - f4ee19528664777af8b842f8f001be98345aa973
... and 8 more
Published Apr 01, 2025
Tracked Since Feb 18, 2026