CVE-2024-56627Published Dec 27, 2024 · Dec 27Updated Oct 28
ksmbd: fix Out-of-Bounds Read in ksmbd_vfs_stream_read
Linux
High8.1Fix available
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 Read in ksmbd_vfs_stream_read
An offset from client could be a negative value, It could lead to an out-of-bounds read from the stream_buf. 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_read can read beyond stream_buf when a client supplies a negative offset. This occurs when `vfs objects = streams_xattr` is set in ksmbd.conf. The input does not specify whether authentication is required.
Check Linux kernel installations running ksmbd with `vfs objects = streams_xattr` configured; affected versions are not specified.