7.5
High
CVE-2026-31612 In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate EaNameLength in smb2_get_ea()…
Description
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux 7.1 | earliest → < 7.1 | 7.1 |
| Linux 7.0 | earliest → < 7.0.1 | 7.0.1 |
| Linux 6.19 | earliest → < 6.19.14 | 6.19.14 |
| Linux 6.18 | earliest → < 6.18.24 | 6.18.24 |
| Linux 6.12 | earliest → < 6.12.83 | 6.12.83 |
| Linux 6.6 | earliest → < 6.6.136 | 6.6.136 |
| Linux 6.1 | earliest → < 6.1.175 | 6.1.175 |
| Linux | 5.15 | No fix stated |
| SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | Versions not published |
Other CVEs of Linux
The 18286 CVEs of Linux →
CVE-2026-100082
xen-blkback: Avoid UAF when reading I/O statistics
Not rated
CVE-2026-100081
xen-netback: defer xenvif_mcast_addr_list_free()
Not rated
CVE-2026-100080
xen-netback: Fix UAF when reading statistics data
Not rated
CVE-2026-99270
tcp: Fix potential UAF in reqsk_timer_handler().
8.1
High