CVE-2026-31626 PUBLISHED

staging: rtl8723bs: initialize le_tmp64 in rtw_BIP_verify()

Assigner: Linux
Reserved: 09.03.2026 Published: 24.04.2026 Updated: 24.04.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to d5b8f5f8d6fc09a8af5ed139c688660f578ed732 (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to b487a7754d874230299d5a9c2710ec4df8b2ed8a (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to c2026c6b603ebec52f55015496703fe79077accf (excl.)
  • affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to ef74ce5f0bc0e53ce702d8a794f3957884a26efc (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • unaffected from 6.12.83 to 6.12.* (incl.)
  • unaffected from 6.18.24 to 6.18.* (incl.)
  • unaffected from 6.19.14 to 6.19.* (incl.)
  • unaffected from 7.0.1 to 7.0.* (incl.)

References