CVE-2026-31612

Updated on 24 Apr 2026

Severity

7.5 High severity

Details

CVSS score
7.5

Overview

About vulnerability

In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate EaNameLength in smb2_get_ea() smb2_get_ea() reads ea_req->EaNameLength from the client request and passes it directly to strncmp() as the comparison length without verifying that the length of the name really is the size of the input buffer received. Fix this up by properly checking the size of the name based on the value received and the overall size of the request, to prevent a later strncmp() call to use the length as a “trusted” size of the buffer. Without this check, uninitialized heap values might be slowly leaked to the client. A flaw was found in ksmbd, a Linux kernel module. A remote attacker can exploit this vulnerability by sending a specially crafted client request to the smb2_get_ea() function. Due to improper validation of the EaNameLength field, the system may leak uninitialized heap memory values, leading to information disclosure.

Details

KernelCare state

Live-patch status from KernelCare for each operating system.

Operating system Status Covered kernels
Debian 12 Planned
Debian 13 Planned
Ubuntu 24.04 Planned