cveboard RSS feed

CVE-2022-49530

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)

drm/amd/pm: fix double free in si_parse_power_table()

In the Linux kernel, the following vulnerability has been resolved: drm/amd/pm: fix double free in si_parse_power_table() In function si_parse_power_table(), array adev->pm.dpm.ps and its member is allocated. If the allocation of each member fails, the array itself is freed and returned with an error code. However, the array is later freed again in si_dpm_fini() function which is called when the function returns an error. This leads to potential double free of the array adev->pm.dpm.ps, as well as leak of its array members, since the members are not freed in the allocation function and the array is not nulled when freed. In addition adev->pm.dpm.num_ps, which keeps track of the allocated array member, is not updated until the member allocation is successfully finished, this could also lead to either use after free, or uninitialized variable access in si_dpm_fini(). Fix this by postponing the free of the array until si_dpm_fini() and increment adev->pm.dpm.num_ps everytime the array member is allocated.

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)
841686df9f7d2942cfd94d024b8591fa3f74ef7caffectedgit2615464854505188f909d0c07c37a6623693b5c7UnavailableNone listed
841686df9f7d2942cfd94d024b8591fa3f74ef7caffectedgit6c5bdaa1325be7f04b79ea992ab216739192d342UnavailableNone listed
841686df9f7d2942cfd94d024b8591fa3f74ef7caffectedgitc0e811c4ccf3b42705976285e3a94cc82dea7300UnavailableNone listed
841686df9f7d2942cfd94d024b8591fa3f74ef7caffectedgitaf832028af6f44c6c45645757079c4ed6884ade5UnavailableNone listed
841686df9f7d2942cfd94d024b8591fa3f74ef7caffectedgitca1ce206894dd976275c78ee38dbc19873f22de9UnavailableNone listed
841686df9f7d2942cfd94d024b8591fa3f74ef7caffectedgita5ce7051db044290b1a95045ff03c249005a3aa4UnavailableNone listed
841686df9f7d2942cfd94d024b8591fa3f74ef7caffectedgitfd2eff8b9dcbe469c3b7bbbc7083ab5ed94de07bUnavailableNone listed
841686df9f7d2942cfd94d024b8591fa3f74ef7caffectedgit43eb9b667b95f2a31c63e8949b0d2161b9be59c3UnavailableNone listed
841686df9f7d2942cfd94d024b8591fa3f74ef7caffectedgitf3fa2becf2fc25b6ac7cf8d8b1a2e4a86b3b72bdUnavailableNone 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.9affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver4.9UnavailableNone listed
4.9.318unaffectedsemverUnavailable4.9.*None listed
4.14.283unaffectedsemverUnavailable4.14.*None listed
4.19.247unaffectedsemverUnavailable4.19.*None listed
5.4.198unaffectedsemverUnavailable5.4.*None listed
5.10.121unaffectedsemverUnavailable5.10.*None listed
5.15.46unaffectedsemverUnavailable5.15.*None listed
5.17.14unaffectedsemverUnavailable5.17.*None listed
5.18.3unaffectedsemverUnavailable5.18.*None listed
5.19unaffectedoriginal_commit_for_fixUnavailable*None listed