In the Linux kernel, the following vulnerability has been resolved:
clk: mediatek: clk-mt7629-eth: Add check for mtkallocclk_data
Add the check for the return value of mtkallocclk_data() in order to avoid NULL pointer dereference.
{ "vanir_signatures": [ { "id": "CVE-2023-52876-00a9890a", "signature_type": "Function", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c", "function": "clk_mt7629_ethsys_init" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4070ada5d5155c8d4d17ea64bd246949889f25b", "digest": { "function_hash": "219138069625059705111341530452144190652", "length": 407.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2023-52876-12024f25", "signature_type": "Function", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c", "function": "clk_mt7629_ethsys_init" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0884393c63cc9a1772f7121a6645ba7bd76feeb9", "digest": { "function_hash": "207206487829805091156290640496890800451", "length": 440.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2023-52876-12d98ef4", "signature_type": "Function", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c", "function": "clk_mt7629_sgmiisys_init" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cfa68e0ac5dcde43577adadf6f0f26f3b365ad68", "digest": { "function_hash": "229301886070904990102495074289595675752", "length": 413.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2023-52876-29be6863", "signature_type": "Line", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cfa68e0ac5dcde43577adadf6f0f26f3b365ad68", "digest": { "threshold": 0.9, "line_hashes": [ "136975469226405773256164320325371569601", "161797237603493683310968141967015333735", "263579646502299051423827475432003100397", "155688281997211422368013350907870437775", "301678922065046863184547590473901727546", "97476361420393948486233614681181640398", "326119781347380077537008554494115408243", "23090792642506503417732760958836117640" ] }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2023-52876-3c06dbc3", "signature_type": "Line", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b20cfe007a46f8c165d42a05c50a8d3d893e6592", "digest": { "threshold": 0.9, "line_hashes": [ "331305795592510955975590211050107623526", "50986771736411373460887894824946392123", "325227399287071347827953265992672361219", "250727337500000001659208547209105466821", "301678922065046863184547590473901727546", "333961618166457471418916562778520870453", "50051460687611839422236514489897457788", "37470728629944532099614836925338466463" ] }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2023-52876-5024af74", "signature_type": "Function", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c", "function": "clk_mt7629_ethsys_init" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cfa68e0ac5dcde43577adadf6f0f26f3b365ad68", "digest": { "function_hash": "219138069625059705111341530452144190652", "length": 407.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2023-52876-59e93f0a", "signature_type": "Function", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c", "function": "clk_mt7629_sgmiisys_init" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@96e9544a0c4faca616b3f9f4034dcd83a14e7f22", "digest": { "function_hash": "229301886070904990102495074289595675752", "length": 413.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2023-52876-6a11cc49", "signature_type": "Function", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c", "function": "clk_mt7629_sgmiisys_init" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b20cfe007a46f8c165d42a05c50a8d3d893e6592", "digest": { "function_hash": "185172207207847086283254348001358579394", "length": 429.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2023-52876-75884e17", "signature_type": "Function", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c", "function": "clk_mt7629_sgmiisys_init" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4070ada5d5155c8d4d17ea64bd246949889f25b", "digest": { "function_hash": "229301886070904990102495074289595675752", "length": 413.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2023-52876-82b767c3", "signature_type": "Function", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c", "function": "clk_mt7629_ethsys_init" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1639072f6260babd017556e9f236ca2ad589d1e7", "digest": { "function_hash": "207206487829805091156290640496890800451", "length": 440.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2023-52876-8a0003fa", "signature_type": "Function", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c", "function": "clk_mt7629_sgmiisys_init" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1639072f6260babd017556e9f236ca2ad589d1e7", "digest": { "function_hash": "185172207207847086283254348001358579394", "length": 429.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2023-52876-8a94ef46", "signature_type": "Line", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a540ca0aeae83c2f3964bcb4e383f64ce2ec1783", "digest": { "threshold": 0.9, "line_hashes": [ "331305795592510955975590211050107623526", "161797237603493683310968141967015333735", "311677801810089450308946327719084220041", "179875581007843621808579865434822108637", "301678922065046863184547590473901727546", "97476361420393948486233614681181640398", "326119781347380077537008554494115408243", "216328160171410816467189162467523936064" ] }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2023-52876-8feaf589", "signature_type": "Line", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1639072f6260babd017556e9f236ca2ad589d1e7", "digest": { "threshold": 0.9, "line_hashes": [ "331305795592510955975590211050107623526", "50986771736411373460887894824946392123", "325227399287071347827953265992672361219", "250727337500000001659208547209105466821", "301678922065046863184547590473901727546", "333961618166457471418916562778520870453", "50051460687611839422236514489897457788", "37470728629944532099614836925338466463" ] }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2023-52876-968ce89d", "signature_type": "Function", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c", "function": "clk_mt7629_ethsys_init" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b20cfe007a46f8c165d42a05c50a8d3d893e6592", "digest": { "function_hash": "207206487829805091156290640496890800451", "length": 440.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2023-52876-a1a90f84", "signature_type": "Function", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c", "function": "clk_mt7629_sgmiisys_init" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0884393c63cc9a1772f7121a6645ba7bd76feeb9", "digest": { "function_hash": "185172207207847086283254348001358579394", "length": 429.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2023-52876-a5a49879", "signature_type": "Line", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0884393c63cc9a1772f7121a6645ba7bd76feeb9", "digest": { "threshold": 0.9, "line_hashes": [ "331305795592510955975590211050107623526", "50986771736411373460887894824946392123", "325227399287071347827953265992672361219", "250727337500000001659208547209105466821", "301678922065046863184547590473901727546", "333961618166457471418916562778520870453", "50051460687611839422236514489897457788", "37470728629944532099614836925338466463" ] }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2023-52876-b39b4b3a", "signature_type": "Function", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c", "function": "clk_mt7629_ethsys_init" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a540ca0aeae83c2f3964bcb4e383f64ce2ec1783", "digest": { "function_hash": "4411027800658634684402707594900002758", "length": 423.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2023-52876-d5113a68", "signature_type": "Function", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c", "function": "clk_mt7629_ethsys_init" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@96e9544a0c4faca616b3f9f4034dcd83a14e7f22", "digest": { "function_hash": "219138069625059705111341530452144190652", "length": 407.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2023-52876-dca52136", "signature_type": "Function", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c", "function": "clk_mt7629_sgmiisys_init" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a540ca0aeae83c2f3964bcb4e383f64ce2ec1783", "digest": { "function_hash": "39278513901700685747273613790379922775", "length": 412.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2023-52876-e19c787c", "signature_type": "Line", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4070ada5d5155c8d4d17ea64bd246949889f25b", "digest": { "threshold": 0.9, "line_hashes": [ "136975469226405773256164320325371569601", "161797237603493683310968141967015333735", "263579646502299051423827475432003100397", "155688281997211422368013350907870437775", "301678922065046863184547590473901727546", "97476361420393948486233614681181640398", "326119781347380077537008554494115408243", "23090792642506503417732760958836117640" ] }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2023-52876-e2370ab7", "signature_type": "Line", "target": { "file": "drivers/clk/mediatek/clk-mt7629-eth.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@96e9544a0c4faca616b3f9f4034dcd83a14e7f22", "digest": { "threshold": 0.9, "line_hashes": [ "136975469226405773256164320325371569601", "161797237603493683310968141967015333735", "263579646502299051423827475432003100397", "155688281997211422368013350907870437775", "301678922065046863184547590473901727546", "97476361420393948486233614681181640398", "326119781347380077537008554494115408243", "23090792642506503417732760958836117640" ] }, "deprecated": false, "signature_version": "v1" } ] }