CVE-2023-52858Published May 21, 2024 · May 21Updated Oct 28
clk: mediatek: clk-mt7629: Add check for mtk_alloc_clk_data
Linux
Medium6.2Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3b5e748615e714711220b2a95d19bd25a037db09 · < 5fbea47eebff5daeca7d918c99289bcd3ae4dc8d| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
clk: mediatek: clk-mt7629: 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-mt7629 clock driver lacked a check for a failed mtk_alloc_clk_data() call, which could lead to a NULL pointer dereference. 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-mt7629 clock driver should check their versions; affected versions are not specified.