PT-2026-44262 · Linux+2 · Linux Kernel+2
CVE-2026-46139
·
Published
2026-05-28
·
Updated
2026-09-07
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
In the SMB client, the
build sec desc() function uses a buffer allocated with kmalloc(), which does not zero-initialize the memory. Due to a change in the struct smb acl where the num aces field was split into num aces and a reserved field, the 2-byte reserved field is not explicitly written to. This leaves the field containing uninitialized heap data. If this field contains non-zero garbage, Samba may reject the security descriptor, resulting in a Range Error and causing chmod to fail with EINVAL.Recommendations
Update the Linux kernel to a version that replaces
kmalloc() with kzalloc() in the build sec desc() function to ensure the buffer is zero-initialized.Exploit
Fix
Use of Uninitialized Resource
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linuxmint
Linux Kernel
Ubuntu