cveboard RSS feed

CVE-2022-50513

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2022
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv()

In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv() In rtw_init_cmd_priv(), if `pcmdpriv->rsp_allocated_buf` is allocated in failure, then `pcmdpriv->cmd_allocated_buf` will be not properly released. Besides, considering there are only two error paths and the first one can directly return, so we do not need implicitly jump to the `exit` tag to execute the error handler. So this patch added `kfree(pcmdpriv->cmd_allocated_buf);` on the error path to release the resource and simplified the return logic of rtw_init_cmd_priv(). As there is no proper device to test with, no runtime testing was performed.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
554c0a3abf216c991c5ebddcdb2c08689ecd290baffectedgite5d8f05edb36fc4ab15beec62cb6ab62f5a60fe2UnavailableNone listed
554c0a3abf216c991c5ebddcdb2c08689ecd290baffectedgite6cc39db24a63f68314473621020ed8cad7be423UnavailableNone listed
554c0a3abf216c991c5ebddcdb2c08689ecd290baffectedgit39bef9c6a91bbb790d04c1347cfeae584541fb6aUnavailableNone listed
554c0a3abf216c991c5ebddcdb2c08689ecd290baffectedgita5be64ff6d21f7805a91e6d81f53fc19cd9f0faeUnavailableNone listed
554c0a3abf216c991c5ebddcdb2c08689ecd290baffectedgit8db6ca84eee0ac258706f3fca54f7c021cb159efUnavailableNone listed
554c0a3abf216c991c5ebddcdb2c08689ecd290baffectedgit708056fba733a73d926772ea4ce9a42d240345daUnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
4.12affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver4.12UnavailableNone listed
5.4.220unaffectedsemverUnavailable5.4.*None listed
5.10.150unaffectedsemverUnavailable5.10.*None listed
5.15.75unaffectedsemverUnavailable5.15.*None listed
5.19.17unaffectedsemverUnavailable5.19.*None listed
6.0.3unaffectedsemverUnavailable6.0.*None listed
6.1unaffectedoriginal_commit_for_fixUnavailable*None listed