CVE-2024-26822
kernel: smb: client: set correct id, uid and cruid for multiuser automounts
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 17, 2024
Updated · October 30, 2026
Description
A flaw was found in the Linux kernel's SMB (Server Message Block) client. In multi-user setups, the kernel fails to assign proper user and credential identifiers for automatically mounted shares when those parameters are not explicitly defined. As a result, automounted shares reuse the identification values from the parent mount instead of the active user. A local user could exploit this issue to access or modify data on network shares under another user's privileges.
Statement
Red Hat rates this vulnerability as Low impact because exploitation is restricted to authenticated local users and requires an uncommon configuration involving multi-user environments with dynamic SMB share mounting. The flaw cannot be triggered remotely and only affects scenarios where credential parameters are omitted during automated submounts, limiting unauthorized access strictly to shares accessible to the parent mount owner. Furthermore, default installations of Red Hat Enterprise Linux are unaffected, as the code change that introduced this defect was not incorporated into enterprise kernels.
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.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-99 · Improper Control of Resource Identifiers ('Resource Injection')