Technical impact
An integer overflow occurs in the ksmbd component when calculating the bounds of the dacl_offset in build_sec_desc(). On 32‑bit builds, the expression dacl_offset + sizeof(struct smb_acl) overflows when dacl_offset is in the range [0xFFFFFFF8, 0xFFFFFFFF], causing the subsequent read of ppdacl_ptr->size to access memory just before the allocated structure. This out‑of‑bounds read can expose up to eight bytes of kernel memory, providing attackers with an information‑leak vector. The flaw does not allow remote code execution but can aid other attacks that rely on kernel data disclosure, and is characterized as a CWE‑190, CWE‑805 and CWE‑788 issue.
Affected Systems
The defect resides in the Linux kernel’s ksmbd SMB‑server implementation on 32‑bit architectures. All kernel releases prior to the patch commit beff0bc9d69b that added the bounds‑check guard are affected. The vulnerability applies to all distributions shipping an unpatched 32‑bit kernel. 64‑bit kernels are not impacted because the overflow cannot occur in that address space.
Risk and Exploitability
The CVSS score is not provided and the EPSS score is unavailable, while the vulnerability is not listed in the CISA KEV catalog, indicating no known active exploitation. It is inferred that an attacker would need network access to the vulnerable SMB server to send a crafted SMB2 SET_INFO(SEC) request with a dacl_offset of 0xfffffff8, triggering the overflow. The exploit does not require local privileges and can be performed over the network, but it requires a specific SMB packet and a 32‑bit kernel, so the likelihood is moderate. The potential impact on confidentiality is significant because kernel memory may contain sensitive data.