smb: client: set correct id, uid and cruid for multiuser automounts
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
smb: client: set correct id, uid and cruid for multiuser automounts
When uid, gid and cruid are not specified, we need to dynamically set them into the filesystem context used for automounting otherwise they'll end up reusing the values from the parent mount.
From the CVE record · Linux
Linux kernel SMB client multiuser automounts can reuse the parent mount’s uid, gid and cruid when those values are not specified, rather than setting them dynamically. The input does not establish what an attacker could do or whether exploitation requires network access, authentication or user interaction.
Engineers running Linux with SMB client multiuser automounts should check their kernels; affected versions were not provided.