Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2025-21946

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < f4ee19528664777af8b842f8f001be98345aa973affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < c1569dbbe2d43041be9f3fef7ca08bec3b66ad1baffected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < 159d059cbcb0e6d0e7a7b34af3862ba09a6b22d1affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < 6a9831180d0b23b5c97e2bd841aefc8f82900172affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to < d6e13e19063db24f94b690159d0633aaf72a0f03affected

Linux Linux

Default version status: affected

  • 5.15affected
  • 0 to < 5.15unaffected
  • 6.1.160 to ≤ 6.1.*unaffected
  • 6.6.83 to ≤ 6.6.*unaffected
  • 6.12.19 to ≤ 6.12.*unaffected
  • 6.13.7 to ≤ 6.13.*unaffected
  • 6.14 to ≤ *unaffected

References