PT-2026-36335 · Linux · Linux Kernel

Published

2026-05-01

·

Updated

2026-05-26

·

CVE-2026-31705

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description An out-of-bounds write exists in the smb2 get ea() function within the ksmbd module. The function applies 4-byte alignment padding using memset() after writing each Extended Attribute (EA) entry. While a bounds check on buf free len is performed before the value memcpy, the alignment memset occurs unconditionally without verifying the remaining space. If the EA value exactly fills the remaining buffer, the alignment process writes 1-3 NUL bytes beyond the buf free len boundary. In compound requests where a response buffer is shared across commands, this can lead to overwriting adjacent kernel heap memory beyond the physical kvmalloc allocation.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-31705
ECHO-6A15-D8AF-61AC
OPENSUSE-SU-2026:10793-1

Affected Products

Linux Kernel