CVE-2026-31410: ksmbd: use volume UUID in FS_OBJECT_ID_INFORMATION
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: use volume UUID in FS_OBJECT_ID_INFORMATION
Use sb->s_uuid for a proper volume identifier as the primary choice. For filesystems that do not provide a UUID, fall back to stfs.f_fsid obtained from vfs_statfs().
The Linux kernel CVE team has assigned CVE-2026-31410 to this issue.
Affected and fixed versions
===========================
Fixed in 6.12.78 with commit ce00616bc1df675bfdacc968f2bf7c51f4669227 Fixed in 6.18.20 with commit 3d80ebe6d1b7bc9ad20fd9b0c1a0c56d804f8a0a Fixed in 6.19.10 with commit c283a6ffe6d5d6e5594d991286b9ce15951572e1 Fixed in 7.0-rc5 with commit 3a64125730cabc34fccfbc230c2667c2e14f7308
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-31410
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
fs/smb/server/smb2pdu.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/ce00616bc1df675bfdacc968f2bf7c51f4669227 https://git.kernel.org/stable/c/3d80ebe6d1b7bc9ad20fd9b0c1a0c56d804f8a0a https://git.kernel.org/stable/c/c283a6ffe6d5d6e5594d991286b9ce15951572e1 https://git.kernel.org/stable/c/3a64125730cabc34fccfbc230c2667c2e14f7308