Patch "smb: client: stop flooding dmesg in smb2_calc_signature()" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    smb: client: stop flooding dmesg in smb2_calc_signature()

to the 6.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     smb-client-stop-flooding-dmesg-in-smb2_calc_signatur.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 87c234693cf0285f61446a00e145084321fd5bc2
Author: Paulo Alcantara <pc@xxxxxxxxxxxxx>
Date:   Wed Sep 18 02:04:01 2024 -0300

    smb: client: stop flooding dmesg in smb2_calc_signature()
    
    [ Upstream commit a13ca780afab350f37f8be9eda2bf79d1aed9bdd ]
    
    When having several mounts that share same credential and the client
    couldn't re-establish an SMB session due to an expired kerberos ticket
    or rotated password, smb2_calc_signature() will end up flooding dmesg
    when not finding SMB sessions to calculate signatures.
    
    Signed-off-by: Paulo Alcantara (Red Hat) <pc@xxxxxxxxxxxxx>
    Signed-off-by: Steve French <stfrench@xxxxxxxxxxxxx>
    Stable-dep-of: 343d7fe6df9e ("smb: client: fix use-after-free of signing key")
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/fs/smb/client/smb2transport.c b/fs/smb/client/smb2transport.c
index 4ca04e62a993..73eae1b16034 100644
--- a/fs/smb/client/smb2transport.c
+++ b/fs/smb/client/smb2transport.c
@@ -242,7 +242,7 @@ smb2_calc_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server,
 
 	ses = smb2_find_smb_ses(server, le64_to_cpu(shdr->SessionId));
 	if (unlikely(!ses)) {
-		cifs_server_dbg(VFS, "%s: Could not find session\n", __func__);
+		cifs_server_dbg(FYI, "%s: Could not find session\n", __func__);
 		return -ENOENT;
 	}
 




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux