wifi: ath12k: fix the error handler of rfkill config
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:
wifi: ath12k: fix the error handler of rfkill config
When the core rfkill config throws error, it should free the allocated resources. Currently it is not freeing the core pdev create resources. Avoid this issue by calling the core pdev destroy in the error handler of core rfkill config.
Found this issue in the code review and it is compile tested only.
From the CVE record · Linux
The Linux kernel's ath12k Wi-Fi driver does not free core pdev resources when rfkill configuration fails. The issue was found during code review and only compile-tested; the input does not establish an attack method or required access.
Engineers running Linux systems with the ath12k Wi-Fi driver should check whether their kernel is affected; affected versions were not provided.