AZL-117983: CVE-2026-143035 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
smb: client: validate descriptor headers before query result allocation
queryinfo() 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 ZEROSIZEPTR to idmodetocifsacl(), 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 SMB2queryacl(). DACL-only and SACL-only xattr queries do not require owner and group SIDs, so enforcing MINSECDESCLEN 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In SMB2_query_acl(), use the security descriptor header size as the minimum for dynamic results. Validate the returned range and the caller’s minimum before allocating, keep the reported length zero if validation fails, and validate the descriptor header plus the owner/group SIDs and DACL separately before using their contents.
Event History
Frequently Asked Questions
What conditions are required to trigger this issue?
The issue is in the Linux SMB client path when processing a server-returned query result for security descriptor or ACL data. A server response with a zero-length ACL result can lead to a read from an invalid zero-size allocation during an ownership-change path.
Which systems are exposed?
Systems using the affected Azure Linux kernel package and acting as SMB clients are relevant. The vulnerable processing occurs when the client queries ACL or security descriptor information from an SMB server.
What is the observed impact?
A KASAN-enabled test demonstrated a read at address 0x20 followed by a kernel Oops. The provided information does not establish any additional impact beyond this invalid kernel memory read and crash condition.
How can I determine whether a system has the affected package?
Check whether the installed Azure Linux kernel package version is 6.6.161.1-1. The supplied data identifies that package version as affected.