Commit fc342cf
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.
Cc: [email protected] # v5.15+
Reported-by: Jordy Zomer <[email protected]>
Signed-off-by: Jordy Zomer <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>1 parent e18655c commit fc342cf
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6663 | 6663 | | |
6664 | 6664 | | |
6665 | 6665 | | |
| 6666 | + | |
| 6667 | + | |
| 6668 | + | |
| 6669 | + | |
6666 | 6670 | | |
6667 | 6671 | | |
6668 | 6672 | | |
| |||
0 commit comments