CVE-2026-143035
smb: client: validate descriptor headers before query result allocation
설명(영어 원문)
In the Linux kernel, the following vulnerability has been resolved: smb: client: validate descriptor headers before query result allocation query_info() uses the server's returned length instead of the caller's minimum when a dynamic result is requested. A zero-length ACL response can therefore return ZERO_SIZE_PTR to id_mode_to_cifs_acl(), whose ownership-change path reads dacloffset before checking the header size. A KASAN-enabled test shows a read at address 0x20 and a kernel Oops. Validate the returned range and the caller's minimum before allocating the dynamic result. Keep the reported length zero if validation fails. Use the security descriptor header size as the minimum in SMB2_query_acl(). DACL-only and SACL-only xattr queries do not require owner and group SIDs, so enforcing MIN_SEC_DESC_LEN would reject short descriptors that these queries could previously return. The rewrite paths validate the required owner/group SIDs and DACL separately before using their contents. These issues were discovered and fixed by Qihoo 360's Tulongfeng multi-agent system.
기본 정보
- 공개일
- 2026-12-03
- 최근 수정
- 2026-12-03
- 심각도
- —
영향 받는 제품
- Linux Linux — 9ee2afe5207b63b20426ee081f486d831bae871d – < 63ac0e4293f03143f112fee06352aaca8396ae79, 9ee2afe5207b63b20426ee081f486d831bae871d – < 8814ab12de4868b137e9048f95ba5de23d99d42a, 9ee2afe5207b63b20426ee081f486d831bae871d – < ffb59029c0d52bf76fdd2678f5d6fd13e26220dd, 7ceb25df4900183479deacd3ccf7add41b2b836a, 6.0.18 – < 6.1
- Linux Linux — 6.1