Skip to content

smb: some potential bugfixes

Greg Kroah-Hartman linux-cifs lkml 1 version In review

Get series with b4
b4 am 2026040635-banking-unsoiled-3250@gregkh

Versions newest first

  1. v1 Latest2 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2smb: client: fix off-by-8 bounds check in check_wsl_eas()fs/smb/client/smb2inode.c+1 -110 replies
2/2smb: client: fix OOB reads parsing symlink error responsefs/smb/client/smb2file.c+12 -81 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPaulo Alcantara (Red Hat)
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] smb: some potential bugfixes

I spent the time exercising some new fuzzing tools on the ksmbd and smb code purely because it's something that is simple to set up and test locally with virtual machines, and in doing so, potentially found some minor problems for when you have an "untrusted" client.

Here's some fixes for what I happened to notice. They pass my very limited testing here, but please don't trust them at all and verify that I'm not just making this all up before accepting them.

thanks!

greg k-h

Greg Kroah-Hartman (2):
smb: client: fix off-by-8 bounds check in check_wsl_eas()
smb: client: fix OOB reads parsing symlink error response

 fs/smb/client/smb2file.c  | 20 ++++++++++++--------
 fs/smb/client/smb2inode.c |  2 +-
 2 files changed, 13 insertions(+), 9 deletions(-)
Signature · 1 line
2.53.0