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(-)