lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tencent_5C4AD0DC30D7D66CFD81A978542894A1C60A@qq.com>
Date:   Sat, 22 Apr 2023 18:04:44 +0800
From:   Zhang Shurong <zhang_shurong@...mail.com>
To:     tony0620emma@...il.com
Cc:     kvalo@...nel.org, davem@...emloft.net, edumazet@...gle.com,
        kuba@...nel.org, pabeni@...hat.com, linux-wireless@...r.kernel.org,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
        Zhang Shurong <zhang_shurong@...mail.com>
Subject: [PATCH 00/10] wifi: rtw88: error codes fix patches

rtw88 does not handle the failure during copy_from_user or invalid
user-provided data. We fix such problems by first modifying the return
value of customized function rtw_debugfs_copy_from_user. Then for all 
the callers rtw_debugfs_set_*, we receive the returned error code. 
Moreover, negative code is returned if the user-provided data is invalid
instead of a positive value count.

Zhang Shurong (10):
  wifi: rtw88: fix incorrect error codes in rtw_debugfs_set_write_reg
  wifi: rtw88: fix incorrect error codes in rtw_debugfs_set_read_reg
  wifi: rtw88: fix incorrect error codes in rtw_debugfs_set_rsvd_page
  wifi: rtw88: fix incorrect error codes in rtw_debugfs_set_single_input
  wifi: rtw88: fix incorrect error codes in rtw_debugfs_set_h2c
  wifi: rtw88: fix incorrect error codes in rtw_debugfs_set_rf_write
  wifi: rtw88: fix incorrect error codes in rtw_debugfs_set_rf_read
  wifi: rtw88: fix incorrect error codes in rtw_debugfs_set_fix_rate
  wifi: rtw88: fix incorrect error codes in rtw_debugfs_set_coex_enable
  wifi: rtw88: fix incorrect error codes in rtw_debugfs_set_fw_crash

 drivers/net/wireless/realtek/rtw88/debug.c | 59 ++++++++++++++++------
 1 file changed, 43 insertions(+), 16 deletions(-)

-- 
2.40.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ