CVE-2026-31612 Affecting linux-azure-6.18 package, versions <6.18.31-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.44% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-LINUXAZURE618-16727160
  • published17 May 2026
  • disclosed24 Apr 2026

Introduced: 24 Apr 2026

CVE-2026-31612  (opens in a new tab)

How to fix?

Upgrade Chainguard linux-azure-6.18 to version 6.18.31-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream linux-azure-6.18 package and not the linux-azure-6.18 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.