mbox series

[v6.1,0/2] ksmbd: fix potencial out-of-bounds when buffer offset is invalid

Message ID 20241115083240.230361-1-vamsi-krishna.brahmajosyula@broadcom.com (mailing list archive)
Headers show
Series ksmbd: fix potencial out-of-bounds when buffer offset is invalid | expand

Message

Vamsi Krishna Brahmajosyula Nov. 15, 2024, 8:32 a.m. UTC
The dependent patch (slab-out-of-bounds) is backported from 6.7 instead of 6.6.
In the 6.6 commit (9e4937cbc150f), the upstream commit id points to an incorrect one.

Namjae Jeon (2):
  ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
  ksmbd: fix potencial out-of-bounds when buffer offset is invalid

 fs/smb/server/smb2misc.c | 26 ++++++++++++++++------
 fs/smb/server/smb2pdu.c  | 48 ++++++++++++++++++++++------------------
 2 files changed, 45 insertions(+), 29 deletions(-)

Comments

Namjae Jeon Nov. 18, 2024, 2:17 a.m. UTC | #1
On Fri, Nov 15, 2024 at 5:32 PM Vamsi Krishna Brahmajosyula
<vamsi-krishna.brahmajosyula@broadcom.com> wrote:
>
> The dependent patch (slab-out-of-bounds) is backported from 6.7 instead of 6.6.
> In the 6.6 commit (9e4937cbc150f), the upstream commit id points to an incorrect one.
Looks good to me:)
Thanks for backporting ksmbd's fixes to stable 6.1 kernel.
>
> Namjae Jeon (2):
>   ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
>   ksmbd: fix potencial out-of-bounds when buffer offset is invalid
>
>  fs/smb/server/smb2misc.c | 26 ++++++++++++++++------
>  fs/smb/server/smb2pdu.c  | 48 ++++++++++++++++++++++------------------
>  2 files changed, 45 insertions(+), 29 deletions(-)
>
> --
> 2.39.4
>