[ Sasha's backport helper bot ]
Hi,
✅ All tests passed successfully. No issues detected. No action required from the submitter.
The upstream commit SHA1 provided is correct: a55bc4ffc06d8c965a7d6f0a01ed0ed41380df28
Status in newer kernel trees: 6.15.y | Present (different SHA1: 53d7bf452fe7) 6.12.y | Present (different SHA1: 5da335f62003) 6.6.y | Present (different SHA1: b62980fa236b) 6.1.y | Present (different SHA1: 5d678ffa4843) 5.15.y | Present (different SHA1: 4b29ab1d5c42) 5.10.y | Not found
Note: The patch differs from the upstream commit: --- 1: a55bc4ffc06d8 ! 1: 72e918d867583 staging: rtl8723bs: Avoid memset() in aes_cipher() and aes_decipher() @@ Metadata ## Commit message ## staging: rtl8723bs: Avoid memset() in aes_cipher() and aes_decipher()
+ commit a55bc4ffc06d8c965a7d6f0a01ed0ed41380df28 upstream. + After commit 6f110a5e4f99 ("Disable SLUB_TINY for build testing"), which causes CONFIG_KASAN to be enabled in allmodconfig again, arm64 allmodconfig builds with older versions of clang (15 through 17) show an @@ Commit message Reviewed-by: Dan Carpenter dan.carpenter@linaro.org Link: https://lore.kernel.org/r/20250609-rtl8723bs-fix-clang-arm64-wflt-v1-1-e2acc... Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org + Signed-off-by: Nathan Chancellor nathan@kernel.org
## drivers/staging/rtl8723bs/core/rtw_security.c ## -@@ drivers/staging/rtl8723bs/core/rtw_security.c: static signed int aes_cipher(u8 *key, uint hdrlen, +@@ drivers/staging/rtl8723bs/core/rtw_security.c: static sint aes_cipher(u8 *key, uint hdrlen, num_blocks, payload_index;
u8 pn_vector[6]; @@ drivers/staging/rtl8723bs/core/rtw_security.c: static signed int aes_cipher(u8 *
frsubtype = frsubtype>>4;
+- - memset((void *)mic_iv, 0, 16); - memset((void *)mic_header1, 0, 16); - memset((void *)mic_header2, 0, 16); @@ drivers/staging/rtl8723bs/core/rtw_security.c: static signed int aes_cipher(u8 * if ((hdrlen == WLAN_HDR_A3_LEN) || (hdrlen == WLAN_HDR_A3_QOS_LEN)) a4_exists = 0; else -@@ drivers/staging/rtl8723bs/core/rtw_security.c: static signed int aes_decipher(u8 *key, uint hdrlen, +@@ drivers/staging/rtl8723bs/core/rtw_security.c: static sint aes_decipher(u8 *key, uint hdrlen, num_blocks, payload_index; - signed int res = _SUCCESS; + sint res = _SUCCESS; u8 pn_vector[6]; - u8 mic_iv[16]; - u8 mic_header1[16]; @@ drivers/staging/rtl8723bs/core/rtw_security.c: static signed int aes_decipher(u8 + u8 padded_buffer[16] = {}; u8 mic[8];
- uint frtype = GetFrameType(pframe); -@@ drivers/staging/rtl8723bs/core/rtw_security.c: static signed int aes_decipher(u8 *key, uint hdrlen, + +@@ drivers/staging/rtl8723bs/core/rtw_security.c: static sint aes_decipher(u8 *key, uint hdrlen,
frsubtype = frsubtype>>4;
+- - memset((void *)mic_iv, 0, 16); - memset((void *)mic_header1, 0, 16); - memset((void *)mic_header2, 0, 16); ---
Results of testing on various branches:
| Branch | Patch Apply | Build Test | |---------------------------|-------------|------------| | stable/linux-5.4.y | Success | Success | | stable/linux-5.10.y | Success | Success |