ksmbd: use opener credentials for ADS I/O
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ f44158485826c076335d6860d35872271a83791d · < baa5e094886fffa7e6272edcb5e08be5ce28262c| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: use opener credentials for ADS I/O
Alternate data streams are stored as xattrs. Unlike regular file I/O, their read and write paths therefore call VFS xattr helpers which recheck inode permissions and LSM policy using the current task credentials.
Run ADS I/O with the credentials captured when the SMB handle was opened.
From the CVE record · Linux
Linux ksmbd performs alternate data stream I/O using the current task credentials rather than the credentials captured when the SMB handle was opened. This can cause inode permission and LSM policy checks to use the wrong credentials; the input does not specify the resulting attacker capability or authentication requirements.
Operators running the Linux kernel with ksmbd should check their systems; affected versions are not specified.