Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 6792624d933146e2757b07092e93ad915cb58930; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 51532c7c1d357145f4ac561648499f7a6847f739; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 9e911eead187240193516edf55a0e1ab3425aa5b; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b before c65ee4d3be5df395e48afbcd0946dd5fce4338a9; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b before d5b8f5f8d6fc09a8af5ed139c688660f578ed732; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b before b487a7754d874230299d5a9c2710ec4df8b2ed8a; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b before c2026c6b603ebec52f55015496703fe79077accf; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b before ef74ce5f0bc0e53ce702d8a794f3957884a26efc; affected 554c0a3abf216c991c5ebddcdb2c08689ecd290b before 8c964b82a4e97ec7f25e17b803ee196009b38a57 |
| Linux / Linux | affected 4.12; unaffected 0 before 4.12; unaffected 5.10.258 through 5.10.*; unaffected 5.15.209 through 5.15.*; unaffected 6.1.175 through 6.1.*; unaffected 6.6.136 through 6.6.*; unaffected 6.12.83 through 6.12.*; unaffected 6.18.24 through 6.18.*; unaffected 6.19.14 through 6.19.*; unaffected 7.0.1 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/6792624d933146e2757b07092e93ad915cb58930
- https://git.kernel.org/stable/c/51532c7c1d357145f4ac561648499f7a6847f739
- https://git.kernel.org/stable/c/9e911eead187240193516edf55a0e1ab3425aa5b
- https://git.kernel.org/stable/c/c65ee4d3be5df395e48afbcd0946dd5fce4338a9
- https://git.kernel.org/stable/c/d5b8f5f8d6fc09a8af5ed139c688660f578ed732
- https://git.kernel.org/stable/c/b487a7754d874230299d5a9c2710ec4df8b2ed8a
- https://git.kernel.org/stable/c/c2026c6b603ebec52f55015496703fe79077accf
- https://git.kernel.org/stable/c/ef74ce5f0bc0e53ce702d8a794f3957884a26efc
- https://git.kernel.org/stable/c/8c964b82a4e97ec7f25e17b803ee196009b38a57