CVE-2022-49530
published 2025-02-26CVE-2022-49530: 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()…
PriorityP338high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.28%
20.1th percentile
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.
Affected
23 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.18.5-1 (bookworm) | linux 5.18.5-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 841686df9f7d2942cfd94d024b8591fa3f74ef7c < 2615464854505188f909d0c07c37a6623693b5c7 | 2615464854505188f909d0c07c37a6623693b5c7 |
| linux | linux | >= 841686df9f7d2942cfd94d024b8591fa3f74ef7c < 6c5bdaa1325be7f04b79ea992ab216739192d342 | 6c5bdaa1325be7f04b79ea992ab216739192d342 |
| linux | linux | >= 841686df9f7d2942cfd94d024b8591fa3f74ef7c < c0e811c4ccf3b42705976285e3a94cc82dea7300 | c0e811c4ccf3b42705976285e3a94cc82dea7300 |
| linux | linux | >= 841686df9f7d2942cfd94d024b8591fa3f74ef7c < af832028af6f44c6c45645757079c4ed6884ade5 | af832028af6f44c6c45645757079c4ed6884ade5 |
| linux | linux | >= 841686df9f7d2942cfd94d024b8591fa3f74ef7c < ca1ce206894dd976275c78ee38dbc19873f22de9 | ca1ce206894dd976275c78ee38dbc19873f22de9 |
| linux | linux | >= 841686df9f7d2942cfd94d024b8591fa3f74ef7c < a5ce7051db044290b1a95045ff03c249005a3aa4 | a5ce7051db044290b1a95045ff03c249005a3aa4 |
| linux | linux | >= 841686df9f7d2942cfd94d024b8591fa3f74ef7c < fd2eff8b9dcbe469c3b7bbbc7083ab5ed94de07b | fd2eff8b9dcbe469c3b7bbbc7083ab5ed94de07b |
| linux | linux | >= 841686df9f7d2942cfd94d024b8591fa3f74ef7c < 43eb9b667b95f2a31c63e8949b0d2161b9be59c3 | 43eb9b667b95f2a31c63e8949b0d2161b9be59c3 |
| linux | linux | >= 841686df9f7d2942cfd94d024b8591fa3f74ef7c < f3fa2becf2fc25b6ac7cf8d8b1a2e4a86b3b72bd | f3fa2becf2fc25b6ac7cf8d8b1a2e4a86b3b72bd |
| linux | linux_kernel | < 4.9.318 | 4.9.318 |
| linux | linux_kernel | >= 0 < 5.10.127-1 | 5.10.127-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 4.10 < 4.14.283 | 4.14.283 |
| linux | linux_kernel | >= 4.15 < 4.19.247 | 4.19.247 |
| linux | linux_kernel | >= 4.20 < 5.4.198 | 5.4.198 |
| linux | linux_kernel | >= 5.11 < 5.15.46 | 5.15.46 |
| linux | linux_kernel | >= 5.16 < 5.17.14 | 5.17.14 |
| linux | linux_kernel | >= 5.18 < 5.18.3 | 5.18.3 |
| linux | linux_kernel | >= 5.5 < 5.10.121 | 5.10.121 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-8hw4-63fm-6q6x: 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
ghsa_unreviewed·2025-03-10
CVE-2022-49530 [HIGH] CWE-415 GHSA-8hw4-63fm-6q6x: 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
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 l
OSV
CVE-2022-49530: 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_t
osv·2025-02-26·CVSS 7.8
CVE-2022-49530 [HIGH] CVE-2022-49530: 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_t
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
Red Hat
kernel: drm/amd/pm: fix double free in si_parse_power_table()
vendor_redhat·2025-02-26·CVSS 7.8
CVE-2022-49530 [HIGH] CWE-415 kernel: drm/amd/pm: fix double free in si_parse_power_table()
kernel: 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 m
Debian
CVE-2022-49530: linux - In the Linux kernel, the following vulnerability has been resolved: drm/amd/pm:...
vendor_debian·2022·CVSS 7.8
CVE-2022-49530 [HIGH] CVE-2022-49530: linux - In the Linux kernel, the following vulnerability has been resolved: drm/amd/pm:...
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
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/2615464854505188f909d0c07c37a6623693b5c7https://git.kernel.org/stable/c/43eb9b667b95f2a31c63e8949b0d2161b9be59c3https://git.kernel.org/stable/c/6c5bdaa1325be7f04b79ea992ab216739192d342https://git.kernel.org/stable/c/a5ce7051db044290b1a95045ff03c249005a3aa4https://git.kernel.org/stable/c/af832028af6f44c6c45645757079c4ed6884ade5https://git.kernel.org/stable/c/c0e811c4ccf3b42705976285e3a94cc82dea7300https://git.kernel.org/stable/c/ca1ce206894dd976275c78ee38dbc19873f22de9https://git.kernel.org/stable/c/f3fa2becf2fc25b6ac7cf8d8b1a2e4a86b3b72bdhttps://git.kernel.org/stable/c/fd2eff8b9dcbe469c3b7bbbc7083ab5ed94de07b
2025-02-26
Published