Skip to content

Backport Fixes to linux-6.1.y

Guruswamy Basavaiah stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2smb: client: fix potential OOBs in smb2_parse_contexts()fs/smb/client/cached_dir.c fs/smb/client/smb2pdu.c fs/smb/client/smb2proto.h+68 -450 replies
2/2smb: client: fix parsing of SMB3.1.1 POSIX create contextfs/smb/client/smb2pdu.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 6.1.y 0/2] Backport Fixes to linux-6.1.y

Here are the two backported patches aimed at addressing a crash.

Patch 1 fix validate offsets and lengths before dereferencing create contexts in smb2_parse_contexts().

Patch 2 fix issue in patch 1.

The original patches were authored by Paulo Alcantara <[email protected]>. Original Patches:
1. af1689a9b770 ("smb: client: fix potential OOBs in smb2_parse_contexts()")
2. 76025cc2285d ("smb: client: fix parsing of SMB3.1.1 POSIX create context")

Please review and consider applying these patches.

fs/smb/client/cached_dir.c |  8 +++++---
fs/smb/client/smb2pdu.c    | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------
fs/smb/client/smb2proto.h  | 12 +++++++-----
3 files changed, 68 insertions(+), 45 deletions(-)