CVE-2026-31626 staging: rtl8723bs: initialize le_tmp64 in rtw_BIP_verify()
Uninitialized variable in rtl8723bs driver may cause unpredictable behavior; kernel maintainers should apply the patch.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-31626?
CVE-2026-31626 is a high-severity vulnerability in Linux kernel, published on 24 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
staging: rtl8723bs: initialize le_tmp64 in rtw_BIP_verify()
Initialize le_tmp64 to zero in rtw_BIP_verify() 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/rtw_security.c:1308 rtw_BIP_verify() warn: not copying enough bytes for '&le_tmp64' (8 vs 6 bytes)
Initializing the variable at the start of the function fixes this warning and ensures predictable behavior.
Weakness: CWE-908
Which versions are affected by CVE-2026-31626?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-31626?
Apply the vendor's patch.
Is CVE-2026-31626 being exploited?
There is no known exploitation of CVE-2026-31626 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-83717, BELL-CVE-2026-31626, DEBIAN-CVE-2026-31626, GHSA-cxgj-pqq4-q34h, ROOT-OS-DEBIAN-11-CVE-2026-31626, ROOT-OS-DEBIAN-12-CVE-2026-31626 and 3 more.