ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write
An offset from client could be a negative value, It could allows to write data outside the bounds of the allocated buffer. Note that this issue is coming when setting 'vfs objects = streams_xattr parameter' in ksmbd.conf.
From the CVE record · Linux
The Linux kernel's ksmbd_vfs_stream_write can write outside an allocated buffer when a client supplies a negative offset. This issue occurs when `vfs objects = streams_xattr` is set in ksmbd.conf; the input does not specify whether authentication or user interaction is required.
Operators running the Linux kernel's ksmbd with `vfs objects = streams_xattr` configured should check their installations; affected versions are not specified.