CVE-2026-143046: smb: client: compare owner and group SIDs using their encoded lengths

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

smb: client: compare owner and group SIDs using their encoded lengths

populatenewaces() compares owner and group SIDs over sizeof(struct smbsid), including storage for all 15 possible subauthorities. Received SIDs contain only their encoded subauthorities. The comparison can read past the security descriptor, as shown by the supplied KASAN report for a 44-byte descriptor during chmod.

The input SIDs have already been checked by sidfromsd(). Require equal subauthority counts, then compare only the fixed SID header and the encoded subauthorities with memcmp(). The count check ensures that both validated SIDs contain the number of bytes being compared.

These issues were discovered and fixed by Qihoo 360's Tulongfeng multi-agent system.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In smb: client, compare owner and group SIDs using their encoded lengths: check that the subauthority counts match, then compare only the fixed SID header and the encoded subauthorities.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:18 AM
Data Sourced
via MITRE·09:18 AM
Description

Frequently Asked Questions

1

Who is exposed to this issue?

Systems using the Linux kernel SMB client are exposed when they process SMB security descriptors containing owner or group SIDs. The reported out-of-bounds read was triggered during a chmod operation.

2

What input is required to trigger the flaw?

The issue involves received SIDs whose encoded length is shorter than sizeof(struct smb_sid), because the vulnerable comparison includes storage for all 15 possible subauthorities. The SIDs have already passed validation by sid_from_sd(), but the comparison can still read past the security descriptor.

3

How can the issue be fixed?

Apply a kernel update containing the referenced stable fixes. The correction requires matching SID subauthority counts and comparing only the fixed SID header plus the encoded subauthorities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203