Files
linux-stable-mirror/fs
Alexandra DiupinaandGreg Kroah-Hartman ba3ce6c60c cifs: avoid NULL pointer dereference in dbg call
[ Upstream commit b4885bd593 ]

cifs_server_dbg() implies server to be non-NULL so
move call under condition to avoid NULL pointer dereference.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: e79b0332ae ("cifs: ignore cached share root handle closing errors")
Cc: stable@vger.kernel.org
Signed-off-by: Alexandra Diupina <adiupina@astralinux.ru>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-05-02 07:41:13 +02:00
..
2024-10-22 15:39:24 +02:00
2024-12-14 19:48:34 +01:00
2024-02-23 08:42:14 +01:00
2025-04-10 14:30:49 +02:00
2024-03-01 13:16:43 +01:00
2023-09-23 11:01:09 +02:00
2024-06-21 14:52:47 +02:00