CVE-2023-52865Published May 21, 2024 · May 21Updated Oct 28
clk: mediatek: clk-mt6797: Add check for mtk_alloc_clk_data
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 96596aa06628e86ea0e1c08c34b0ccc7619e43ac · < 357df1c2f6ace96defd557fad709ed1f9f70e16c| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
clk: mediatek: clk-mt6797: Add check for mtk_alloc_clk_data
Add the check for the return value of mtk_alloc_clk_data() in order to avoid NULL pointer dereference.
From the CVE record · Linux
The Linux kernel's MediaTek clk-mt6797 component did not check whether mtk_alloc_clk_data() returned NULL, creating a NULL pointer dereference risk. The input does not specify how an attacker could trigger it or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the MediaTek clk-mt6797 component should check their installations; affected versions are not specified.