CVE-2023-52858: clk: mediatek: clk-mt7629: Add check for mtk_alloc_clk_data

Description

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.

Classification

CVE ID: CVE-2023-52858

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 12.41% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://git.kernel.org/stable/c/e8ae4b49dd9cfde69d8de8c0c0cd7cf1b004482e
https://git.kernel.org/stable/c/4f861b63945e076f9f003a5fad958174096df1ee
https://git.kernel.org/stable/c/e964d21dc034b650d719c4ea39564bec72b42f94
https://git.kernel.org/stable/c/a836efc21ef04608333d6d05753e558ebd1f85d0
https://git.kernel.org/stable/c/1d89430fc3158f872d492f1b88d07262f48290c0
https://git.kernel.org/stable/c/5fbea47eebff5daeca7d918c99289bcd3ae4dc8d
https://git.kernel.org/stable/c/2befa515c1bb6cdd33c262b909d93d1973a219aa

Timeline