platform/x86: dell-wmi-sysman: Don't hex dump plaintext password data
Subsystems (3)
PATCH 1/1 platform/x86: dell-wmi-sysman: Don't hex dump plaintext password data
set_new_password() hex dumps the entire buffer, which contains plaintext password data, including current and new passwords. Remove the hex dump to avoid leaking credentials.
--- .../platform/x86/dell/dell-wmi-sysman/passwordattr-interface.c | 1 - 1 file changed, 1 deletion(-)
drivers/platform/x86/dell/dell-wmi-sysman/passwordattr-interface.c +0 -1
@@ -93,7 +93,6 @@ int set_new_password(const char *password_type, const char *new)if (ret <0 ) goto out; -print_hex_dump_bytes ("set new password data: " ,DUMP_PREFIX_NONE , buffer, buffer_size); ret =call_password_interface (wmi_priv.password_attr_wdev, buffer, buffer_size);/* on success copy the new password to current password */ if (!ret)
Signature · 2 lines
Thorsten Blum <[email protected]> GPG: 1D60 735E 8AEF 3BE4 73B6 9D84 7336 78FD 8DFE EAD4
Ilpo Järvinen
maintainerQuoted 5 lines · Thorsten Blum
set_new_password()hex dumps the entire buffer, which contains plaintext password data, including current and new passwords. Remove the hex dump to avoid leaking credentials.
Thank you for your contribution, it has been applied to my local review-ilpo-fixes branch. Note it will show up in the public platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my local branch there, which might take a while.
The list of commits applied:
[1/1] platform/x86: dell-wmi-sysman: Don't hex dump plaintext password data
commit: d1a196e0a6dcddd03748468a0e9e3100790fc85c
--
i.