CVE-2026-31626: staging: rtl8723bs: initialize le_tmp64 in rtw_BIP_verify()

Published Apr 24, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

staging: rtl8723bs: initialize letmp64 in rtwBIPverify()

Initialize letmp64 to zero in rtwBIPverify() to prevent using uninitialized data.

Smatch warns that only 6 bytes are copied to this 8-byte (u64) variable, leaving the last two bytes uninitialized:

drivers/staging/rtl8723bs/core/rtwsecurity.c:1308 rtwBIPverify() warn: not copying enough bytes for '&letmp64' (8 vs 6 bytes)

Initializing the variable at the start of the function fixes this warning and ensures predictable behavior.

Affected Software

8 affected componentsFixes available
Linux Linux kernel (staging/rtl8723bs)
Microsoft azl3 kernel 6.6.134.1-2
Linux Linux kernel>=4.12<6.6.136
Linux Linux kernel>=6.7<6.12.83
Linux Linux kernel>=6.13<6.18.24
Linux Linux kernel>=6.19<6.19.14
Linux Linux kernel>=7.0<7.0.1
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1
  2. Compensating control

    In drivers/staging/rtl8723bs/core/rtw_security.c, initialize the le_tmp64 variable to zero at the start of rtw_BIP_verify() before copying the 6-byte value into it.

Event History

Apr 24, 2026
CVE Published
via MITRE·02:42 PM
Data Sourced
via MITRE·02:42 PM
DescriptionSeverity
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 26, 2026
Data Sourced
via Microsoft·08:04 AM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-31626?

CVE-2026-31626 is classified as a medium severity vulnerability due to the potential for data corruption from using uninitialized variables.

2

How do I fix CVE-2026-31626?

To fix CVE-2026-31626, ensure the Linux kernel is updated to a version where le_tmp64 is properly initialized in rtw_BIP_verify().

3

Which Linux kernel versions are affected by CVE-2026-31626?

CVE-2026-31626 affects Linux kernel versions from 4.12 up to 6.6.136, as well as between 6.7 and 6.12.83, and also includes 6.13 to 6.18.24.

4

Is CVE-2026-31626 exploitable in production systems?

Yes, CVE-2026-31626 can be exploited in production systems, particularly those using the rtl8723bs staging driver.

5

What components are involved in CVE-2026-31626?

CVE-2026-31626 involves the rtl8723bs driver within the Linux kernel, specifically the rtw_BIP_verify() function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203