CVE-2026-31392
kernel: smb: client: fix krb5 mount with username option
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 3, 2026
Updated · June 30, 2026
Description
A flaw was found in the Linux kernel's Server Message Block (SMB) client. A local attacker, by attempting to mount SMB shares using Kerberos (sec=krb5) with a specified username, could cause the client to incorrectly reuse an existing SMB session. This session reuse occurs even when a different username is provided for subsequent mounts, potentially leading to an authentication bypass where shares are accessed with unintended credentials.
Statement
This is an authentication bypass vulnerability where SMB shares may be accessed with incorrect credentials due to improper session matching. A local user performing multiple Kerberos-authenticated SMB mounts with different usernames may inadvertently access shares using credentials from a previous mount. This could lead to unauthorized access to network resources.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.8CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
CWE-488 · Exposure of Data Element to Wrong Session