Linux
ksmbd: use opener credentials for ADS I/O
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= f44158485826c076335d6860d35872271a83791d, < 222c4c52c3af2d0f68de31182710df3508a31095
- >= f44158485826c076335d6860d35872271a83791d, < 2ad5509dd576ae16d252d4698daf03002f9e0234
- >= f44158485826c076335d6860d35872271a83791d, < a8f5d39971bbad9340d49cd41b0e2da9452a649d
- >= f44158485826c076335d6860d35872271a83791d, < 2b4592cea214683de0f2ce6f8c22c097fb0ea1ab
- >= f44158485826c076335d6860d35872271a83791d, < 52a56cf53ec834c44ac1b4d16d585f26613ee5ce
- >= f44158485826c076335d6860d35872271a83791d, < baa5e094886fffa7e6272edcb5e08be5ce28262c
Fixed in 222c4c52c3af2d0f68de31182710df3508a31095, 2ad5509dd576ae16d252d4698daf03002f9e0234, a8f5d39971bbad9340d49cd41b0e2da9452a649d, 2b4592cea214683de0f2ce6f8c22c097fb0ea1ab, 52a56cf53ec834c44ac1b4d16d585f26613ee5ce, baa5e094886fffa7e6272edcb5e08be5ce28262c
- 5.15
Fixed in 0, 6.1.191, 6.6.160, 6.12.96, 6.18.39, 7.1.4, 7.2
Mitigation
Upgrade Linux to 222c4c52c3af2d0f68de31182710df3508a31095 or 2ad5509dd576ae16d252d4698daf03002f9e0234 or a8f5d39971bbad9340d49cd41b0e2da9452a649d or 2b4592cea214683de0f2ce6f8c22c097fb0ea1ab or 52a56cf53ec834c44ac1b4d16d585f26613ee5ce or baa5e094886fffa7e6272edcb5e08be5ce28262c or later.
Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.96 or 6.18.39 or 7.1.4 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.