Linux
ksmbd: fix out-of-bounds in parse_sec_desc()
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < f4ee19528664777af8b842f8f001be98345aa973
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < c1569dbbe2d43041be9f3fef7ca08bec3b66ad1b
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 159d059cbcb0e6d0e7a7b34af3862ba09a6b22d1
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 6a9831180d0b23b5c97e2bd841aefc8f82900172
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < d6e13e19063db24f94b690159d0633aaf72a0f03
Fixed in f4ee19528664777af8b842f8f001be98345aa973, c1569dbbe2d43041be9f3fef7ca08bec3b66ad1b, 159d059cbcb0e6d0e7a7b34af3862ba09a6b22d1, 6a9831180d0b23b5c97e2bd841aefc8f82900172, d6e13e19063db24f94b690159d0633aaf72a0f03
- 5.15
Fixed in 0, 6.1.160, 6.6.83, 6.12.19, 6.13.7, 6.14
Mitigation
Upgrade Linux to f4ee19528664777af8b842f8f001be98345aa973 or c1569dbbe2d43041be9f3fef7ca08bec3b66ad1b or 159d059cbcb0e6d0e7a7b34af3862ba09a6b22d1 or 6a9831180d0b23b5c97e2bd841aefc8f82900172 or d6e13e19063db24f94b690159d0633aaf72a0f03 or later.
Upgrade Linux to 0 or 6.1.160 or 6.6.83 or 6.12.19 or 6.13.7 or 6.14 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.