CVE-2026-31705 is a critical out-of-bounds write vulnerability in the Linux kernel's ksmbd component, specifically in the smb2_get_ea() function. The flaw arises because alignment padding is applied unconditionally after writing each Extended Attribute (EA) entry without verifying sufficient buffer space. This can cause 1-3 bytes to be written past the allocated buffer boundary, potentially corrupting adjacent kernel heap memory during compound SMB2 requests. The issue is similar to previously fixed bugs in ksmbd related to out-of-bounds writes in QUERY_INFO response handlers.