drm/amd/pm: Fix a potential gpu_metrics_table memory leak
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/pm: Fix a potential gpu_metrics_table memory leak
Memory is allocated for gpu_metrics_table in smu_v13_0_4_init_smc_tables(), but not freed in smu_v13_0_4_fini_smc_tables(). This may cause memory leaks, fix it.
From the CVE record · Linux
The Linux kernel allocates memory for gpu_metrics_table in smu_v13_0_4_init_smc_tables() but does not free it in smu_v13_0_4_fini_smc_tables(), potentially causing a memory leak. The input does not specify how an attacker could trigger the leak or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check whether their versions are affected; no affected versions are listed in the input.