Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected f44158485826c076335d6860d35872271a83791d before 2ad5509dd576ae16d252d4698daf03002f9e0234; affected f44158485826c076335d6860d35872271a83791d before a8f5d39971bbad9340d49cd41b0e2da9452a649d; affected f44158485826c076335d6860d35872271a83791d before 2b4592cea214683de0f2ce6f8c22c097fb0ea1ab; affected f44158485826c076335d6860d35872271a83791d before 52a56cf53ec834c44ac1b4d16d585f26613ee5ce; affected f44158485826c076335d6860d35872271a83791d before baa5e094886fffa7e6272edcb5e08be5ce28262c |
| Linux / Linux | affected 5.15; unaffected 0 before 5.15; unaffected 6.6.160 through 6.6.*; unaffected 6.12.96 through 6.12.*; unaffected 6.18.39 through 6.18.*; unaffected 7.1.4 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/2ad5509dd576ae16d252d4698daf03002f9e0234
- https://git.kernel.org/stable/c/a8f5d39971bbad9340d49cd41b0e2da9452a649d
- https://git.kernel.org/stable/c/2b4592cea214683de0f2ce6f8c22c097fb0ea1ab
- https://git.kernel.org/stable/c/52a56cf53ec834c44ac1b4d16d585f26613ee5ce
- https://git.kernel.org/stable/c/baa5e094886fffa7e6272edcb5e08be5ce28262c